Skip to main content
October 31, 2010
Question

Text Input - FTE TextField, TLFTextField, Custom Class

  • October 31, 2010
  • 1 reply
  • 3060 views

Dear,

I have written my own TextLabel class which uses FTE to render text, but I need an editable version of that.

My concern is that I want to optimize the performance as much as I can and I think I should not use the whole TLF in order to have a single, 0-20 character length simple editable textfield. I tried to look at the FTETextField or TLFTextField as a temporary solution, but I just cannot make it work in Flash Builder. Don't we have an FTE based simple editable textfield class?

I also don't really understand why we have the CS5 line and the Flex SDK line in terms of handling FTE. Why can't we get a simple textfield class in the framework?

We really needed the support of RTL once for an arabic form and we embedded a CS5 compiled MovieClip containing a TLFText and used as a TextField. That was a hack, but the RTL editable simple textfield worked well in Flash Builder Project. We did not have to write our TextField class.

Benjamin

This topic has been closed for replies.

1 reply

JabbyPandaUA
Inspiring
November 5, 2010

Have a look at tinyTLF effort by  Paul Taylor http://guyinthechair.com/tag/tinytlf/

November 5, 2010

tinyTLF does not yet have editing (it does have selection). The lightest-weight FTE-based editing solution I'm aware of is TextContainerManager in TLF.

JabbyPandaUA
Inspiring
November 5, 2010

tinyTLF does not yet have editing (it does have selection).

True. Agreed. But the topicstarter can fork it on GitHub and write implementation of editable textField by himself