Saturday, May 2, 2009

Extend UIComponent

Will give a brief about how to create a custom component extending UIComponent..

UIComponent
1)base class for all components in Flex
2)Can wrap Sprite and Movieclip
3) When extending a UIComponent ensure to override updateDisplayList() and set the width and
height of each component, else nothing is displayed on stage.

In my next post, will give a detailed example about creating a UIComponent.

No comments: