dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: statement must appear within on handler

  1. #1
    Junior Member
    Join Date
    Dec 2005
    Posts
    6

    statement must appear within on handler

    statement must appear within on handler

    i always get this error when I use some basic action scripts

    When I use the same piece of code in 2004 mx, I do not have the error

    does anybody know what is going wrong here?

  2. #2
    Senior Member dudeqwerty's Avatar
    Join Date
    Mar 2005
    Location
    Bosnia
    Posts
    1,626
    your putting code that should be place on the timeline on a movieclip or a button.
    New sig soon

  3. #3
    Senior Member
    Join Date
    Nov 2007
    Posts
    140
    so the easiest fix would be to insert an actions layer, and by using an button instance name target my button, with the coding?

    correct???

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