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

TLF text makes my SWF main symbol not able to be found

Here is my problem, Im trying to set some text using a TLF text inside Flash CS5. I create a TLF text inside a movieclip, to later access and modify that text at runtime, the problem is, when I load the symbol of the movieclip from Flash Builder, it…
Artemix
  • 8,497
  • 14
  • 48
  • 75
0
votes
3 answers

ActionScript 3: How to remove EventListener with anon functions

I have written code as follows. Problem is that I can't remove Event.COMPLETE event listener and when I call the loadData function twice or more, it works 2 times or more. Sorry for my bad english and worse explanation but I need to fix it today and…
Farid Rn
  • 3,167
  • 5
  • 39
  • 66
0
votes
1 answer

Flash/AS3 TLFTextField scrollbar

I cannot display the scrollbar in a TLFTextFiled. I tried with both ways: 1. TLFT.controller.verticalScrollPolicy='ON' TLFT.textFlow.flowComposer.updateAllControllers(); 2. var scrollBar:UIScrollBar=new UIScrollBar(); scrollBar.scrollTarget…
Fabio B.
  • 970
  • 2
  • 14
  • 29
0
votes
1 answer

Scrollbar not working with TLF text with dynamic content in ActionScript 3

I'm creating a simple Flash project with Flash CS5 and ActionScript 3. What I want to do is that I want to dynamically update a TLF text container with given source and destination, something like loadData(text_placeX, "markup.xml"); anywhere that I…
Farid Rn
  • 3,167
  • 5
  • 39
  • 66
0
votes
1 answer

How can draw squiggly line below wrong word for flex RichEditable?

I want to draw a squiggle line below misspelled word in a Flex Spark RichEditableText component. Please help me , Thanks
A.Shez
  • 1
  • 1
0
votes
1 answer

How to track progress of an import in "TextFlowUtil"

In TextArea with id="TextView" the loaded html-text length is 1080 lines. This process takes 3-4 seconds and would be desirable to indicate this to the user. TextView.textFlow = TextFlowUtil.importFromString(data.readUTFBytes(data.bytesAvailable),…
0
votes
1 answer

Flash - setTextFormat crashes on TLFTextField

We have a library with a bunch of TextFields inside MovieClips. During runtime, we make an instance of one of these, run getTextFormat on it to get the formatting, then create a bunch of TextFields in code and run setTextFormat on them to give them…
0
votes
2 answers

Flash - can't get TextLayoutFormat of TLFTextField

All I want to do is get the formatting properties of a TLFTextField and apply it to another TLFTextField. This was simple using the classic TextField: var textFormat:TextFormat = text1.getTextFormat(); text2.setTextFormat(textFormat); TLFTextField…
0
votes
1 answer

Flash - symbols disappear from swf when I include TLFTextfield

I have a swf that just contains library assets, no code. It's loaded by another swf which has code. The library swf has about 280 symbols which are exported for AS3. All works fine until I make a new movieclip containing a TLFTextField, as opposed…
0
votes
2 answers

Adding TLF increases very much the filesize of the swf

I have one text field which needs to support RTL languages but this is not achievable with ordinary TextField so I used TLF. I created a test project just to make a test with this small text field which uses TLF, and guess what it became 346KB. I…
Vlad
  • 2,739
  • 7
  • 49
  • 100
0
votes
3 answers

keyboard ENTER key dont work for tlf text input?

i have a tlf text input in stage,i want dispatch ahndler for this object when enter key in press, but i can't do this import flash.events.KeyboardEvent; import flash.ui.Keyboard; import…
Vahid Arjmand
  • 73
  • 1
  • 8
0
votes
1 answer

HTML entities in TextFlow

How can HTML entities be made to work with TextFlow (specifically TEXT_LAYOUT_FORMAT)? Example: ' is not converted into a single quote. Any help would be appreciated.
Chris Smith
  • 764
  • 1
  • 9
  • 22
0
votes
1 answer

FlashCS5 embedded Font htmlText bold: how to use TLFTextField and TextConverter?

I've been stuck for a very, very long time on this issue, which has already been raised and discussed many times. The task is yet a simple one, and really shouldn't take the insane amount of time it already has: to bold a few words in a textfield…
Paul
  • 611
  • 1
  • 6
  • 7
0
votes
1 answer

How to stop/convert TLF textfield used in flash files when you have list to search?

My designer provides me lots of MovieClips containing buttons and its states and most of them contain a TLF TextField. Now I do not want to check each MovieClip where a TLF TextField is used. Can I know exactly in which MovieClips and buttons a TLF…
Muhammad Irfan
  • 1,447
  • 4
  • 26
  • 56
0
votes
1 answer

Adobe AIR 2 not detect enter inside TLF TextField

This code work in flash, but when i try run using adobe air 2, the enter key is not detected, but instead ctrl+enter work. how to get this work? Ty in advance txtTLF is TLF TEXT EDITABLE import…
Gusth
  • 1
  • 2