[問題] 看的懂的幫忙修改一下 我不知道該如何改

看板Flash作者 (跟時間賽跑)時間18年前 (2007/05/19 20:09), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串1/5 (看更多)
on (release) { if (_root.delay<>1) { gotoAndStop(_root.right[_name]); if (_root.stack.length == 1) { if (_root.stack[0] == _root.right[_name]) { B= new Sound(); B.setVolume(100); B.attachSound("success"); B.start(0); tellTarget ("_root.cool") { setProperty("", _x, _root.lastx); setProperty("", _y, _root.lasty); gotoAndPlay(2); } _root.stack.pop(); _root.yes = _root.yes+1; if (_root.yes == 10) { setProperty("/zzz", _x, _root.lastx); setProperty("/zzz", _y, _root.lastx); /* 這邊好像有問題 我的zzz影片元件 不會出現在場景 可是上面那段的cool卻可以 } } else { _root.stack.pop(); _root.name2 = _name; tellTarget ("/delay") { gotoAndPlay(2); } } } else { _root.stack[0] = _root.right[_name]; _root.name = _name; } } } -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 124.8.50.96

05/20 00:15, , 1F
你把程式碼寫在物件上,有原始檔參考會比較容易幫忙:)
05/20 00:15, 1F
文章代碼(AID): #16JkaBdP (Flash)
文章代碼(AID): #16JkaBdP (Flash)