Hi Alex! Thanks for the reply! Hmmm...I guess that's the only way to do it, huh? Any other suggestion?
Again thank you! Handi --- In flexcoders@yahoogroups.com, Alex Harui <aharui@...> wrote: > > UIComponents must be parented by other UIComponents. > > Now there is a call that sets a virtual parent that you might be able to use > to jump over all of the TLF parents to rewire the container into the Flex > DOM. We use it in MX containers for scrolling since we put a non-UIComponent > between the container and its children so we can clip it. No guarantees that > will work though. > > > On 11/29/12 6:05 PM, "handitan" <handi.tan@...> wrote: > > > > > > > Hi all, > > I am in the process of trying to customize TLF to be able to read my custom > html tag that will be able to render Flex container. > > I am using TLF code that's related to InlineGraphicElement as my reference > for this customization. > I think I got into a good point where the Flex container is added but the > style doesn't get rendered (blue border and red background). > > I don't know why that is but my best guess is the validation doesn't get > called since TLF is not based on Flex. > To verify this I tried another experiment by creating a subclass of > RectangularBorder where the updateDisplayList overridden with code that has > drawRect,and bla bla. > > I found out that updateDisplayList never gets called at all. > Here's the framework that I am using: > - Flex 3.6 > - TLF 3.0 > > Could anyone please point me into the right direction on how to solve this > issue? > > Thank you, > > Handi > > > > > > > -- > Alex Harui > Flex SDK Team > Adobe Systems, Inc. > http://blogs.adobe.com/aharui >