4 Replies Latest reply on Jul 1, 2006 7:56 AM by Peter Lorent

    AS3 and Flash 9 alpha: how to access non-dynamic children of a MovieClip?

      hello list,

      I am trying to upgrade this drawing app to ActionScript 3:

      I wouldn't like to create all the interface through code, so I created a MovieClip with all the buttons inside, and associated a class with this MovieClip.

      But I cann't access the buttons (that are inside the movieclip) in the methods of this class. Something like that:

      function initialize()

      doesn't work. And this doesn't work too:

      function initialize()
      var oMyButton = this.getChildByName("my_buttom");

      How can I acess a button that was created in the Flash App, not dynamically?