*Hi*,
The below code is use ful for full screen :)

<?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>



On 8 February 2011 10:37, Arulmurugan <[email protected]> wrote:

> Hi,
>
> Need help on air.
>
> 1. Want to show the air app in two states one full screen [ maximium ] full
> window.
>
> 2. other fits to the bottom with height 300px and width full screen[
> minimize view] Say it should be like the air snackr rss feed example docked
> on the bottom of the screen.
>
> Could anybody help pls.
>
> --
> 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.
>



-- 
*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.

Reply via email to