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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with a preloader for loading multiple swf.

Status
Not open for further replies.

Sixxgirl

IS-IT--Management
Jan 8, 2006
4
US
Flash 8 version I'm working with the following:
1. A main SWF movie with 7 scenes and 1 scene is called Audio On the Audio scene I am loading 11 swf files for the individual songs in buttons.
2. An SWF bunch of SWFs over 1mb each which are 30 sec mps songs,

However, I need to get a preloader for each of the external swfs.

Attached is a link to a preloader example I found and started to modify.
song file
Button Action Script

on (press) {
stopAllSounds();
}
on (release) {
Sound;
}

I am just trying to get the preloader to work with the home scene of the movie.

The problem I have is the song buttons don't all appear on the home scene so I can't figure out why the preloader isn't loading everything then goes to the home scene..


Any help would be appreciated!

Deb
 
Preloaders don't take into account, loadMovie actions within the main movie it is preloading.

What is it your attempting to do here? Preload all 11 or so songs before the main movie goes to the home scene, or only preload them when a request is made for some particular song?

Also note that you shouldn't include your sounds in your buttons, but only control their playing or stopping through your buttons.

Regards. Affiliate Program - Web Hosting - Web Design
03/13/05 -> OLDNEWBIE VS FLASHKIT
 
My goal is when the home scene appears all the buttons with the songs are listed. So when people click on any song it will start to play for them immediately. Is there anyway you can recommend to accomplish this without having people to wait to long.

I have always been trained to include the sound on hit state of the button. If you can point me to examples of your recommendation not to include sound on the buttons I would appreciate it. I am fairly new to actionscripting.

I really appreicate your time.

Thanks

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top