To add a new movie clip to a Flash sprite using ActionScript 2 I do something like this
new_clip = flash_sprite.createEmptyMovieClip( "my clip", flash_sprite.getNextHighestDepth() )
Can someone tell the the ActionScript 3 equivalent? I tried this
new_clip = flash_sprite.newObject( "flash.display.MovieClip" )
flash_sprite.addChild( new_clip )
but I get an error saying #addChild handler not found in object.
North America
Europe, Middle East and Africa
Asia Pacific