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
5
votes
1 answer

Is there a way to make text characters flush to the top of their bounding box in HTML5?

Here is a Label element in HTML and the red dotted outline shows it's bounding box. Notice that the characters are not flush with the top edge of their bounding box: line-height:1.2; /* default */ Here is the JSFiddle showing the image above…
1.21 gigawatts
  • 16,517
  • 32
  • 123
  • 231
4
votes
2 answers

The TLF (Text Layout Framework) is deprecated, what to do now?

"The Text Layout Framework is deprecated and the functionality will be unavailable with Flash Professional CC. If a FLA file containing TLF Text, previously saved with an older version of Flash Professional, is opened with Flash Pro CC, then TLF is…
Armin
  • 78
  • 1
  • 10
3
votes
2 answers

How to define bullets in Flash TLFTextField?

I'm using Flash's TLFTextField in a flex project. We can add bullets in TLFTextField using HTMLText(li), but how can I add bullets to TLFTextField without using HTMLText? I can do bullets in Flash's classic TextField using the bullet property of…
Rasekaran
  • 334
  • 2
  • 12
3
votes
0 answers

How to export Textflow XML for Specific container control?

I'm implementing a TLF control which has multiple text box each linked to one another using same textflow instance for all the containers. I need to export the textflow xml for Container 2/1. There is a way in TLF to export the textflow XML like…
Gowtham S
  • 923
  • 14
  • 39
3
votes
3 answers

AS3 htmlText in TLFTextField with CSS and tag bugs

Firstly, I know as3 doesn't like css or html and that there's about a billion questions on this forum alone about it, but after searching and searching I can't seem to find anything like what I'm experiencing. Please forgive me if this is painfully…
Laurence Summers
  • 201
  • 1
  • 3
  • 14
2
votes
2 answers

How to pass mouse clicks through TLF text?

The .mouseEnabled doesn't work like it does on usual MovieClips. What's up?
nicks
  • 2,161
  • 8
  • 49
  • 101
2
votes
2 answers

Too much space at the top of image in TLF using Flex3

When insert an image into TLF in flex3, I found that image in TLF is displayed in a square area. so there is some space at the top of the image. See the attached image for this problem. How to remove this space? I try the following method, But…
zhongshu
  • 7,748
  • 8
  • 41
  • 54
2
votes
1 answer

How can I embed Traditional Chinese characters in an actionscript project?

I'm having some issue with embedding Traditional Chinese characters from the Arial Unicode MS font. I've used the character set described here (0x4E00 - 0x4FFF). I will need to display text using the TextLayoutFramework(TLF) and I've done a couple…
George Profenza
  • 50,687
  • 19
  • 144
  • 218
2
votes
2 answers

Dynamically flip wordwrap property on TLF text field

I am using Flash CS5 and ActionScript 3. I need to dynamically (in response to an event) flip the wordWrap property of a TLFTextField from true to false and vice versa. I had it working with the old TextField class, but I I can't get it to work with…
Amanda_A
  • 323
  • 1
  • 3
  • 10
2
votes
2 answers

How to set focus on TLFTextField

like the title said. How to set focus on TLFTextField on runtime? I already do some research and find a few question answered in SO like this How to set focus to a TLFTextfield object And on few forum, they said to use this code stage.focus =…
Tek Yin
  • 3,011
  • 3
  • 25
  • 42
2
votes
1 answer

TLF find element position

I got a issue with the TLF trying to find the position of an element (e.g. LinkElement), before it is added to the display list. I tried the following code: Create my textFlow: var textFlow:TextFlow =…
Guillaume
  • 59
  • 6
2
votes
1 answer

actionscript TLF get selected text

How do I capture a subtext of the text in a TLF Field with actionscript 3 and flash cs5? For example, I have got the offsets of the selected text using var zz:int = textpane.selectionBeginIndex; var zzz:int = textpane.selectionEndIndex; Where the…
user1522256
  • 141
  • 1
  • 5
2
votes
0 answers

SQLite Database and TLF Text in Flash CS5

I encountered the following problem when working with the built-in sqlite database and using TLF TextFields in Flash CS5 When I tried to use TLF TextFields alone, I don't face any probelem, but when I start using a database connectivity code, the…
Mofeed
  • 21
  • 2
1
vote
1 answer

TLFTextfield broken after upgrading from CS5 to CS5.5

For my project I am using the following: FlashDevelop 3.3.4 RTM Flash Pro CS 5 (libraries only, no code) Some time ago we started using TLFTextfields. One of the things I had to do was include the tlfruntime.swc file from the Adobe Flash CS 5…
1
vote
2 answers

how do you check if two textflow objects are equal

Is there an easy way to compare two TextFlow objects with each other? I have two text flow objects that are created with TextConverter.importToFlow() and want to check if they are equal or not. Only way I found so far is to use…
Sang Park
  • 382
  • 2
  • 17
1
2 3 4 5 6 7 8