Difference between Flexsprite and Sprite
Posted by easow83 on March 12, 2008
The Sprite class is a basic display list building block: a display list node that can display graphics and can also contain children.
A Sprite object is similar to a movie clip, but does not have a timeline. Sprite is an appropriate base class for objects that do not require timelines. For example, Sprite would be a logical base class for user interface (UI) components that typically do not use the timeline.
The Sprite class is new in ActionScript 3.0. It provides an alternative to the functionality of the MovieClip class, which retains all the functionality of previous ActionScript releases to provide backward compatibility.
Inheritance: Sprite -> DisplayObjectContainer ->InteractiveObject-> DisplayObject-> EventDispatcher-> Object
FlexSprite is a subclass of the Player’s Sprite class and the superclass of UIComponent. It overrides the toString() method to return a string indicating the location of the object within the hierarchy of DisplayObjects in the application. This string, such as “MyApp0.HBox5.Button17″, is built by the displayObjectToString() method of the mx.utils.NameUtils class from the name property of the object and its ancestors.
Inheritance :FlexSprite -> Sprite -> DisplayObjectContainer -> InteractiveObject -> DisplayObject -> EventDispatcher -> Object
