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

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 3667571 posted 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

WebmasterWorld Senior Member eelixduppy us a WebmasterWorld Top Contributor of All Time 5+ Year Member



 
Msg#: 3667571 posted 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