another shitty flash question
another shitty flash question
Out of context: Reply #8
- Started
- Last post
- 11 Responses
- ganon0
put these actions in a frame in the _root...this will move an MC with an instance name of "circ" to xPos = 255 when you click on it...:
this.circ.onPress = function () {
this.onEnterFrame = function() {
if (Math.abs(255 - this._x) < 1) {
this._x = 255;
} else {
this._x -= (this._x - 255) * .1;
}
}
}