Be a Supporter!

audio in flash

  • 384 Views
  • 4 Replies
New Topic Respond to this Topic
crazator
crazator
  • Member since: Dec. 20, 2007
  • Offline.
Forum Stats
Member
Level 04
Blank Slate
audio in flash 2008-05-18 12:49:02 Reply

okay i am making a music video and the audio never stops even if i put the stop script in
what am i doing wrong

ChilliDog
ChilliDog
  • Member since: Feb. 16, 2007
  • Offline.
Forum Stats
Member
Level 16
Blank Slate
Response to audio in flash 2008-05-18 12:50:08 Reply

Make sure it's set as a stream and not an event


AS: Main

Don't read this sentence.

Kirk-Cocaine
Kirk-Cocaine
  • Member since: Aug. 17, 2003
  • Offline.
Forum Stats
Moderator
Level 38
Programmer
Response to audio in flash 2008-05-18 12:51:20 Reply

At 5/18/08 12:49 PM, crazator wrote: okay i am making a music video and the audio never stops even if i put the stop script in
what am i doing wrong

stop(); only stops the timeline playing, to stop sounds use stopAllSounds();


The water in Majorca don't taste like what it oughta.

| AS3: Main | AS2: Main | Flash Tutorials |

BBS Signature
OneWhoListens
OneWhoListens
  • Member since: Aug. 23, 2006
  • Offline.
Forum Stats
Member
Level 27
Blank Slate
Response to audio in flash 2008-05-18 12:52:09 Reply

Check the frame where the music starts. In the frame properties it should give you a choice between event, play, and stop. It should currently be on event (probably). Change that to Start. Then find the frame where you want to music to end, and set it to Stop there (you may need to create a keyframe first, it's been a while since I did this).


"Sit down and shut up and do as I say" -- Zeus

BBS Signature
crazator
crazator
  • Member since: Dec. 20, 2007
  • Offline.
Forum Stats
Member
Level 04
Blank Slate
Response to audio in flash 2008-05-18 14:24:29 Reply

it still doesn't work