08/21/2008 01:25:09 PM
Reply | Quote | Top | Bottom
I have run into a seek bar handle issue with my player and I’m not sure if anyone could offer some advice.
In my first player in I loaded a custom skin that included all the controls. That all worked perfectly.
But now I am developing a much more elaborate player that requires assigning each of the controls individually like
video_player.playPauseButton = play_pause_btn; and so on. Each component is compiled as a swc and imported into Flex. This works perfectly for all the buttons. They all function perfectly in all states.
The issue is with the seek bar handle. It disappears when going fullscreen and never returns even after returning to normal screen.
Im not sure what this is a symptom of but I know it is a problem for other developers who have posted on various forums.
http://www.ultrashock.com/forums/actionscript/q-as3-flvplayback-and-caption-woes-107233.html
It does not seem to be a Flex issue because the posts appear to be Flash developers. It is even at the bottom of the Adobe livedocs here.
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000580.html
I could go back to using a single skin for all the controls but that wont allow me to extend the functionality.
I can get it to stay visible by commenting out
ctrlData.disabled_mc = setupButtonSkinState(ctrl, ctrl, “disabledLinkageID”, ctrlData.state_mc[NORMAL_STATE]);
approximately line 2050 in UIManager.as
Even though it fixes the disappearing handle it throws cannot access property or method of a null object reference error.
This leads me to believe it is a bug in UIManager.as
Any advice would be much appreciated.
I am also open to advice on placing an elapsed time textfield inside a skin if someone can tell me how to access it once it’s loaded
Thank you
Greg