Welcome to WebmasterWorld Guest from 54.144.72.150

Forum Moderators: open

Message Too Old, No Replies

PLaying Sound

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

Preferred Member

5+ Year Member

joined:Mar 30, 2006
posts: 399
votes: 0


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

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

Senior Member

WebmasterWorld Senior Member eelixduppy is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Nov 12, 2005
posts:5966
votes: 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();