Skip to main content
Oct 31, 2010 9:24 PM UTC
Question

Text Input - FTE TextField, TLFTextField, Custom Class

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 is closed to new replies. Start a new post to keep the conversation going.

4 replies

JabbyPandaUA
Inspiring
Nov 5, 2010 12:37 PM UTC

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

Translate
Nov 5, 2010 5:15 PM UTC

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.

Translate
JabbyPandaUA
Inspiring
Nov 5, 2010 5:20 PM UTC

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

Translate