Welcome to WebmasterWorld Guest from 54.198.132.40

Forum Moderators: open

Message Too Old, No Replies

Anyway to mute a .swf file?

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

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:May 6, 2008
posts:2011
votes: 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.

6:39 pm on July 1, 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


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);