Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
In Flash 4, if you wanted to preload part of a file, you had to set up what’s known as a gate. A gate consists of three frames:
1st Frame. Checks whether a specific frame is loaded. If the frame is loaded, you jump to the third frame. Otherwise, the movie continues to play.
2nd Frame. If the movie continues to play, this frame sends you back to the first frame to run the check again. You loop between these two frames until the condition in the first frame is met.
3rd Frame. This is the frame you want your movie to start playing from as soon as the frame you checked for in the first frame has loaded.