Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

preloader telling what is loaded

Status
Not open for further replies.

firegambler

Technical User
Sep 25, 2002
455
AT
hi folks,

could anybody please give me a hint how to create a preloader that tells the viewer which data are currently loading (i.e. loading sound, loading menu,...)?

thanks in advance regards

Firegambler
 
I'm not sure wether i should answer this because i have never tried doing that kind of preloader, but just to give you an idea:

depends on where you have the content of the movie; if you're loading your sounds from an external file (sound.mp3 for example) you have in Flash MX a few methods of the Sound() object that could help :
mySound.loadSound("url", isStreaming);
Sound.getBytesLoaded();
Sound.getBytesTotal();
check them out in Flash Help.

The same for any external swf file you're loading. (menu.swf, information.swf, etc.)


Hope it helps. Diana.
diana@cyberslotz.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top