|
-
[RESOLVED] Instantiating Components
Hi,
I can't seem to be able to instantiate any "Component" type DisplayObjects (like TextInput, TextArea, etc) with ActionScript. The "normal" type DisplayObjects work fine (like MovieClip, Sprite, TextField), but otherwise I get the following error:
Code:
1180: Call to a possibly undefined method TextArea.
I tried pasting an example directly from the help pages, and still get errors. When using the TextAreaExample class as defined in Help, following exactly the instructions given in "Using the Examples", I get several errors of the same nature. What am I doing wrong? Any insight would be appreciated.
-
Resolved. Apparently you have to have an instance of the component in your library.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|