Shape, Sprite, MovieClip and other display objects: when to use?
问题 there's a large ammount of display objects in flash.display package. It's not clear for me in what situation I should use Shape , Sprite or MovieClip . What is the pro and contras in using each of them? Thank you in advance!! 回答1: Shape is the simplest display object you can add on stage. It is the most limited one: you can't add childen to it (does not extend DisplayObjectContainer), does not have interactivity (does not extend InteractiveObject), does not have a timeline Sprite extends