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: flashcoders-boun...@chattyfig.figleaf.com > [mailto:flashcoders-boun...@chattyfig.figleaf.com] 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 > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders