PDA

View Full Version : my reverse play button is broke!help!


bradly
05-14-2006, 12:26 AM
yes, i'm very new at this,
i have looked at many sites and read many posting that deal with basicly the same problem i'm having, but am still having trouble.
i basicly have a movie clip and two buttons.
button#1: should play on rollover, stop on rollout
button#2: should play the timeline in reverse on rollover and stop on rollout.
i know this is simple, but i've been stuck on this for a while now.
please help!!
the code i'm using is:(please don't laugh too hard... this is like learning latin)

timeline:
stop();
onEnterFrame = function () {
if (rr == 1) {
prevFrame();
} else if {
stop();
if (ff == 1) {
nextFrame();
} else {
stop();
}

button1
on (rollOver) {
rr = 1;
}
on (rollOut) {
rr = 0;
}


button2

on (rollOver) {
ff = 1;
}
on (rollOut) {
ff = 0;
}

MUCH MUCH MUCH THANKS
bradly:confused: