作者Roodin (Roodin)
看板Flash
標題[問題] fscommand沒有作用
時間Thu Dec 21 00:32:05 2006
最近在練習 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
1F:推 pm2001:有成功阿 12/21 00:37
2F:推 Roodin:請問 javascript 的 alert 有出來嗎? 12/21 00:39
3F:→ Roodin:因為用了兩台電腦 都沒出現 alert.. with IE 6.0 12/21 00:40
4F:推 pm2001:有出來阿 12/21 06:26