# Music screwing up preloader - urgent

**URL:** <https://forum.kirupa.com/t/music-screwing-up-preloader-urgent/57969>\
**Category:** flash\
**Created:** [July 18, 2004, 6:57pm UTC](https://forum.kirupa.com/t/music-screwing-up-preloader-urgent/57969 "2004-07-18T18:57:08Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![csweb](https://avatars.discourse-cdn.com/v4/letter/c/a8b319/32.png) [@csweb](https://forum.kirupa.com/u/csweb)\
**Post date:** [July 18, 2004, 6:57pm UTC](https://forum.kirupa.com/t/music-screwing-up-preloader-urgent/57969/1 "2004-07-18T18:57:08Z")

</div>

I managed to succsesfully make a preloader whoo!!! been trying for ages but then the second I add music to play on a button click on frame 3 which it goes to whenn loading is finished, the laoder stops working and then when u view it it just spends ages loading with a blank screen and then when its fnsihed loading just goes stright to frame 3. I think I figured out that it was because in the linkage for the music I had “export in first frame” ticked but then when I untick it, the music doesnt work anymore ☹

Urgent help needed suposed to have finished this ages ago :\*(

---

<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 18, 2004, 8:00pm UTC](https://forum.kirupa.com/t/music-screwing-up-preloader-urgent/57969/2 "2004-07-18T20:00:43Z")

</div>

:love: **search button** :love:  
[http://www.kirupaforum.com/forums/showthread.php?t=53625&](http://www.kirupaforum.com/forums/showthread.php?t=53625&)

scotty(-:

---

<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 18, 2004, 8:13pm UTC](https://forum.kirupa.com/t/music-screwing-up-preloader-urgent/57969/3 "2004-07-18T20:13:40Z")

</div>

I did search and that didnt come up.

I fixxed that now woooo! but got another problem I have searched the forum and this thread is pritty much the same problem as me

My movie has a black background and the dynamic text has a white background for some reason even when I export it, so it just looks terrible, how do you set it to transparant or black?

[http://www.kirupaforum.com/forums/showthread.php?t=45440&highlight=dynamic+text+background](http://www.kirupaforum.com/forums/showthread.php?t=45440&highlight=dynamic+text+background)

---

<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 19, 2004, 6:49am UTC](https://forum.kirupa.com/t/music-screwing-up-preloader-urgent/57969/4 "2004-07-19T06:49:09Z")

</div>

Uncheck the border/background button in the properties panel:)

scotty(-:

---

<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 19, 2004, 7:57pm UTC](https://forum.kirupa.com/t/music-screwing-up-preloader-urgent/57969/5 "2004-07-19T19:57:57Z")

</div>

Thanks very much Now I gotta work out the next problem ☹  
Im making a music player as you may have guess It consists of a play button, pause button, FF button, RW button. I have a variable called playing which is true when music is playing so that you cannot click the play button again anyway enough on that is there away so that I can have it so whilst playing=true the play button is replaced by the paus e button and whislt its not its just the play button…

---

<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 19, 2004, 8:05pm UTC](https://forum.kirupa.com/t/music-screwing-up-preloader-urgent/57969/6 "2004-07-19T20:05:45Z")

</div>

There are many ways, but something like this?

```auto
pauseButton._visible = 0;
playButton.onRelease = function() {
	this._visible = 0;
	pauseButton._visible = 1;
	//other stuff here
};
pauseButton.onRelease = function() {
	this._visible = 0;
	playButton._visible = 1;
	//other stuff here
};

```

scotty(-:

---

<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 19, 2004, 9:07pm UTC](https://forum.kirupa.com/t/music-screwing-up-preloader-urgent/57969/7 "2004-07-19T21:07:49Z")

</div>

When do you place the buttons then?

---

<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 19, 2004, 10:03pm UTC](https://forum.kirupa.com/t/music-screwing-up-preloader-urgent/57969/8 "2004-07-19T22:03:03Z")

</div>

Place that code on the timeline the buttons are in (and give them instancenames “playButton”/“pauseButton”)

scotty(-:

---

<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 20, 2004, 6:53am UTC](https://forum.kirupa.com/t/music-screwing-up-preloader-urgent/57969/9 "2004-07-20T06:53:49Z")

</div>

No I mean in the frame where do u place the buttons? on top of each other?

---

<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 20, 2004, 7:01am UTC](https://forum.kirupa.com/t/music-screwing-up-preloader-urgent/57969/10 "2004-07-20T07:01:45Z")

</div>

LOL, guess I needed some sleep:z:

Yep, if you want them at the same place:)

scotty(-:

---

<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 20, 2004, 7:03am UTC](https://forum.kirupa.com/t/music-screwing-up-preloader-urgent/57969/11 "2004-07-20T07:03:30Z")

</div>

they can be anywhere in the same frame, it’s just calling them as there instance names, they could be on different layers so that it’s easier to see them both but it really doesn’t matter  
🙂

---

<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 20, 2004, 10:18pm UTC](https://forum.kirupa.com/t/music-screwing-up-preloader-urgent/57969/12 "2004-07-20T22:18:02Z")

</div>

What so if you want them in the same place you put them in the same place??

---

<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 21, 2004, 6:53am UTC](https://forum.kirupa.com/t/music-screwing-up-preloader-urgent/57969/13 "2004-07-21T06:53:18Z")

</div>

like you’ve said, on top of each other:h:

scotty(-:

---

<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 21, 2004, 10:04am UTC](https://forum.kirupa.com/t/music-screwing-up-preloader-urgent/57969/14 "2004-07-21T10:04:49Z")

</div>

Would it be possible to do

```auto

 if (playing=true) {
	playButton._visible = 0;
	pauseButton._visible = 1;
	
}
if (playing!=true) {
	playButton._visible = 1;
	pauseButton._visible = 0;
	
}
 

```

---

<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 21, 2004, 10:28am UTC](https://forum.kirupa.com/t/music-screwing-up-preloader-urgent/57969/15 "2004-07-21T10:28:38Z")

</div>

Yep, but then you have to check on some onEnterFrame…

btw it should read

```auto
 if (playing==true) {

```

😉

scotty(-:
