2 Replies Latest reply on Mar 10, 2011 7:35 AM by NikolaV97

    Why doesn't the movement code work in full screen

    NikolaV97

      Ok, so I've got this code for movement and it worked great in normal screen but when I go fullscreen It doesn't work. Here is the code:

      onClipEvent (load) {
      speed = 0;
      }
      onClipEvent (enterFrame) {
              if (Key.isDown(Key.UP)) {
              speed += 1;
              }
              if (Key.isDown(Key.DOWN)) {
              speed -= 1;
              }
              if (Key.isDown(Key.RIGHT)) {
                      _x=_x+10;
              }
              if (Key.isDown(Key.LEFT)) {
                      _x=_x-10;
              }
      if (Math.abs(speed)>15) {
      speed *= .6;
      }

      The fullscreen code is: onLoad() { fscommand("fullscreen", "true") }

      Here is the .swf: http://www.swfcabin.com/open/1299752820

      the fullscreen only works ofline

      if you know any other way to make this fullscreen it would be great too