Jeff S
02-05-2008, 04:09 PM
We all know how to preload/buffer an external FLV file using the FLVPlayback component. But is there a way to preload that FLV file several frames before the FLVPlayback component instance appears on the stage?
For example:
I have an FLA file that basically has two parts. The first part is a short Flash animation, created with the Flash drawing tools and whatnot. Then the second part is an FLVPlayback component that plays back an external FLV file. The problem I'm having is that when the first part is done, the FLVPlayback component instance appears on the stage, and THEN AND ONLY THEN the external FLV file begins to load/buffer, causing the viewer to sit and wait for it to load before it begins to play.
Now I have a preloader in the first frame of the FLA file that preloads all the Flash drawings/animations and the FLVPlayback instance, but is there a way to ALSO preload the external FLV file in the first frame, so by the time the FLVPlayback instance appears on the stage, there is no waiting for the video to load/buffer, its already been preloaded and simply begins playing??
This has been driving me mad and there seems to be no discussion of a technique like this anywhere in the help docs. Anyone have any thoughts? Thanks a ton in advance!
For example:
I have an FLA file that basically has two parts. The first part is a short Flash animation, created with the Flash drawing tools and whatnot. Then the second part is an FLVPlayback component that plays back an external FLV file. The problem I'm having is that when the first part is done, the FLVPlayback component instance appears on the stage, and THEN AND ONLY THEN the external FLV file begins to load/buffer, causing the viewer to sit and wait for it to load before it begins to play.
Now I have a preloader in the first frame of the FLA file that preloads all the Flash drawings/animations and the FLVPlayback instance, but is there a way to ALSO preload the external FLV file in the first frame, so by the time the FLVPlayback instance appears on the stage, there is no waiting for the video to load/buffer, its already been preloaded and simply begins playing??
This has been driving me mad and there seems to be no discussion of a technique like this anywhere in the help docs. Anyone have any thoughts? Thanks a ton in advance!