Abdul, We appreciate that you want to share this with members, you may want to post this in response to any question, but creating a new thread when no one has asked or started any discussion around the topic is not allowed in the group.
Such posts in future would not be allowed. Flex India Moderation Team On Tue, Feb 8, 2011 at 11:28 AM, Abdul <[email protected]> wrote: > <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. > -- 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.

