homepage Welcome to WebmasterWorld Guest from 54.198.42.105
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

    
Anyway to mute a .swf file?
StoutFiles




msg:3667573
 1:35 pm on Jun 5, 2008 (gmt 0)

I'd like to be able to embed it with the sound turned off. That way I can make an external mute button.

Looking around I haven't seen a way to do this.

 

eelixduppy




msg:3687931
 6:39 pm on Jul 1, 2008 (gmt 0)

you should be able to use the Sound.setVolume [adobe.com] method.

You are going to want to set it to zero to mute it:

s.setVolume(0);

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