1 Reply Latest reply on Aug 18, 2009 10:48 PM by raijv.ranjan

    error message

    rednotebook Level 1

      when I run this program I got the error message that packages can not be nested

       

      package{

        import flash.display.MovieClip;

      public class hiYou extends MovieClip{

      public function hiYou(){

      trace(''hi to you");

      }

      }

      }

        • 1. Re: error message
          raijv.ranjan Level 1

          Seem you new to AS3.0.


          So first, it property inspector window in class path write hiYou.(Ctrl+F3)

          Make another .as file with name of hiYou.as and save in same directory where .fla is.

          Write your code there in .as file.

          Publish for your desired trace output.


          Fine ????