tags:

views:

137

answers:

1

What is the difference between a UIComponent and a Sprite in Flex.

+2  A: 

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 -> ...)

Sprite

HBox (you can see that this visual component has UIComponent as it's base class Inheritance Box -> Container -> UIComponent -> ...)

Ladislav