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:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
                     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;
                <!-- Place non-visual elements (e.g., services, value objects) here -->
                <mx:Canvas label="Tab1" width="300" height="400" show="canvas1_showHandler(event)"/>
                <mx:Canvas label="Tab2" width="300" height="400" show="canvas2_showHandler(event)"/>


      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?