Reputation: 23634
What is the difference between a UIComponent and a Sprite in Flex.
Upvotes: 2
Views: 1941
Reputation: 7283
UIComponent is a base class for all other visal components in Flex and it is a part of Flex framework. (Package mx.core)
Sprite class is a basic display list building block and is part of Flash (Package flash.display)\
UIComponent is extends Sprite...
Check also:
UIComponent (check Inheritance UIComponent -> FLex Sprite -> Sprite -> ...)
HBox (you can see that this visual component has UIComponent as it's base class Inheritance Box -> Container -> UIComponent -> ...)
Upvotes: 3