PDA

View Full Version : FMX Preloader Hell



Nelly
May 9th, 2004, 09:45 AM
Hi,

I have a small problem with a preloader in Flash MX.

It seems to become stuck at "frame 0" instead of showing the preload bar, etc...and I didn't know there was a "frame 0"?

When I test it with "show streaming", the screen is blank and the preloader doesn't show, then, when the movie is done loading, the preloader flashes up briefly. I have 2 frames on my main timeline. Frame 1 is the preloader, and frame 2 contains a clip which constitutes the main movie. Frame 2 has stop() and both are labelled correctly i.e. when the movie is finished loading gotoAndPlay("movie") (frame 2) is executed.

Has anyone experienced this...and can anyone help? :)

Cheers,

Nelly

Dr.Lecter
May 9th, 2004, 03:18 PM
ok, a great preloader tute is here : http://www.kirupa.com/developer/mx/percentagepreloader.htm it works great (lostinbeta is my preloader hero :P ). try to use that ...

mlk
May 9th, 2004, 03:31 PM
make sure you're not loading sound & fonts before your actual swf file

Nelly
May 9th, 2004, 03:44 PM
It was the sounds!
I have since solved it, but this is what I did:

I put the main movie on the 4th frame and put the sounds into a movie clip, on the 3rd frame, and turned off the "Export in first frame setting", and used (this) when attaching the sound, as per this page: http://www.flashbax.com/attachsound2.htm which was very useful!

Thanks.