[問題] fscommand沒有作用
最近在練習 fscommand
http://faculty.nccu.edu.tw/kiti/flash_to_javascript.html
按了 enter 的 button 之後
照理說應該會做兩件事
1. 左邊的 text 會變成 "i am fool"
純粹用actionscript 做出這種結果
2. 跳出一個 javascript 的 alert "test test trest!!!"
這個是用 fscommand做的
但1成功, 2失敗
publish 的時候選了 flash with FScommand
html code中也加了 function xxxx_DoFSCommand
可是還是看不出 bug 在哪裡
請大家教我了...謝謝
以下是原始檔
http://faculty.nccu.edu.tw/kiti/flash_to_javascript.fla
http://faculty.nccu.edu.tw/kiti/flash_to_javascript.swf
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.34.217.165
推
12/21 00:37, , 1F
12/21 00:37, 1F
推
12/21 00:39, , 2F
12/21 00:39, 2F
→
12/21 00:40, , 3F
12/21 00:40, 3F
推
12/21 06:26, , 4F
12/21 06:26, 4F
Flash 近期熱門文章
PTT數位生活區 即時熱門文章