| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Feb 2003
Location: in the icey north
Posts: 2
|
Statement must appear within on handler!
i get this message allmost every time i write a code, even in normal mode and im soo pluckin tierd of it, i asume it verry verry easy thats why its soo annoyng pleace help me |
|
|
|
|
|
#2 |
|
member
|
oddo jespersen,
Yeah, Flash is just telling you that your code (attached to an MC) must be contained in one of the following clip events : onClipEvent (enterFrame) { //statement here } enterFrame can be replaced with, load, Unload, Mouse down, Mouse up, Mouse move, Key down, Key up, Data. snapple |
|
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Feb 2003
Location: In the matrix.
Posts: 78
|
unless you are specifically trying to add code to a movie clip or button, you should click on a time line frame before adding code.
|
|
|
|
|
|
#4 |
|
Registered User
Join Date: Feb 2003
Location: in the icey north
Posts: 2
|
thanks guys i sorted it out now
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|