The Text Layout Framework Team is now on Twitter! You can follow us at: AdobeTLF.
Our twitter page: http://twitter.com/AdobeTLF
The Text Layout Framework Team is now on Twitter! You can follow us at: AdobeTLF.
Our twitter page: http://twitter.com/AdobeTLF
Mihai Corlan posted a useful example on his blog on how to add a scrollbar for a TextFlow.
See it here: How to add a scrollbar to Text Layout Framework.
TLF supports a new property on TextFlow called formatResolver of type IFormatResolver. Clients can supply an implementation that can be used to do CSS or “based-on” styling (ala traditional word processors).
Mihai Corlan has posted an introduction to using TLF in Flex over on the Adobe Developer Connection.
Check it out here:
Using the Text Layout Framework in Flex 3.2 and AIR 1.5
Flex Gumbo beginning with revision 4946 now contains TLF Build 370. This build contains many API changes and enhancements. This blog entry is the first of several detailing the changes.
Note that all these changes are tentative pending further review.
The changes described in this entry are:
NOTE: Updated to TLF Build 460. http://blogs.adobe.com/tlf/Pagination460.zip
The Pagination example in the TextLayoutFramework is posted to build with Adobe Flash CS4 Professional and the TextLayout plugin. Its also possible to build this example with Flex as an ActionScript only project. It does require the Flex 3.2 or Flex gumbo SDK.
I’ve posted the actionscript version that builds with Flexbuilder here: Download file
This version doesn’t have the buttons the Flash Pro version has. Use page up/page down to switch between chapters and the arrow keys to move between pages.
Both the ActionScript version and the Flash Pro version use PaginationWidget.as to manage the paginated view. This is example code that you can use to build your own paginated view. The pagination widget adds new containers until all the text is in a container and then displays some number of containers emulating columns. It supports resizing the visible area. One of the goals was to avoid recomposing every time the visible area changed by a small amount. Hence the decision to relayout during resize has some heuristics.
Note that the labs release has bugs (since fixed) in displaying selections when some of the containers are not visible. This example doesn’t make use of an interactionManager due to those bugs.
Robin Briggs’s presentation on the Text Layout Framework from MAX 2008 North America is now available on Adobe TV. You can see it on the MAX blog here
Also see a higher resolution version on Adobe TV at: http://tv.adobe.com/#vi+f15383v1000
The first part of the presentation is an introduction to the framework and some demos. Breaking down how the new text technologies in Flash relate to each other starts around the 25 minute mark, with more technical information about TLF starting at the 30 minute mark.
One of the powerful features of TLF is that anything you create can be imported/exported in XML. In this post I’m going to explain the tools we provided for working with Text Layout Markup in the Flash CS4 Component.
You’ve probably noticed that the front page of our Adobe Labs release contains an excellent set of demos called the ‘World Class Text Tour’. What you may not have realized is that we have provided the Flash CS4 source for all of these demos!
Mike Rankin wrote a fantastic review of TLF over on the Publicious blog. Check it out here.
A peek into the post: