homepage Welcome to WebmasterWorld Guest from 107.22.25.119
register, login, search, subscribe, help, library, PubCon, announcements, recent posts, open posts,
Pubcon Platinum Sponsor
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library : Charter : Moderators: eelixduppy

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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
WebmasterWorld ® and PubCon ® are a Registered Trademarks of Pubcon Inc.
© Pubcon Inc. 1996-2012 all rights reserved