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:
“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.”