Fixed - forgot the a param in the SWFObject code:
swfobject.embedSWF("YZLoader.swf", "flashcontent", "100%", "100%", "10.0.0" ,
false, flashvars, params );
Again - Thanks for taking the time to reply ...
Regards
Karim Beyrouti
On 23 Jun 2010, at 16:30, Karim Beyrouti wrote:
> also - just for a note - it works in the standalone player, not the browser...
>
> - k
>
>
> On 23 Jun 2010, at 16:18, Ángel Ambrosio Pazo wrote:
>
>> Your MenuEvent class extends from "Event" or from "MouseEvent"?
>>
>> Mix the two solutions: swfobject param in boolean type and your MenuEvent
>> class extending from MouseEvent.
>>
>> Ángel Ambrosio
>> Interactive Developer
>> [email protected]
>>
>>
>> 2010/6/23 Karim Beyrouti <[email protected]>
>>
>>> Cheers - however- it does not work....
>>>
>>> Example with Boolean instead of string in param:
>>>
>>> http://clients.kurst.co.uk/ycommaz/13
>>>
>>> - karim
>>>
>>>
>>> On 23 Jun 2010, at 15:32, Ángel Ambrosio Pazo wrote:
>>>
>>>> Set the fullScreen param in boolean not in string.
>>>>
>>>>> From your HTML code:
>>>>
>>>> var params = {};
>>>> params.wmode= "opaque",
>>>> params.menu = false;
>>>> params.allowScriptAccess = 'always';
>>>> params.allowFullScreen = true;
>>>> params.bgcolor = '#ffffff';
>>>>
>>>>
>>>> Ángel Ambrosio
>>>> Interactive Developer
>>>> [email protected]
>>>>
>>>>
>>>> 2010/6/23 Karim Beyrouti <[email protected]>
>>>>
>>>>> Kinda feel silly with this question, I can't get fullscreen mode to
>>> work:
>>>>>
>>>>> URL: http://clients.kurst.co.uk/ycommaz/12
>>>>>
>>>>> HTML contains - allowFullScreen:'true' -
>>>>>
>>>>> and the fullscreen code is:
>>>>>
>>>>> private function ToggleFullScreen(event : MenuEvent) : void {
>>>>>
>>>>> stage.fullScreenSourceRect = new Rectangle( 0 ,0 ,
>>>>> Capabilities.screenResolutionX , Capabilities.screenResolutionY);
>>>>>
>>>>> if (stage.displayState == StageDisplayState.NORMAL) {
>>>>>
>>>>> stage.displayState=StageDisplayState.FULL_SCREEN;
>>>>>
>>>>> } else { stage.displayState=StageDisplayState.NORMAL; }
>>>>>
>>>>> }
>>>>>
>>>>> Also using the latest version of swfobject... have been googling, and
>>>>> spending a fair bit of time for this one, but it's
>>>>> just not working for me.
>>>>>
>>>>> I get the following error:
>>>>>
>>>>> 'SecurityError: Error #2152: Full screen mode is not allowed.
>>>>> at flash.display::Stage/set_displayState()
>>>>> at flash.display::Stage/set displayState()
>>>>> at
>>>>>
>>> com.YcommaZ.navigation.main::Menu/ClickFullScreenButton()[/Users/karim/Documents/Work/Clients/YcommaZ/Site/src/com/YcommaZ/navigation/main/Menu.as:669]
>>>>>
>>>>> anyone has ideas for this one?
>>>>>
>>>>>
>>>>> Best
>>>>>
>>>>>
>>>>>
>>>>> Karim Beyrouti_______________________________________________
>>>>> Flashcoders mailing list
>>>>> [email protected]
>>>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>>>
>>>> _______________________________________________
>>>> Flashcoders mailing list
>>>> [email protected]
>>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>
>>>
>>> _______________________________________________
>>> Flashcoders mailing list
>>> [email protected]
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>
>> _______________________________________________
>> Flashcoders mailing list
>> [email protected]
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders