Skip to main content
Participant
June 27, 2010
Question

Is anyone working on a TextField-compatible wrapper for TextFlow? Is FTETextField usable?

  • June 27, 2010
  • 2 replies
  • 657 views

We have a body of existing code that depends on the venerable TextField object, but we'd like to be able to take advantage of the new bidirectional text

capabilities in the TLF.


I see there is a class in the SDK called FTETextField, which says it implements the TextField API. Has anyone used this

successfully to emulate a TextField with existing code?  I saw some blog entries as recently as February saying that

the FTETextField was working only partially. Or are there other alternatives that people have been using?

I have been thus far writing my own collection of compatibility routines, and am not sure whether to continue with that approach or try to work

with the FTETextField as it stands, hoping it will sustain further improvements and support.

Thanks,

Henry

This topic has been closed for replies.

2 replies

hminskyAuthor
Participant
June 28, 2010

I'm looking for a class that I can use and extends or modify which is in the Open Source distribution, and which will support the

RTL layout direction for text rendering.

I saw that there is a class frameworks/projects/framework/src/mx/core/UITextField.as, which looks like it is emulating the

TextField class, although it was not clear if it was capable of supporting input text editing.

June 29, 2010

There is a swc in the Adobe Flash CS 5 application (Flash Pro). If you look in <Flash application folder>/Common/Configuration/ActionScript 3.0/libs you will find a file named tlfRuntime.swc. You should be able to use this w/Flash Builder, although I'm not certain if anyone has done that yet. Anyway, you can use the class TLFTextField which should do what you want. But please note that this class is not included in the Open Source distribution. TLFTextField is documented in the AS documentation on Adobe's web site, and it does support the right-to-left layout direction, and the editing of it as well.

Hope that works for you.

Adobe Employee
June 28, 2010

There is a class like this that is provided as part of the Flash Pro class framework, fl.text.TLFTextField. If you are using Flash Pro, this class might be all that you need.