1 Reply Latest reply on Aug 16, 2010 12:11 PM by Flex harUI

    mx:TitleWindow Full Screen

    djh88ukwb Level 1

      Hello all.

       

      I am creating a TitleWindow as a pop up from a main application using the following code

       

                  private function laucnhFullScreen():void {
                      var win:fullScreen = PopUpManager.createPopUp(this, fullScreen, true) as fullScreen;
                      PopUpManager.centerPopUp(win);
                  }

       

      Then this is my fullScreen.mxml file

       

      <?xml version="1.0" encoding="utf-8"?>
      <mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml"
                      layout="vertical"
                      title="Tazio AudioCast"
                      showCloseButton="true"
                      width="100%"
                      height="100%"
                      close="titleWindow_close(event);">
         
          <mx:Script>
              <![CDATA[
                  import mx.events.CloseEvent;
                  import mx.managers.PopUpManager;

                  private function titleWindow_close(evt:CloseEvent):void
                  {
                      PopUpManager.removePopUp(this);
                  }
              ]]>
          </mx:Script>
         
         
          <mx:SWFLoader source="SWF/slide11.swf" horizontalCenter="0" verticalCenter="0"/>
      </mx:TitleWindow>

       

      Is there an easy way to get this titlewindow to loadinto Full Screen mode?  I want this titlewindow to display an image, in fullscreen.  At the moment because my main app is 1024 by 600, its limiting whats being seen to this.

       

      Surely there must be a way to go full screen.

       

      Thanks