1 Reply Latest reply on Dec 17, 2009 11:13 AM by Flex harUI

    Flex UICompent as children of flash.display.Sprite parents?

    holoscenes

      I'd like to use a library that was written to the flash API, in which all display elements extend flash.display.Sprite.  I would like to be able to add Flex UIComponent objects (for example a Button or Label) as children of some of the library's display objects.  If I do that, the Flex objects never display.

       

      I'm guessing that some portion of the rendering and layout processing is disrupted if the chain of parents are not all UIComponents and containers?

       

      Specifically, the library is the Prefuse Flare visualization library, and I would like to render nodes, edges, labels as Flex objects so that I can embed some of the Flex controls, and components can be skinned and decorated.