i've just found out what the problem was

i've reverted to my previous version of the cut down players (that use the
flvplayback component) and set fullscreentakeover to false (as it is in the
main player) and it fixed the problem - apparently when the fullscreen state
is called, all of the flvplayback instances will try to react to it in their
own way and if they are set to take over the screen, they will fight the
player we actually want to use if it doesn't.

ouch - 2 hours i'll never get back

a

On 4 August 2010 10:48, allandt bik-elliott (thefieldcomic.com) <
alla...@gmail.com> wrote:

> hi
>
> i've replaced the other instances of the flvplayback (that don't require
> controls) with standard netstream / netconnection / video players and it
> solved the problem. Not really sure what was happening but i suppose that
> all of the flvplayback instances were trying to go fullscreen
>
>
> On 3 August 2010 19:14, allandt bik-elliott (thefieldcomic.com) <
> alla...@gmail.com> wrote:
>
>> 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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to