Where did attachMovie go in AS3?
Once I started using attachMovie instead duplicateMovieClip my AS2 life became a lot easier.
What has the ActionScript 2.0 Migration to say about this subject:
| ActionScript 2.0 | ActionScript 3.0 | Comments |
| attachMovie() Method | Removed | In ActionScript 3.0, use addChild() to add child display objects. |
Removed… wtf? and you can read the documentation till you are old and gray, but you won’t find a answer there.
In AS2 I know 3 ways to attach a movie to the stage: