Reputation: 5960
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
Reputation: 616
This looks like the source code: http://opensource.adobe.com/svn/opensource/flex/sdk/sandbox/viatropos/trunk/frameworks/projects/spark/src/mx/core/TLFTextField.as
Upvotes: 0
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