2 Replies Latest reply on Feb 4, 2011 8:07 AM by flex2008

    Fullscreen issue with flash player 10.1?

    flex2008 Level 3

      This is the code I am using

       

      <?xml version="1.0" encoding="utf-8"?>
      <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
                        xmlns:s="library://ns.adobe.com/flex/spark" 
                        xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
           <fx:Script>
                <![CDATA[
                     import mx.events.FlexEvent;
      
                     protected function canvas1_showHandler(event:FlexEvent):void
                     {
                          stage.displayState = StageDisplayState.NORMAL;
                     }
      
      
                     protected function canvas2_showHandler(event:FlexEvent):void
                     {
                          stage.displayState = StageDisplayState.FULL_SCREEN;
                     }
      
                ]]>
           </fx:Script>
           <fx:Declarations>
                <!-- Place non-visual elements (e.g., services, value objects) here -->
           </fx:Declarations>
           <mx:TabNavigator>
                <mx:Canvas label="Tab1" width="300" height="400" show="canvas1_showHandler(event)"/>
                <mx:Canvas label="Tab2" width="300" height="400" show="canvas2_showHandler(event)"/>
           </mx:TabNavigator>
      </s:Application>
      
      

       


      When I run this code in Firefox with flash player 10,it is working as expected(When I go to tab2,application goes to fullscreen.When tab1,normal state).But in flash player 10.1,I can go to tab2.But cannot select tab1 again.It stays as fullscreen with tab2 selected.

       

      Any idea why this is so?