kgb1025
2002-03-17, 05:05 PM
我自己在練習程控的時候
所發現的問題
好像Action自己有一套遊戲規則
像下面
on (release) {
txtmoney=number(txtprice)*number(txtnum)
}
請問number這個字
不能自己命名嗎?
像txtprice或txtnum可自己命名
還有為何不能這樣寫
on (release) {
txtmoney=txtprice*txtnum
}
省掉number呢???
原始檔下載位置
http://home.pchome.com.tw/good/kgb1025/test2.fla
http://home.pchome.com.tw/good/kgb1025/test222.jpg
http://home.pchome.com.tw/good/kgb1025/test2.swf
順便再問一個問題好了
清除按鈕為何要用這個""
on (release) {
txtnum="";
txtmoney="";
}
http://home.pchome.com.tw/good/kgb1025/testred1.jpg
麻煩各位了!
贊助商連結
所發現的問題
好像Action自己有一套遊戲規則
像下面
on (release) {
txtmoney=number(txtprice)*number(txtnum)
}
請問number這個字
不能自己命名嗎?
像txtprice或txtnum可自己命名
還有為何不能這樣寫
on (release) {
txtmoney=txtprice*txtnum
}
省掉number呢???
原始檔下載位置
http://home.pchome.com.tw/good/kgb1025/test2.fla
http://home.pchome.com.tw/good/kgb1025/test222.jpg
http://home.pchome.com.tw/good/kgb1025/test2.swf
順便再問一個問題好了
清除按鈕為何要用這個""
on (release) {
txtnum="";
txtmoney="";
}
http://home.pchome.com.tw/good/kgb1025/testred1.jpg
麻煩各位了!
贊助商連結