1 Reply Latest reply on May 26, 2007 7:22 PM by kglad

    action script 3 onClipEvent

      i was reading a tutorial for a little game and when ever i try to run it, i get the error " 1087: Syntax error: extra characters found after end of program. onClipEvent (enterFrame) { "

      the code is:

      onClipEvent (enterFrame) {
      if (Key.isDown(Key.LEFT)) {
      if (Key.isDown(Key.RIGHT)) {
      if (Key.isDown(Key.UP)) {
      if (Key.isDown(Key.DOWN)) {

      it seems to work for everyone else. Your help is greatly appreciated.