PDA

View Full Version : _x and _y position



xul solar
July 8th, 2004, 12:45 PM
hi, i have this

onClipEvent(enterFrame){

speed=5;
this._x+=2;

}

i wanna know how do i stop the movie clip in a place?
heeeelllllPPPP
thanks

claudio
July 8th, 2004, 02:08 PM
Use an if statement.

onClipEvent(enterFrame){
if(this._x<=value to stop){
this._x+=2;
}