[flexcoders] Re: Inserting Flex Container to TLF?

2012-12-04 Thread handitan
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





Re: [flexcoders] Re: Inserting Flex Container to TLF?

2012-12-04 Thread Alex Harui
What is the content of this container?  If it is non-interactive, take a bitmap 
of it and insert that instead.

If you are trying to get text to flow around it, Flex text widgets do not 
support that ,but TLF supposedly does.by setting up a set of TLF containers for 
the ContainerController to work with.

Also, you can insert a dummy bitmap in the TextFlow and float a Flex container 
over that area.


On 12/4/12 9:10 AM, handitan handi@gmail.com wrote:






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 mailto:flexcoders%40yahoogroups.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







--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


[flexcoders] Re: Inserting Flex Container to TLF?

2012-12-04 Thread handitan
Hi Alex,

The content is a math formula where user could do CRUD operation.
Dummy bitmap approach does sound interesting...I believe that's basically the 
state where I am right now with my changes.

Really appreciate it, Alex!
Hope Adobe treats you well!

Handi

--- In flexcoders@yahoogroups.com, Alex Harui aharui@... wrote:

 What is the content of this container?  If it is non-interactive, take a 
 bitmap of it and insert that instead.
 
 If you are trying to get text to flow around it, Flex text widgets do not 
 support that ,but TLF supposedly does.by setting up a set of TLF containers 
 for the ContainerController to work with.
 
 Also, you can insert a dummy bitmap in the TextFlow and float a Flex 
 container over that area.
 
 
 On 12/4/12 9:10 AM, handitan handi.tan@... wrote:
 
 
 
 
 
 
 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 mailto:flexcoders%40yahoogroups.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
 
 
 
 
 
 
 
 --
 Alex Harui
 Flex SDK Team
 Adobe Systems, Inc.
 http://blogs.adobe.com/aharui