davivid
davivid

Reputation: 5960

AS3 Project - How do I import TLF?

Using Flash develop I need to create a TLFTextField in an AIR AS3 project, but where do I find the swc to import?

I have imported textLayout.swc from the the flex sdk, but I get the error:

Error: Type was not found or was not a compile-time constant: TLFTextField.

Upvotes: 3

Views: 1611

Answers (2)

James Tomasino
James Tomasino

Reputation: 3581

TLFTextField is bundled in tlfruntime.swc. As far as I know, that's only bundled with Flash, not the Flex SDK.

Upvotes: 1

Related Questions