Progress bar

Hi Sorry, I have done this in a different way but which seems to be sound enough.Flash Coding:


//


Function for Audio ONOFF state


var mySound = new Sound();var mute:Boolean var AudioControl:Function = function (prop, oldVal, newVal, stateOFMute) { if (newVal == stateOFMute) { mySound.setVolume(100); } else { mySound.setVolume(0); } return newVal;};watch("mute", AudioControl, "false");//


Java Script or Lectora Code:


#Flash swf#.setFlashVar( 'mute', "true" );or#Flash swf#.setFlashVar( 'mute', "false" );


This works fine.Edited By: karthik8583 on 2008-11-13 1:9:0

Discussions have been disabled for this post