mlk
April 8th, 2003, 03:55 PM
Well here's the AS tweening code
i've checked everything
the MC called thetext is on the timelime, in fact everything is
if the movement is not tweened, could it be that the for loop is too fast and switches from the actual to the previous/next position too rapidly ??
t = 3;
function go_up() {
for (yactualposition=i; i<ypreviousposition; i) {
trace(i);
_root.thetext._y = i;
i += t
}
_root.prevFrame();
stop();
}
function go_down() {
for (yactualposition=i; i>yforwardposition; t) {
_root.thetext._y = i;
i -= t;
}
_root.nextFrame();
stop();
}
i've checked everything
the MC called thetext is on the timelime, in fact everything is
if the movement is not tweened, could it be that the for loop is too fast and switches from the actual to the previous/next position too rapidly ??
t = 3;
function go_up() {
for (yactualposition=i; i<ypreviousposition; i) {
trace(i);
_root.thetext._y = i;
i += t
}
_root.prevFrame();
stop();
}
function go_down() {
for (yactualposition=i; i>yforwardposition; t) {
_root.thetext._y = i;
i -= t;
}
_root.nextFrame();
stop();
}