5 Replies Latest reply on Jul 5, 2011 5:16 AM by relaxatraja

    Custom Class Help(OOP) ?

    McbainGames11 Level 2

      Hey,

       


      well in my fla i have a movieclip exported with class name Star and in my Star.as file i have this code:

       

       

      package
      {
          public class Star
          {

       

              public function Star()
              {

       

                  this.visible = false;

       

              }

       

          }

       

      }

       

       

      i tried putting movieclip on and off stage but didnt work all i want to do is control my class Star in my fla.

       

      Im very new to OOP and trying to get the gist of how to control objects like the way you could by instances like i used to :/

       

       

       

      hope for an answer soon, Thanks.