# Preloading causes screen to flash (no pun inteneded)

**URL:** https://forum.kirupa.com/t/preloading-causes-screen-to-flash-no-pun-inteneded/24619
**Category:** Uncategorized
**Created:** [July 2, 2003, 9:17pm UTC](https://forum.kirupa.com/t/preloading-causes-screen-to-flash-no-pun-inteneded/24619 "2003-07-02T21:17:00Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![orome](https://avatars.discourse-cdn.com/v4/letter/o/e495f1/32.png) [@orome](https://forum.kirupa.com/u/orome)
#### Post date: [July 2, 2003, 9:17pm UTC](https://forum.kirupa.com/t/preloading-causes-screen-to-flash-no-pun-inteneded/24619/1 "2003-07-02T21:17:00Z")

</div>

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](http://www.thewoodshedders.com/flash/index.html)

* * *

dwarfs have long \*\*\* beards

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 2, 2003, 9:21pm UTC](https://forum.kirupa.com/t/preloading-causes-screen-to-flash-no-pun-inteneded/24619/2 "2003-07-02T21:21:57Z")

</div>

I would need to see the code :-\

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 2, 2003, 9:24pm UTC](https://forum.kirupa.com/t/preloading-causes-screen-to-flash-no-pun-inteneded/24619/3 "2003-07-02T21:24:19Z")

</div>

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;  
}

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 3, 2003, 3:56am UTC](https://forum.kirupa.com/t/preloading-causes-screen-to-flash-no-pun-inteneded/24619/4 "2003-07-03T03:56:36Z")

</div>

post the .fla

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 3, 2003, 4:10am UTC](https://forum.kirupa.com/t/preloading-causes-screen-to-flash-no-pun-inteneded/24619/5 "2003-07-03T04:10:12Z")

</div>

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]

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 3, 2003, 2:54pm UTC](https://forum.kirupa.com/t/preloading-causes-screen-to-flash-no-pun-inteneded/24619/6 "2003-07-03T14:54:09Z")

</div>

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!

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 3, 2003, 2:56pm UTC](https://forum.kirupa.com/t/preloading-causes-screen-to-flash-no-pun-inteneded/24619/7 "2003-07-03T14:56:04Z")

</div>

[heres a link to the multimedia .fla anyhoo](http://www.thewoodshedders.com/FLA/fla.htm)

u guys are the pot.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 3, 2003, 3:42pm UTC](https://forum.kirupa.com/t/preloading-causes-screen-to-flash-no-pun-inteneded/24619/8 "2003-07-03T15:42:39Z")

</div>

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](http://www.delusionalfx.com/tutorials/XternalSound.htm)

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

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 3, 2003, 3:49pm UTC](https://forum.kirupa.com/t/preloading-causes-screen-to-flash-no-pun-inteneded/24619/9 "2003-07-03T15:49:32Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 3, 2003, 3:59pm UTC](https://forum.kirupa.com/t/preloading-causes-screen-to-flash-no-pun-inteneded/24619/10 "2003-07-03T15:59:45Z")

</div>

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

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 3, 2003, 4:39pm UTC](https://forum.kirupa.com/t/preloading-causes-screen-to-flash-no-pun-inteneded/24619/11 "2003-07-03T16:39:36Z")

</div>

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!

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 3, 2003, 4:43pm UTC](https://forum.kirupa.com/t/preloading-causes-screen-to-flash-no-pun-inteneded/24619/12 "2003-07-03T16:43:18Z")

</div>

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

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 3, 2003, 5:32pm UTC](https://forum.kirupa.com/t/preloading-causes-screen-to-flash-no-pun-inteneded/24619/13 "2003-07-03T17:32:14Z")

</div>

the .fla is too large to post. dern.

but here is the example anyway: [LINK](http://www.thewoodshedders.com/indexflash.html)

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.
