1 Reply Latest reply on May 21, 2008 9:48 PM by privatedan

    Make Background move with Movie Clip

    privatedan
      Well i'm not the greatest flash guru. I'm making a Flash movie for my computers class. I want to make a Person walking threw a gallery of paintings on the wall. Every painting is a button and you can click on to get to a info page on that. I already know how to do buttons and all. I just need help making the person move and the background to move with the person. here is my coding to make the person move. But i also have another problem. whenever nothing is hit the person is still walking. and when i hit the left arrow it appears he is "moon walking". Someone please help

      onClipEvent (load) {
      _root.up=true
      _root.down=true
      _root.left=true
      _root.right=true
      }
      onClipEvent (enterFrame) {

      if (Key.isDown(Key.LEFT) && _root.left == true) {
      _x-=5
      }
      if (Key.isDown(Key.RIGHT) && _root.right == true) {
      _x+=5
      }
      }