I’m building a video player that uses the hard-coded, non-9-slice-scaled FLVPlayback UI components. I tried customizing a skin with 9-slice scaling and had issues with the assets when I disabled certain controls. Plus, I needed more control over the layout than expected.
I’ve properly attached the individually skinned FLVPlayback components to the FLVPlayback instance, as follows:
var mpVideo:FLVPlayback; // on stage
mpVideo.bufferTime = 3;
mpVideo.playPauseButton = mpPlayPause;
mpVideo.seekBar = mpSeekBar;
mpVideo.bufferingBar = mpBufferingBar;
mpVideo.volumeBar = mpVolume;
mpVideo.muteButton = mpMute;
mpVideo.contentPath = "http://http://someserver.com/somevideo.flv";
Problem is, I can’t make mpSeekBar not visible and not enabled. Neither of these work:
mpSeekBar._visible = false;
mpSeekBar.enabled = false;
Any way around this when NOT using FLVPlayback skin SWFs?
Thanks,
IronChefMorimoto