Revision: 4195
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at November 5, 2007 15:23 by whyvon13
Initial Code
onClipEvent (enterFrame) {
var speed:Number = 10;//This can be any number you want.
this._x += speed;// moves the MovieClip along the x axis. Change the _x to _y to move the MovieClip along the y axis.
if (_x>=600) {// as long as the registration point for the MovieClip is Greater Than or Equal To 600, the MovieClip will move.
this._x= speed/2;
}
}
Initial URL
Initial Description
Initial Title
simple movement
Initial Tags
Initial Language
ActionScript