MX api movement

Out of context: Reply #2

  • Started
  • Last post
  • 14 Responses
  • versa0

    woops..........wrong AS

    this is how i work it for 0 to 739 say on the x axis.........

    this.createEmptyMovieClip ("lineTL", 10);

    lineTL.lineStyle(1, 0x000000, 100);
    lineTL.moveTo (739, 0);
    lineTL.lineTo (0, 0);

    line_grow = function () {

    endX = 739;

    if (lineTL._width = 739){
    lineTL._width = 739;
    endline_grow ();
    line_growUp();
    }
    }
    updateAfterEvent ();
    };

    endline_grow = function () {
    clearInterval (lineSI);

    stop();
    };

    lineSI = setInterval (line_grow, 30);

    stop();

View thread