N64MARIO64
Technical User
How do I make a movie clip stop at the top & bottom of the movie. So far I have this.I have this already haveon
ClipEvent(load){
speed = 5;
}
onClipEvent (enterFrame) {
(Key.isDown(key.DOWN))?(this._y+=speed):null;
(Key.isDown(key.UP))?(this._y-=speed):null;
updateAfterEvent();
}
ClipEvent(load){
speed = 5;
}
onClipEvent (enterFrame) {
(Key.isDown(key.DOWN))?(this._y+=speed):null;
(Key.isDown(key.UP))?(this._y-=speed):null;
updateAfterEvent();
}