Follow AdobeTLF on Twitter

The Text Layout Framework Team is now on Twitter! You can follow us at: AdobeTLF.

Our twitter page:

Example: Adding a scrollbar in Flex

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.

IFormatResolver And Using CSS With TLF

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).

Continue reading…

Introduction to TLF in Flex from the Adobe Developer Connection

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

“The goal of this article is to introduce you to the Text Layout Framework library for Adobe Flash Player 10 and Adobe AIR 1.5 and to demonstrate how you can use it to display rich text inside of the Flash Player 10 and Adobe AIR 1.5 runtimes. I will not cover all the possibilities of this framework, but I will give you enough of a push to help”

TLF API Changes in Build 370

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:

  • Merging of Format Classes
  • Changes to Styling
  • Class FlowElement’s TExtLayoutFormat APIs
  • User Styles
  • Non-Inhering Styles
  • FlowElement id and styleName properties
  • API Changes

Continue reading…

ActionScript Pagination Example

NOTE: Updated to TLF Build 460.

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 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.

Video for MAX 2008 TLF session available

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:

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.

Text Layout Markup in Flash CS4

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.

Continue reading…

World Class Text Tour Source Code

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!

Continue reading…

TLF Review on Publicious

Mike Rankin wrote a fantastic review of TLF over on the Publicious blog. Check it out here.

A peek into the post:

“if you are the least bit interested seeing what will drive publishing workflows in the very near future, run, don’t walk your mouse over to the Adobe Labs and check out everything you can on Text Layout Framework. Such a dull-sounding name for such a mind-blowing technology. They should have called it the Textinator, or Fontapocalypse, or something. It’s going to be large.”