homepage Welcome to WebmasterWorld Guest from 54.166.66.204
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

    
PLaying Sound
dukelips




msg:3689196
 6:33 am on Jul 3, 2008 (gmt 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

 

eelixduppy




msg:3689486
 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();

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved