"Export in First Frame" issues

Alright, guys…I don’t know if this issue has come up with anyone, but it certainly has with me…And for the project I’m working on…I have to resort back to using Flash 5 because of it.

Well, I noticed that the Sound Object in Flash MX (Player 6) will not allow me to play a sound without either using “LoadSound” (Which of course, I would stream the sound in) or using the “Export in First Frame” if the sound is imported into the library. If I’m using this feature…it is defeating the purpose of my preloader. As a matter of fact, if I check off the “Export in First Frame” and generate a size report…it loads everything, but I always get a “0 bytes” loaded for my sound.

I mean, how basic and Flash Player 5 is this code?

And yes, my preloader works perfectly…always has.

(in the third frame of the movie)
var dammit = new Sound();
dammit.attachSound(“damn_Sound_Object”);
dammit.start(0,1);

This only works if I “export in first frame” which kills my preloader.

In Flash 5, man, the code works brilliantly. How crap is that?

Any thoughts on this?

:cyclops:

You could set up an empty movie with just a preloader, and load your swf into a level. Because items exported on the first frame are not preloaded before the movie itself, hence before the preloader.

pom :asian:

Yea, figured out that I would do that and it works! They really should probably fix that, but hey, whatever. Thanks again!

:cyclops: