2 Replies Latest reply on May 22, 2007 5:52 AM by injpix

    Dynamically associate a movieclip with a class

    injpix Level 3
      To manually associate a movieclip with a class, you would have the Symbol’s Linkage set to the class. I could do this if there is no other option but it would be cumbersome to attach ( attachMovie() ) several empty movieclips to the stage since the instance will be dynamically built.

      There is an Object.registerClass() that seems to do the job, however I haven’t tested it yet. Perhaps this is the answer but I am hoping someone can tell me if there are any other options (perhaps OO) for doing this.