0 Replies Latest reply on Sep 12, 2007 3:06 PM by Domnic_Savio

    Seperating Actionscript and MXML

    Domnic_Savio
      I have a MXML file called PopUp.mxml which contains tabs. I need to pop this up after a menu is being pressed. I try to keep my as3 separate from MXML code..and I tried this.

      var popUp = new PopUp(); // the object of an MXML file

      var settingsWindow:TitleWindow =
      TitleWindow(PopUpManager.createPopUp(this, popTab, flase));

      I get the error.. 1034 when the settingsWindow is created..

      can someone help me in this. or can someone tell me how to create a pop up tabnavigator ?. I want the tabnavigator in a seperate MXML and the pop up action in a AS3..

      thanks in advance
      domnic