Re: [Flashcoders] FullScreen - not working
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
>>
>>> 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 = '#ff';
Ángel Ambrosio
Interactive Developer
[email protected]
2010/6/23 Karim Beyrouti
> 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
Re: [Flashcoders] FullScreen - not working
Hey try changing your html allowFullScreen to allowfullscreen all lower case might fix it? or try using this generator for the correct html. chose dynamic publishing http://www.bobbyvandersluis.com/swfobject/generator/index.html Andrew Kenward 07590 609 554 www.milkybrain.co.uk On 23 Jun 2010, at 16:31, [email protected] wrote: > Re: [Flashcoders] FullScreen - not working ___ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] FullScreen - not working
Done - but still no joy... starting to feel like ..errr... like chucking my
laptop out of the window
private function ClickFullScreenButton(event : MouseEvent) : void {
if (stage.displayState == StageDisplayState.NORMAL) {
stage.displayState=StageDisplayState.FULL_SCREEN;
} else { stage.displayState=StageDisplayState.NORMAL; }
}
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
>
>> 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 = '#ff';
>>>
>>>
>>> Ángel Ambrosio
>>> Interactive Developer
>>> [email protected]
>>>
>>>
>>> 2010/6/23 Karim Beyrouti
>>>
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
Re: [Flashcoders] FullScreen - not working
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 > >> 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 = '#ff'; >>> >>> >>> Ángel Ambrosio >>> Interactive Developer >>> [email protected] >>> >>> >>> 2010/6/23 Karim Beyrouti >>> 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
Re: [Flashcoders] FullScreen - not working
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 > 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 = '#ff'; > > > > > > Ángel Ambrosio > > Interactive Developer > > [email protected] > > > > > > 2010/6/23 Karim Beyrouti > > > >> 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
Re: [Flashcoders] FullScreen - not working
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 = '#ff';
>
>
> Ángel Ambrosio
> Interactive Developer
> [email protected]
>
>
> 2010/6/23 Karim Beyrouti
>
>> 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
RE: [Flashcoders] FullScreen - not working
Launching full-screen has to be user-initiated - meaning a user event like a MouseEvent.CLICK on a button has to initiate the full-screen launch. Are you doing this? Not sure if that is the issue here, but worth looking into. Jason Merrill Instructional Technology Architect Bank of America Global Learning Join the Bank of America Flash Platform Community and visit our Instructional Technology Design Blog (Note: these resources are only available for Bank of America associates) -Original Message- From: [email protected] [mailto:[email protected]] On Behalf Of Karim Beyrouti Sent: Wednesday, June 23, 2010 10:22 AM To: Flashcoders List Subject: [Flashcoders] FullScreen - not working 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/D ocuments/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
Re: [Flashcoders] FullScreen - not working
Thanks for reply - already did this one
fullscreen function was moved to a MouseEvent - Click handler:
private function ClickFullScreenButton(event : MouseEvent) : void {
//dispatchEvent( new MenuEvent( MenuEvent.FULL_SCREEN , false )
)
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; }
}
Pasted the wrong function before ( had just moved it )... still scratching my
head on this one...
also ( another oddity ) - Chrome for OsX does not seem to change the mouse when
hovering over a button - but well - i can live with
that - if i get Fullscreen working...
Thanks again...
On 23 Jun 2010, at 15:27, Merrill, Jason wrote:
> Launching full-screen has to be user-initiated - meaning a user event
> like a MouseEvent.CLICK on a button has to initiate the full-screen
> launch. Are you doing this? Not sure if that is the issue here, but
> worth looking into.
>
>
> Jason Merrill
>
> Instructional Technology Architect
> Bank of America Global Learning
>
> Join the Bank of America Flash Platform Community and visit our
> Instructional Technology Design Blog
> (Note: these resources are only available for Bank of America
> associates)
>
>
>
>
>
> -Original Message-
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Karim
> Beyrouti
> Sent: Wednesday, June 23, 2010 10:22 AM
> To: Flashcoders List
> Subject: [Flashcoders] FullScreen - not working
>
> 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/D
> ocuments/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
Re: [Flashcoders] FullScreen - not working
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 = '#ff';
Ángel Ambrosio
Interactive Developer
[email protected]
2010/6/23 Karim Beyrouti
> 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

