0 Replies Latest reply on Jun 21, 2006 2:41 AM by dirkness

    pong game


      I'm adapting a pong flash game.

      I'm having trouble moving a slider that controls the speed that the ball travels at - as soon as I move the slider (to the bottom
      of the game rather than the current right hand position) - and update the startDrag coordinates - the computer's pong racket movement
      becomes erratic.

      You can see the demo game here: http://www.dirksmith.com/pong/pongTest.html

      Grateful for any help.

      .fla attached


      The scripts are:

      slider actionscript on main timeline

      onClipEvent (enterFrame) {
      /:drag = Math.round(_root.diff._y - this._y)/ -10 ;

      slider mc actionscript:

      on (press) {
      startDrag(_root.setter, false, 26, 65, 26, 140);
      on (release) {