Tag Archives: movieclip

Differences between Movie Clip, Sprite and Shape

AS3 introduced a number of new DisplayObject classes, including Sprite and Shape. Unlike MovieClip, they do not have timelines of their own. Shape is a more lightweight type of object that has limited support for interactivity, and cannot have children. … Continue reading

Posted in Flash | Tagged | Leave a comment

Useful MovieClip-child tricks in AS3

Some useful MovieClip / Display Object tricks in ActionScript 3: 1. Send to front / back To set an MC on top of everything else: setChildIndex(yourMC, numChildren-1); To put an MC below everything else: setChildIndex(yourMC, 0); http://developer.yahoo.com/flash/articles/display-list.html 2. Remove all … Continue reading

Posted in Flash | Tagged | Leave a comment