madrone
August 27th, 2003, 02:00 PM
i have a movie clip of scissors cutting. 2 instances of it on stage, "scissorsRL" and "scissorsLR". i have the following code attached to the left scissors:
onClipEvent (enterFrame) {
_x = _x + 10;
if (this._x>=920) {
stop();
}
}
and similar code on the right.
what i am trying to do is to get the 2 scissors instances to "start over" when the start over button is released. but, if you look at the attachment, you see what it is doing (the scissors are not animating, just increasing or decreasing _x values - i don't understand why.
the code i have on the start over button is this:
on (release) {
setProperty("scissorsRL", _x, "100");
setProperty("scissorsLR", _x, "700");
}
this is drivin me nuts - any ideas, thanx!
onClipEvent (enterFrame) {
_x = _x + 10;
if (this._x>=920) {
stop();
}
}
and similar code on the right.
what i am trying to do is to get the 2 scissors instances to "start over" when the start over button is released. but, if you look at the attachment, you see what it is doing (the scissors are not animating, just increasing or decreasing _x values - i don't understand why.
the code i have on the start over button is this:
on (release) {
setProperty("scissorsRL", _x, "100");
setProperty("scissorsLR", _x, "700");
}
this is drivin me nuts - any ideas, thanx!