I’ve tried using a TLFTextField object in Flash Builder, instantiating it with code, but for some reason, Flash builder won’t recognize the fl.text namespace, and won’t import anything from fl.* or flashx.*
Anyone know how to do this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to include the TLF runtime library into your project. It’s located here:
[Flash Application Directory]/Common/Configuration/ActionScript 3.0/libs/tlfRuntime.swcI would copy that SWC to your project directory (under your
libsfolder if you have one) and then point to it in the ActionScript Build Path section under Library Path in your project properties.Once you do that, the
fl.text.TLFTextFieldclass will be available to you in your project.