yes. another flash question
yes. another flash question
Out of context: Reply #9
- Started
- Last post
- 10 Responses
- fugged0
try adding this in front of the variables so they are local to the movie clip.
onClipEvent(load){
this.xDest = this._x;
this.speed = 3;
}onClipEvent(enterFra me){
xDiff = this.xDest - this._x;
xMove = xDiff/this.speed;
this._x += xMove;
}