PDA

View Full Version : If Then actions


Frosty_spl
08-03-2006, 04:11 PM
So Im testing my site, and tried to view it as show streaming, 56k.

My swfs dont load at the right times, and if a nav button is clicked, it takes you to that page, but then the OG swf from the first page that never loaded in, loads in the new page where it dosent belong.

Is there anyway to make an action that will not allow something to be clicked, if the SWFs are not loaded into their respective levels?

Cota
08-03-2006, 09:06 PM
Disable the other nav buttons until everything is loaded...

Frosty_spl
08-03-2006, 10:20 PM
Yea thats what i was thinking. I just dont know how to write it. :D

and "everything" includes external swfs too right?

Cota
08-04-2006, 12:31 AM
that all depends on how you're loading the movies, if using the MovieLoader component..then you'll more flexability..

Frosty_spl
08-04-2006, 04:42 PM
I load in swfs on top of my main swf. Then swap those upper content swfs with new ones when the viewer moves through the site.

Cota
08-04-2006, 06:53 PM
I was refering to the method in whcih you are actually loading the external files, loadMovie() or MovieClipLoader?

Frosty_spl
08-04-2006, 07:44 PM
oh, loadmovie.

Cota
08-04-2006, 08:15 PM
You'll have to compare bytesloaded vs bytetotal to determine when the initial movieclip is done loading...then enable all the buttons..