3 Replies Latest reply on Oct 14, 2007 11:25 AM by kglad

    Noobie question: How do I add something to the display list from a non-main class?

    lumpthing
      I know how to use addChild() within the main class to add something to the stage display list and have it appear on the screen, but how do I add something to the stage display list from code within another class?

      So for example say I want to add some text (myTextField) to the stage's display list from within NotTheMainClass' code, could you give an example of the necessary code?