Script | execution
This experience has been forgotten to send up, I believe many flasher do not know this, especially the flash Designer.
Flash scripts are executed prior to the timeline's actions. For example, you can create a new document, and then build two frames, the first frame randomly put a graphic, the second frame is an empty keyframe, and on the second frame of the time axis write gotoAndPlay (1);
Running the movie will find that the empty keyframe for the second frame has not been executed. Then you put the second frame of the gotoAndPlay (1); Delete, run the movie will be found, at this time the screen flashes in a flash.
Rotating graphics is one of the typical applications of this technique. If you use a rotation on the tween, you will find that the rotation to the end point will pause, making the rotation not smooth. At this point, in the last frame of the tween, add gotoAndPlay to the rotation starting frame, and you will find that the graph is spinning perfectly.
The use of low frame frequency (such as FPS) can be used to observe the more obvious effects when testing.