[問題] 組件的Radio Button問題

看板Flash作者 (歡喜過好年)時間18年前 (2007/05/19 12:58), 編輯推噓4(402)
留言6則, 3人參與, 最新討論串1/1
想要按下Radio Button時 把Radio Button的lable中的文字在其他影格的動態文字中 不知道這一步怎麼做 所以只做了一半 我的做法 在影格1中建立Radio Button 參數的Lable為"選項1" Change Handler為"a1" 影格2中 建立一個動態文字框,實體名稱為a2 在影格1加入以下動作 stop(); function a1() { gotoAndStop(2); label==a2.text; --->這行不會寫,就一直試, 想把選項1文字傳到a2的文字框中 } 影格2加入動作stop(); 我的檔案http://ccca.net/~tywang/test2.fla -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.113.228.125

05/19 14:15, , 1F
為什麼是2個=呢
05/19 14:15, 1F

05/19 14:26, , 2F
改label.text==a2.text也不行
05/19 14:26, 2F

05/20 00:28, , 3F
a2.text = label;
05/20 00:28, 3F

05/20 00:29, , 4F
我忘了是 .text 還是 ._text了?
05/20 00:29, 4F

05/20 18:43, , 5F
試了上面兩個測試,還是不行耶@@a...
05/20 18:43, 5F

05/20 23:31, , 6F
trace(label) 看看有沒有這東西?
05/20 23:31, 6F
文章代碼(AID): #16JeFvow (Flash)
文章代碼(AID): #16JeFvow (Flash)