Hello All, I am trying to add my custom shape objects (which create several different shape types), to a different type of container, and I am having some difficulties.
>From my experience, you can directly add a Shape (flash.display.shape) as children to UIComponents, but you cannot add them to a Canvas Control. When I try to add a Shape to Canvas controls, Flex tries to cast the Object as a UIComponent. My question is, how can I convert my custom shape objects, so that they can be added to Canvas controls? Do I need to wrap my objects into a different type of component (UIComponent). The reason I like Shapes, is because they are so lightweight - but if there is a better way, I'd be very interested in hearing about it. Thank you in advance for all your help on this. Mike