Questions tagged [tlf]

Adobe's open source Text Layout Framework. It supports rich text, many writing modes (both vertical and horizontal!), multi-column layouts, text editing, and typographic niceties such as kerning, ligatures, and so on.

For more details, see the Text Layout Framework FAQ.

117 questions
0
votes
1 answer

Modify TLF Text Field properties that is on stage

I have a TLF Text field on the stage. I am trying to test this out in simple flash document. My code takes in some xml that I parse. The xml will vary and will not always change all the properties of the text field. For instance in one case I only…
stw7651
  • 37
  • 5
0
votes
1 answer

Flex: RichTextEditor adds extra line before and after my text

I am using the RichTextEditor and couldn't find a way to resolve the below issue: I am getting an extra blank line above and below my text as in the image below: This is what I get using RichTextEditor: This is what I want using…
M.D.
  • 1,886
  • 1
  • 13
  • 14
0
votes
0 answers

How does Text layout framework (TLF) insert breakElement?

I am using TLF 3.0 with Flex 3.6 SDK. As you all know that every time a user hits 'Enter', it creates a new paragraph. I read that TLF supports breakElement but I don't know how it's being inserted through the keyboard interaction. Any ideas? Thank…
handitan
  • 85
  • 1
  • 12
0
votes
1 answer

Adobe TLF with Flex/AS3: how to programmatically change \n in text string into paragraph tags and insert into TextFlow?

My Flex/AS3 web application accesses a database and retrieves text containing \n for newline character. Otherwise the text looks like normal text. Is there a way to convert the \n into paragraph tags that I can insert into an spark TextFlow? For…
ggkmath
  • 4,188
  • 23
  • 72
  • 129
0
votes
1 answer

Flash/Flex/HTML: if I store Adobe's TLF text format in database, will it be difficult to change later when porting app to HTML?

I have a Flex-based web application that must accept rich text input from the user. Adobe's TLF format would work here. But since the application will eventually port to HTML, what options are there to replace the TLF formatted text stored in my…
ggkmath
  • 4,188
  • 23
  • 72
  • 129
0
votes
2 answers

Flash CS5 AS3 - runtime error with text box

I get the following runtime error due to my text box: Error: SymbolClassLoader can't find Resource with id = 2, name = 'Cube_Inventory_HUD__LoadingAnimation__' Error: SymbolClassLoader can't find Resource with id = 3, name =…
0
votes
1 answer

TLFTextField text property not accessible in constructor

I've placed TLFTextField in a MovieClip with some default text, MovieClip is assigned a class, In the constructor, trace(first_name, first_name.text); //textField is available but not the default text however default text is available inside…
user689751
0
votes
1 answer

Represent text in Flash Player true to InDesigns representation of text

I would like to display an editable text field in Flash, with the same text format, columns, padding and letter-spacing, as it would have been defined in an InDesign document. Is this possible at all? - can the newer Text Layout Format be used to…
0
votes
1 answer

TextLayout framework prevent unselect when pressing menu button

For example we create a TextFlow element with some text in it. We make it editable. How can I prevent the text from deselecting when pressing the bold button. var text:String = "hallo
  1. 1
  2. 2
"; var textFlow:TextFlow; …
automaticoo
  • 868
  • 7
  • 24
0
votes
1 answer

Flash CS5 font is largest part of the SWF

I'm transferring a project from CS4 to CS5 and (without any changes) my SWF file gets to be 10 times bigger. It was 7kb and now it's 77kb. I generated a size report and it looks like the font is taking up most of the space. I haven't changed…
dev.e.loper
  • 35,446
  • 76
  • 161
  • 247
-1
votes
1 answer

can we add UI component in TLF

We are facing some problem with new TLF framework. We need to add component(any UI component) in selected textflow. But we cant do that. We need any UI element (just like inlinegraphicElement for images) for UI components. Please reply ASAP.
-2
votes
3 answers

what's the difference between classic text and TLF text

what's the difference between classic text and TLF text
john
  • 434
  • 1
  • 9
  • 24
1 2 3 4 5 6 7
8