Skip to main content
viveklakhanpal
Participating Frequently
December 3, 2009
Question

Any documentation/document for TLF used in Gumbo/flex4.0?

  • December 3, 2009
  • 1 reply
  • 619 views

I have created a big part of my project using older TLF with Flex 3.4 the one containing 3 swc files for TLF(Text Layout framework). But few days back i decided that i should shift to Flex 4 as it's due anytime now. I am facing problem in porting my code to newer TLF as many changes have been incorporated into newer TLF. Just for example you don't have leftMargin anymore. In other case i was getting container height using following code "textFlow.flowComposer.getControllerAt(0).calculateHeight()". but i dont' see any calculateHeight method now the one nearest one i see fit in my requirement is textFlow.flowComposer.getControllerAt(0).container.height; Most of the changes i am doing are hit and trial i was just looking for some concrete document or any other comparison doc if any available that would have helped me in shifting my code to newer TLF.

Thanks,

Vivek.

This topic has been closed for replies.

1 reply

Adobe Employee
December 7, 2009

There have been many API changes since our original Labs release last year. I am sorry for the disruption, we hope that they lead to improvements over the long run. We do have release notes that document many of the changes. I would suggest looking at the check in comments in Subversion, as well as the releaseNotes.txt file.

In particular, leftMargin was changed to paragraphStartIndent, and calculateHeight() is now replaced with getContentBounds().

- robin