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

