[問題] 請問動態寫法

看板Flash作者 (go)時間14年前 (2011/05/16 23:57), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
如何使用迴圈宣告以下內容? 感謝! var music1:Sound; music1=new Sound(); var path1:URLRequest=new URLRequest("sample_1.mp3"); music1.load(path1); var music2:Sound; music2=new Sound(); var path2:URLRequest=new URLRequest("sample_2.mp3"); music2.load(path2); var music3:Sound; music3=new Sound(); var path3:URLRequest=new URLRequest("sample_3.mp3"); music3.load(path3); var music4:Sound; music4=new Sound(); var path4:URLRequest=new URLRequest("sample_4.mp3"); music4.load(path4); -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.33.150.182
文章代碼(AID): #1DqKbsCy (Flash)
文章代碼(AID): #1DqKbsCy (Flash)