Jump to content


SplitTextField and TLFTextField

Moderator Tag

Recommended Posts

Getting the following error when using SplitTextField.


"1067: Implicit coercion of a value of type fl.text:TLFTextField to an unrelated type flash.text:TextField."


I'm guessing that TLF Text isn't supported in version 11.


Any ideas?

Link to comment
Share on other sites

Yep, that's exactly right - TLFTextFields aren't supported. I doubt it'd even be possible to support them if we wanted to because of all the complexities involved. TLFTextFields are quite bloated and their performance is...well...not good :( Sorry, I wish I had better news for you.

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

TLFTextField is basically a wrapper around a faster version of TextField, the flash text engine classes. (FTE)


So SplitTextField will basically have to be rewritten for FTE textfields, if you really need it then open up the code and consider changing every instance of TextField with TextLine (TextLine supports a single line of text, no formatting, no HTML).


You could port the code that way to use a FTE textfield, and that could be used to work with TLFTextFields.


Hope it helps.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.