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

How to convert string with TLF format into TextFlow in Flex

I used TextConverter to convert a TextFlow in Flex to String to store it in my Database. How to convert that string back to TextFlow in order to display in Rich Text format
Tam
  • 11,872
  • 19
  • 69
  • 119
0
votes
1 answer

Is there a workaround for this: Flash CS6 + IOS + TLF + Air 16?

Knowing that: Starting February 1, 2015, new iOS apps uploaded to the App Store must include 64-bit support, so AIR 4 will be useless Flash CC does not support TLF, we are using Flash CS6 Yes, we have to use TLF for right to left languages (Other…
Armin
  • 78
  • 1
  • 10
0
votes
0 answers

SoftKeyboard not appearing in IOS for TLF Text Fields

I am using Air 14.0.In Flash Professional CS6.I checked this on iPad.My app contains Login page for that i used TLF text fields to username and password fields for some reasons but soft keyboard not appearing.
Usha Kommuri
  • 71
  • 1
  • 11
0
votes
1 answer

Dynamic font embedding and formatting textflow with them

I am loading multiple swf files containing the different fonts at run-time. I am having problem when I am applying it to textflow in Rich Editable Text. Any Idea how to apply those custom fonts to the textflow ? Here is the part of my code. For…
0
votes
1 answer

How to get the specific FlowElement under the cursor or selection

I have a TextFlow that has an SelectionManager attached. I'd like to get the FlowElement that the cursor is inside of or if multiple lines are selected that the selection is inside of.…
1.21 gigawatts
  • 16,517
  • 32
  • 123
  • 231
0
votes
1 answer

Call to a possibly undefined method setSelection through a reference with static type SelectionManager

I'm working with an TLF example (older version) and I'm getting errors when I try to run it: 1061: Call to a possibly undefined method setSelection through a reference with static type…
1.21 gigawatts
  • 16,517
  • 32
  • 123
  • 231
0
votes
1 answer

Regex for index of string match spanning across several XML tags

I'm trying to insert a link in TLF. Normally you would simply simply use var linkElement:LinkElement = textArea.textFlow.interactionManager.applyLink( ... ); The problem is that, if I create a link which spans across differently formatted text…
joeflash
  • 1
  • 2
0
votes
1 answer

gotoAndStop deletes custom format on TLFTextField

I've defined two different parts on Flash Timeline, like: 'a', frames 1:10; 'b', frames 11:20; which contains two different TLFTextFields. I set the format to both of them like Font, Size, Align, etc. Whenever I do gotoAndStop('b') the…
0
votes
0 answers

AS3 TLFTextfield input issue with white spaces, it will not brake line on white space

i have a simple TLFTextfield that i want to use as input field. It works mostly but if you type white spaces (pressing SPACE) on end of the line it will not break line (go to new line) but insted it stops at the end of the line. I tested it tracing…
Rjanma
  • 1
  • 1
0
votes
1 answer

how to append an event property with tlf html format inside a string

im trying to update my sscript to to the flex 4 sdk in sdk 3 it looked like this textarea.text += "" + evt.user_message + ""; defines the text property of the text area with the user message property of…
0
votes
1 answer

Loading a TLF text inside a symbol

I got a symbol that has a TLF text placed, and I need to retrieve the information of this text and use it. The thing is, everytime that kind of text is on the stage, I get a weird result, in the content of the currentTarget of the load result,…
Artemix
  • 8,497
  • 14
  • 48
  • 75
0
votes
1 answer

Error 1034: converting TLF text to MovieClip for fade in transition

I am trying to make text in my project fade in/out when a test button is pressed. I have gotten as far as writing the basics (I think so at least), however every time I try I click the test button, I get the following error message: Error…
0
votes
1 answer

Is there a way to make a variable width font behave like a fixed width font in TLF?

Is there a way to make a variable width font behave like a fixed width font in TLF? Example of variable width: The quick grey fox jumped over the lazy dog. Example of fixed width: The quick grey fox jumped over the lazy dog Notice how close the…
1.21 gigawatts
  • 16,517
  • 32
  • 123
  • 231
0
votes
1 answer

Flex 4 TextArea: automatic character escaping in HTML/TextFlow links

I'm using the Spark's TextArea that contains links like this: #hashtag As you can see, this is a link to the Twitter search page for the specific hashtag. The hash-sign must be…
davee44
  • 357
  • 3
  • 10
0
votes
2 answers

Flash Tlf looks bad in flash professional CS5.5

Just drawing a simple text line. With TLF text it looks pixelated and with classic text it looks just fine. Looks at the 's' and the 'r' they looks bad with TLF text. Any ideas why this happens?
Ilya Gazman
  • 31,250
  • 24
  • 137
  • 216