A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: I get this error message...??? :( haha

  1. #1
    Junior Member
    Join Date
    Mar 2001

    I get this error message...??? :( haha

    When I go to test my movie, I get this error:

    **Error** Scene=Scene 1, layer=Web Design, frame=1:Line 1: Statement must appear within on/onClipEvent handler

    Total ActionScript Errors: 1 Reported Errors: 1

    What does this mean?

  2. #2
    No I can't do it by tommorow.. 1stbite's Avatar
    Join Date
    Feb 2003
    looks like you have added an action like


    on(release) {

    onto the main timeline, this will not work the action needs to go on a button (or on a MC if onClip).

    the error tells you where to find the code:

    Scene1 on the layer named Web Design in the first frame. check the actions in that frame and remove th on/onClip action and put it on a button...
    and in a blink of an eye...
    Media and Multimedia Courses in Nottingham - First Diploma | IMedia | HND | Foundation Degrees | BA(Hons) Top Ups.

    Give a Twit a chance!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

HTML5 Development Center