3 Replies Latest reply on Aug 11, 2007 8:40 AM by ntsiii

    Package cannot be nested - Why this error is coming

    Ashish Mishra
      I have created an ActionScript File. in the userinterfaces/scripts folder and given it name as userfunctions.as.

      But it is giving following error:

      Packages cannot be nested.

      1: // ActionScript file
      2: package userinterfaces.scripts{

      the userinterfaces.as file is

      // ActionScript file
      package userinterfaces.scripts{

      public var uname:String = null;
      public var password:String = null;

      public function logout():void{