1 Reply Latest reply on Aug 12, 2010 11:27 AM by JohanVelthuis

    MXMLC Multiple Files




      I have two mxml files Main.mxml and RuleMaintenance.mxml in the same directory. I have the following script in Main.mxml,


              import RuleMaintenance;
              protected function showPanel(event:MouseEvent):void {
                  var panel:RuleMaintenance;


      I compile Main.mxml using the command mxmlc Main.mxml. However, it gives me an error,


      Error: Type was not found or was not a compile-time constant: RuleMaintenance.


      However, if I comment the declaration it is able to resolve the import.