Re: [問題] ActionScript_讀URL中變數_加入連結網址
要知道url的話
不一定要靠flash
請愛用ExternalInterface
交給外部java script來抓
抓完再回傳就可以了
如果我的網址是 http://www.123.com.tw:8080/lenny/index.php?user=langrisser
location.href = http://www.123.com.tw:8080/lenny/index.php?user=langrisser
location.protocol = http
location.hostname = www.123.com.tw
location.host = www.123.com.tw:8080
location.port = 8080
location.pathname = /lenny/index.php
location.search = ?user=langrisser
挑一個要用的
return回去就好了
應該不會太麻煩啦 :p
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 122.126.66.128
推
05/11 16:30, , 1F
05/11 16:30, 1F
→
05/11 18:26, , 2F
05/11 18:26, 2F
推
05/11 21:44, , 3F
05/11 21:44, 3F
討論串 (同標題文章)