[問題] 不知道要用什麼標題...
原PO正在作一個互動式動畫,可是遇到了問題,不知道怎麼解決???
影格1放了兩個按鈕,
按鈕一:on (release) {
gotoAndPlay(3);
}
按鈕二:on (release) {
gotoAndPlay(2);
}
然後影格二放了一個按鈕
按鈕:on (release) {
gotoAndPlay(3);
}
影格一跟影格二時間軸的程式碼都為 stop();
影格三放了4個textinput 1個按鈕
名稱分別為text1.text2.text3.text4
按鈕程式碼:on (release) {
gotoAndStop (4);
}
影格四放了一個label 名稱為label1
影格4的時間軸程式碼為label1.text = text1.text + text2.text + text3.text +
text4.text + text5.text;
然後,執行的結果label不是使用者輸入的資料,而是NaN(這是什麼??)
然後原PO把影格4時間軸程式碼改成label1.text = text1.text;
執行的結果label出現的是undefined(這又是什麼???)
上面兩個就是原PO遇到的問題,要怎麼解決???
希望大大們幫幫忙,拜託拜託!!!!
謝謝!!!!
--
▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃
████ █ █ ◢██◣ █ █ █ ◢◤ ████
█ █ █ █ █ █◣ █ █◢◤◢ █
█ ████ ████ █◥◣█ ██ ████
█ █ █ █ █ █ ◥█ █◥◣◥ █
█ █ █ █ █ █ █ █ ◥◣ ████ ψ raepopo
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.165.218.195
推
01/09 22:18, , 1F
01/09 22:18, 1F
→
01/09 22:19, , 2F
01/09 22:19, 2F
→
01/09 23:11, , 3F
01/09 23:11, 3F
→
01/10 00:16, , 4F
01/10 00:16, 4F
→
01/10 07:43, , 5F
01/10 07:43, 5F
→
01/10 07:43, , 6F
01/10 07:43, 6F
→
01/10 15:36, , 7F
01/10 15:36, 7F