<http://abdulcode.wordpress.com/author/abduljas/> Flex: FullScreen<http://abdulcode.wordpress.com/2011/02/08/flex-fullscreen/> *Abdul <http://abdulcode.wordpress.com/author/abduljas/>* | February 8, 2011 at 11:17 am | Categories: AS3<http://abdulcode.wordpress.com/?category_name=as3>, Flex <http://abdulcode.wordpress.com/?category_name=flex> | URL: http://wp.me/p1fUGK-1u
This is used to toggle the screen display. <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" applicationComplete="toggle()"> <mx:Script> <![CDATA[ import flash.display.StageDisplayState; private function toggle():void{ if(fs.selected == true){ this.goFullScreen(); } else { this.exitFullScreen(); } } private function goFullScreen():void { stage.displayState = StageDisplayState.FULL_SCREEN; } private function exitFullScreen():void { stage.displayState = StageDisplayState.NORMAL; } ]]> </mx:Script> <mx:CheckBox label="Full Screen" id="fs" click="this.toggle()" selected="true" horizontalCenter="0" verticalCenter="0"/> </mx:Application> Add a comment to this post<http://abdulcode.wordpress.com/2011/02/08/flex-fullscreen/#respond> this code may help for full screen mode. -- *With Regards, Abdul <https://abdulthink.wordpress.com/>** * -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

