hi folks

i'm having a really wierd error when i hit the fullscreen button for my
flvplayback implementation

TypeError: Error #1009: Cannot access a property or method of a null object
reference.
at fl.video::UIManager/
http://www.adobe.com/2007/flash/flvplayback/internal::enterFullScreenTakeOver()
at fl.video::UIManager/
http://www.adobe.com/2007/flash/flvplayback/internal::handleFullScreenEvent()
at flash.display::Stage/set displayState()
at fl.video::UIManager/enterFullScreenDisplayState()
at fl.video::UIManager/
http://www.adobe.com/2007/flash/flvplayback/internal::dispatchMessage()
at fl.video::UIManager/
http://www.adobe.com/2007/flash/flvplayback/internal::handleMouseUp()

has anyone seen anything like this before? i've tried recreating the
conditions that created this error (i have an older version of the
application running the fullscreen button just fine - this was before i had
added a caption button and reskinned the fullscreen button). I've tried
removing the captioning button and reverting to a stock fullscreen button
with no success.

i add the fullscreen button by waiting for a frame so all of the assets can
initialise themselves and then using the following line:

_video.fullScreenButton = _mcControls.getChildByName("fullscreenBtn") as
MovieClip;

i have several other flvplayback objects in the application and if i remove
them, the fullscreen button works properly again (although the other
instances of flvplayback don't implement any controls of any sort, including
a fullscreen button)

thanks in advance for your help

best
a
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to