2009年8月19日 星期三

FP9操作影格造成child MovieClip裡的動畫暫停的bug


這問題是奶綠前兩天發現的。
通常我們很習慣在操作動畫時,有時為了要控制快轉倒轉,常常會使用nextFrame()及prevFrame(),而且通常是配合Event.EnterFrame來使用。
但是奶綠發現,如果這個MovieClip有一個child MovieClip自己裡面有動畫在跑的時候,這樣的操作會造成這個child MovieClip的動畫「停止」,等到parent不再受到nextFrame()及prevFrame()的命令時,child MovieClip才會繼續跑它的動畫,因此就造成了不同步的狀況。

我自己試驗了一下,其實child MovieClip裡的動畫不是真的停止了,而是「跑得比較慢(應該說非常慢)」而已。
我猜可能是因為nextFrame()及prevFrame() (gotoAndStop()也一樣)所花掉的效能讓Flash Player無法同時處理child MovieClip的影格,因此造成child MovieClip的動畫delay。
目前似乎無解。

但是奶綠發現Ticore之前有提到在Flash Player 10之下這個問題就不會再發生。
也許是Flash Player 10有發現這一點並做了修正了吧?

2 則留言:

  1. Simultaneous 5-axis machining makes use of all 5 axes on the same time to permit milling of advanced shapes at high precision. CAM software program is all but required to program these CNC machines, as the motion is very difficult. Packages like Fusion 360 Boxer Shorts for Men integrate CAD and CAM to maintain these processes extra connected. Then the CNC machine is ready by loading in stock materials, the piece to be reduce, nicely as|in addition to} any tools that could be used through the machining process. Finally, the toolpaths are transformed into code that controls the machine motion and creates the final half.

    回覆刪除
  2. AppLive bettingStreamingSame recreation parlayRefer a pal bonus✔✔✔✔✔TwinSpires look doubtless to|prone to} be one of the 온라인카지노 first authorized on-line sportsbooks to come to Maryland when on-line sports betting arrives in Fall 2022. The licensing conditions mean that their relationship with the Ocean Downs Casino should allow them to supply authorized on-line sports betting as quickly as the market is unlocked. Unfortunately, many on-line sports betting sites are geo-locked and accounts can't be created or accessed from within certain nations or states. For example, Canadian-based Bovada won’t accept players from several of} states, including New York and Nevada. This can cause frustration for travelers who find themselves all of a sudden unable to put bets.

    回覆刪除