flash menu help

Out of context: Reply #3

  • Started
  • Last post
  • 9 Responses
  • kinetic0

    for some reason it only seems to fire once....and i cant get the slide values right

    i have this:

    function changeY (targety){
    movieY = buttons_menu._y;
    movieY += (targety-movieY)/5;
    buttons_menu._y = movieY;
    };

    update = function(increment){
    targetY += increment
    clearInterval(updateY)
    updateY = setInterval(this, "changeY", 30, targetY)
    }

    delay = setInterval(this, "update", 2000);
    stop()

    that should move it up every 2 seconds

View thread