-
Cannot use ComponentEvent
Hello,
I recently had a problem with ComponentEvent in Adobe Flash CS3. What I did is adding a scrollpane component in the first frame, then adding actions to the first frame, but when I try to use ComponentEvent.BUTTON_DOWN, I got following errors:
1120: Access of undefined property ComponentEvent.
And whenever I try to use ComponentEvent (even "trace(ComponentEvent)"), I got this. Then I tried to use "test.as" file to do the same thing, I found I was unable to import anything from fl.event, errors like:
1172: Definition fl.event could not be found.
and
1172: Definition fl.event.Component could not be found.
when doing "import fl.event.*" and "import fl.event.ComponentEvent".
Have been Googling for a long time but nothing seems useful. Please help. Thanks in advance.
PS: ActionScript 3.0 is used. No settings have been changed at all. Importing other libraries seemed fine.
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
|