This content has been marked as final. Show 4 replies
Try this out:
create two seprate frames (1st and 2nd of timeline), in first frame give this script:
lbt = this.getBytesLoaded();
tbt = this.getBytesTotal();
and in the second frame:
Thanks for this response.
The 'this.getBytesLoaded' is the code I'm using for the main SWF. But I also have a second SWF (finale.swf) that I want to preload in the background, while the visitor is viewing frame 3 of the main SWF.
So I'm figuring I need to start preloading finale.swf on frame three of the main SWF, but I don't want finale.swf to play until the final frame of the main SWF. My goal is to have the finale.swf completely preloaded so that when the visitor reaches the final frame of the main SWF, the finale.swf will play immediately without waiting for it to download.
Thanks for any thoughts.
Instead of using loadMovieNum create a empty movieclip in your main fla file. Assign a instance name to this movie clip and use movieClipInstance.loadMovie("bigFile.swf");. You can use MovieClipLoader class to check the progress of loaded content and then use onLoadProgress event to set movieClipInstance._visible = false;
Please let me know if I'm not clear and send me the FLA file you are using. I'll make changes to the code.
Thanks & Regards
Project Leader(Flash and Flex)
let your thoughts fly to others... you will become rich.
Thanks, I'll give this a try.