PDA

View Full Version : FLVPlayback, can't disable buttons


mrand01
10-26-2005, 04:08 PM
You can access the various buttons in the FLVPlayback component like this:


myVidPlayer.playPauseButton


They are exposed as movie clips...when I try this:


myVidPlayer.playPauseButton.enabled = false;


it never works, the button is still enabled and able to be hit. Any idea how to disable these?

joshcoady
11-10-2006, 04:00 AM
Assuming myVidPlayer is the instance name of your FLVPlayback component, try the following:


myVidPlayer._uiMgr._controlsEnabled = false;


You dont get any granular control, but all controls are disabled except, notably, the seekbar (I'm still looking for a way to disable it).

Hope this works for you..

Josh
http://josh.coady.us

mappenzellar
12-12-2006, 02:04 PM
did you ever get this to work? I am having the same problem!

mrand01
12-12-2006, 02:06 PM
no idea how this got bumped up...I don't remember if I fixed it or not lol, and have no idea where to check

sleekdigital
12-12-2006, 05:40 PM
The actual path to the controls in the FLV playback component looks like this...

player.skin_mc.layout_mc

inside layout_mc you have the individual controls such as playpause_mc and volumeBar_mc