This content has been marked as final. Show 7 replies
in AS2, it was attachMovie(), in AS3 it is addChild()
"dzedward" <email@example.com> wrote in message
> in AS2, it was attachMovie(), in AS3 it is addChild()
that's not correct.
in as3, to add a movieclip from the library, you must assign it a class and use the "new" keyword in a constructor to create an instance of your library movieclip. if you want to add the new movieclip instance to the display list, use addChild().
yes, but when you set to export, doesn't it create a class file with the name of your clip.. lets say you create a movie clip symbol named, Test. set it to export, then use
new Test() creates the instance. addChild() adds the object to the display list which you may or may not want and which may or may not be appropriate: not all class objects are display objects.
"not all class objects are display objects."
Valid point, thanks for clarification.
well, now that we settled that, rm is has lost control of his thread.