[問題] AS3新手入門蠢問題~麻煩幫幫忙...
b.addEventListener(MouseEvent.CLICK,xxx);
function xxx(e:MouseEvent):void{
getURL("http://tw.yahoo.com");
}
我想要將一個物件賦予連結的功能,但是不想使用on(release)寫在按鈕上,
想要用影片片段來弄可是這樣寫為什麼是失敗的呢?
影片片段沒辦法使用getURL嗎?
不好意思問的問題可能很蠢...真的不懂
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.228.214.114
推
09/01 23:08, , 1F
09/01 23:08, 1F
→
09/01 23:12, , 2F
09/01 23:12, 2F
→
09/01 23:15, , 3F
09/01 23:15, 3F
→
09/01 23:17, , 4F
09/01 23:17, 4F