Forum Moderators: open

Message Too Old, No Replies

PLaying Sound

         

dukelips

6:33 am on Jul 3, 2008 (gmt 0)

10+ Year Member



I need to play a sound clip in my flash movie automatically without anyone click or releasing the button.

Is there any trick to do so

eelixduppy

2:56 pm on Jul 3, 2008 (gmt 0)



Instead of adding the condition in there that would listen for the release of a button or whatever, you just add the sound code in there:

s = new Sound();
s.attachSound("YourSound");
s.start();