How do you stop the music in flash?
- XychoJack
-
XychoJack
- Member since: Sep. 13, 2005
- Offline.
-
- Forum Stats
- Member
- Level 06
- Blank Slate
When I put some music into flash, it just won't stop until it ends.
I need to do something about stopping the sound when it goes to the next scene.
If you can help me on this one expect flash from me very soon.
- joshy24
-
joshy24
- Member since: Nov. 28, 2004
- Offline.
-
- Forum Stats
- Member
- Level 06
- Musician
At 10/4/05 02:07 PM, xycho_jack wrote: When I put some music into flash, it just won't stop until it ends.
I need to do something about stopping the sound when it goes to the next scene.
If you can help me on this one expect flash from me very soon.
ok if u want it to end, just put in
stopallsounds();
in the frame
or in the button put
on (press) {stopallsounds();
}
hope it helped
Steam: imuffin101
- TomFrogman
-
TomFrogman
- Member since: Jan. 16, 2005
- Offline.
-
- Forum Stats
- Member
- Level 17
- Blank Slate
If the problem is purely to do with wanting the music to stop during a *scene change* then all you need to do is switch the audio from 'Event' to 'Stream'.
- Inglor
-
Inglor
- Member since: Jan. 26, 2003
- Offline.
-
- Send Private Message
- Browse All Posts (10,869)
- Block
-
- Forum Stats
- Member
- Level 17
- Blank Slate
At 10/4/05 02:13 PM, joshy24 wrote: ok if u want it to end, just put in
stopallsounds();
isn't it stopAllSounds(); ?
- Sam
-
Sam
- Member since: Oct. 1, 2005
- Offline.
-
- Forum Stats
- Moderator
- Level 19
- Programmer
Yeah, im pretty sure its isn't it stopAllSounds(); ive used it before..
- Sam
-
Sam
- Member since: Oct. 1, 2005
- Offline.
-
- Forum Stats
- Moderator
- Level 19
- Programmer
Sorry about d-post
*Yeah, Im pretty sure its stopAllSounds(); ive used it before
- authorblues
-
authorblues
- Member since: Jun. 21, 2005
- Offline.
-
- Forum Stats
- Member
- Level 12
- Blank Slate
At 10/4/05 02:07 PM, xycho_jack wrote: When I put some music into flash, it just won't stop until it ends.
I need to do something about stopping the sound when it goes to the next scene.
If you can help me on this one expect flash from me very soon.
wouldnt it be easier to just stream the audio in the timeline, and then, when you change the scene, it should stop, as long as you dont put the music onto the new timeline either.
that sounds right to ME, at least
- ParodyMyAss
-
ParodyMyAss
- Member since: Oct. 4, 2005
- Offline.
-
- Forum Stats
- Member
- Level 06
- Blank Slate
At 10/4/05 02:33 PM, authorblues wrote:At 10/4/05 02:07 PM, xycho_jack wrote:
wouldnt it be easier to just stream the audio in the timeline, and then, when you change the scene, it should stop, as long as you dont put the music onto the new timeline either.
that sounds right to ME, at least
Yes, that's what I do for all my music. Just switch the music to 'Stream' in the Properties bar. Good luck!
I don't need glasses, but I wear them because I'd rather see the world through a distorted view than not be able to give it any excuse for how it is when I see it clearly.
- TomFrogman
-
TomFrogman
- Member since: Jan. 16, 2005
- Offline.
-
- Forum Stats
- Member
- Level 17
- Blank Slate
At 10/4/05 02:33 PM, authorblues wrote: wouldnt it be easier to just stream the audio in the timeline, and then, when you change the scene, it should stop, as long as you dont put the music onto the new timeline either.
that sounds right to ME, at least
Silence!
Our easier method of thinking is inferior to their actionscripting prowess.
- caseyo
-
caseyo
- Member since: May. 14, 2005
- Offline.
-
- Forum Stats
- Member
- Level 23
- Blank Slate
At 10/4/05 02:42 PM, TomFrogman wrote:
Silence!
Our easier method of thinking is inferior to their actionscripting prowess.
Yes, but theirs looks cooler. O_o
- XychoJack
-
XychoJack
- Member since: Sep. 13, 2005
- Offline.
-
- Forum Stats
- Member
- Level 06
- Blank Slate
Thanks you guys! You've helped me a lot!
My flash is turning out great!
- authorblues
-
authorblues
- Member since: Jun. 21, 2005
- Offline.
-
- Forum Stats
- Member
- Level 12
- Blank Slate
At 10/4/05 02:42 PM, TomFrogman wrote: Silence!
Our easier method of thinking is inferior to their actionscripting prowess.
stopAllSounds(); is not "actionscript prowess".
that is the most basic of basics.
- ParodyMyAss
-
ParodyMyAss
- Member since: Oct. 4, 2005
- Offline.
-
- Forum Stats
- Member
- Level 06
- Blank Slate
At 10/4/05 04:06 PM, xycho_jack wrote: Thanks you guys! You've helped me a lot!
My flash is turning out great!
Good. I hope to see the debut of your flash so I can get a Save point in the Portal. Good luck w/ the rest!
I don't need glasses, but I wear them because I'd rather see the world through a distorted view than not be able to give it any excuse for how it is when I see it clearly.
- Inglor
-
Inglor
- Member since: Jan. 26, 2003
- Offline.
-
- Send Private Message
- Browse All Posts (10,869)
- Block
-
- Forum Stats
- Member
- Level 17
- Blank Slate
At 10/5/05 12:18 AM, authorblues wrote: stopAllSounds(); is not "actionscript prowess".
that is the most basic of basics.
that only strengthens it's uber power, sure I could run a for... in loop that locates instances of Sound and instances of steaming and event handling classes and stops them individually, but would that really be better than the uber 1 gold stopAllSounds()?
- authorblues
-
authorblues
- Member since: Jun. 21, 2005
- Offline.
-
- Forum Stats
- Member
- Level 12
- Blank Slate
At 10/6/05 06:36 AM, Inglor wrote: that only strengthens it's uber power, sure I could run a for... in loop that locates instances of Sound and instances of steaming and event handling classes and stops them individually, but would that really be better than the uber 1 gold stopAllSounds()?
ooooooooh... PWN'd!!1!
oh wait...
- Xurch
-
Xurch
- Member since: Mar. 26, 2005
- Offline.
-
- Forum Stats
- Member
- Level 25
- Blank Slate
Jese guys, stop repeating the awsnser

