Hello,

I have been experimenting with Flex2 custom component development. I understand that the documentation on the alogortithms is not ready yet but, would anyone want to enlighten me abit on the procedure for say creating a custom component for the HBox and giving it a background(border).

(I don't mean how to create a component. How do I create a mc/progmatic skin border IN my custom component using Flex2)

 I have tried so many differnt ways, subclassing SkinSprite, ProgmaticSkin, RectBorder, HaloRectBorder and others ;-).

Basically I understand the interface I need to implement, IUIComponent BUT, I don't want to actually add the border as a "child" of the HBox layout, just as a component asset...  So when say using addChild() I get the nice, can't coeirce border to IUIComponent.

Please, no idiot here just really want to get this one thing. I have experimented with as3 and graphics object ect. I am just wondering about the "correct way" if I am subclassing a component in the flex framework.

Peace, Mike


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to