Preloading causes screen to flash (no pun inteneded)

when the .swf (contains an mp3) loads, the preloader flashes the whole screen until it’s done. any clues mr. holmes? watson? associates?

the link


dwarfs have long *** beards

I would need to see the code :-\

this is what the .mp3 link button does:

on (release) {
_root.createEmptyMovieClip(“emptyMC”, 1);
_root.emptyMC.loadMovie(“mamablue.swf”);
_root.emptyMC._x = 407;
_root.emptyMC._y = 31;
}

post the .fla

This laods it externally
[AS]
x = new Sound();
x.loadSound(“song.mp3”, true); //true to stream it
myButton.onRelease = function(){
x.start();
}
[/AS]

load your sound like that or attach it.
[AS]
x = new Sound();
x.attachSound(“song.mp3”); //attach to library
myButton.onRelease = function(){
x.start();
}
[/AS]

i tried to load the .fla but it is too beaucoup.

gonna try the last code posted and see what happens.

thanks for all help. . . i’ll be bock!

heres a link to the multimedia .fla anyhoo

u guys are the pot.

orome, i looked at your .swf. why are you loading your sound in an external swf. did you read what i posted? i wrote this a while back for someone

http://www.delusionalfx.com/tutorials/XternalSound.htm

read that. it’s based off a tute some guy wrote.

thanks!

my intention was to load the mp3.swf with a preloader so someone wouldnt get interrupted streaming. i’m working off of your suggestion now…gonna remove the preloader altogether.

any suggestions on buffering?

yeah but then they have to wait for the whole song to download.

as far as buffering, i foudn that as long as the user is on a connect of 768 and up, which is standard now, there is no skipping of the streaming song

well, that certainly fixed the flashing for that…bows lowly

but now i have to figure why the photoslideshow is flashing when loading.

maybe is it because i am loading an .swf with a preloader into an emptymc ? confused really. but learning much!

its probably your preloader script, and your timeline, feel free to post your .fla or script. did you figure out the sound part?

the .fla is too large to post. dern.

but here is the example anyway: LINK

the thing that really goes berserk is the ‘click here for more photos’ link. when it loads the .swf into the empty mc, it really doesnt like the preloader. maybe i should find another way to load the movie clip where i want it. i used this:

on (release) {
_root.createEmptyMovieClip(“emptyMC”, 1);
_root.emptyMC.loadMovie(“mamablue.swf”);
_root.emptyMC._x = 407;
_root.emptyMC._y = 31;
}

to position the .swf where i wanted it.