精華區beta Flash 關於我們 聯絡資訊
Jedic:沒那麼複雜吧,就是影格的資訊全部執行而已 61.62.226.170 05/16
Jedic:有預載的話就不會先有聲音還沒影像了 61.62.226.170 05/16
我的測試: frame 1 trace("start 1"); trace("before goto 3"); gotoAndPlay(3); trace("after goto 3"); trace("before goto 2"); gotoAndPlay(2); trace("after goto 2"); trace("end 1"); frame 2 trace("start 2"); stop(); trace("end 2"); frame 3 trace("start 3"); trace("before goto 4"); gotoAndPlay(4); trace("after goto 4"); trace("end 3"); frame 4 trace(4); stop(); 結果最後output start 1 before goto 3 after goto 3 before goto 2 after goto 2 end 1 start 3 before goto 4 after goto 4 end 3 start 2 end 2 4 然後影格直接停在第四格~ 因此才會覺得好像會有個stack之類的東東存在~ (執行(output)順序為 1->3->2->4 若沒儲存 那應該很單純為1->3->2或1->3->4之類的) -- 這篇沒什麼重點,只是說明我的亂測試方法 和 為何我會這樣想~=.=" -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.247.241