I'm using the file ClearOverMute as video controls for my .flv
How can I amend ClearOverPlayMute.fla (Action Script 2) so that the initial
state is Mute, and the user presses the audio button to hear sound?
I'm not a scripter, so clear instructions would be much appreciated.
Many thanks, Linda
Travis Newbury - 11 Jul 2008 16:05 GMT
> I'm using the file ClearOverMuteas video controls for my .flv
MyPlayer.volume=0;
Where MyPlayer is what ever you called your FLVPlayback instance.
Rossiter - 16 Jul 2008 00:12 GMT
Could someone suggest where else I might find an answer to this?Thanks, Linda
urami_ - 24 Jul 2008 08:52 GMT
> Could someone suggest where else I might find an answer to this?Thanks, Linda
Bit tricky but workable.
Assuming your FLV Playback component has instance name "FLV_Playback" (replace it with your
instance name), this action on timeline frame will do what you after:
FLV_Playback.volume = 0;
FLV_Playback._uiMgr._isMuted = true;

Signature
Best Regards
Urami
--
"Never play Leap-Frog with a Unicorn."
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami>