I have built a fluid swf(preloader.swf) which is like an intro-cum-preloader screen to a flash site which is stored in main.swf. How do I program the preloader.swf to show the preload percentage of main.swf ?
All the swf files used here are fluid,so there is an actionscript file which loads the movieclips onto stage dynamically,please give me a solution to this keeping this in mind. Please do ask for clarifications if needed.
You want to use the Loader class in Actionscript 3. If you look at the example in the online help, you'll see that there are, among others, a progress event and a complete event. You can use this progress event, to track the progress of the loading of the file. The complete event occurs when the file has completely loaded.
Have a look at this: http://help.adobe.com/en_US/ActionScript/3.0_UsingComponentsAS3/WS5b3c cc516d4fbf351e63e3d118a9c65b32-7fa4.html it explains how to use a Progress Bar component to show the loading of a file.