Search tutorials
Attach this code into the moving person
if(this._x < 0){
this._x += 50;
}
if(this._x > "movie width"){
this._x -= 50;
}
if(this._y < 0){
this._y += 50;
}
if(this._y > "movie height"){
this._y -= 50;
}
Change the values of "movie width" and "movie height" however neccessary.
if(this._x < 0){
this._x += 50;
}
if(this._x > "movie width"){
this._x -= 50;
}
if(this._y < 0){
this._y += 50;
}
if(this._y > "movie height"){
this._y -= 50;
}
Change the values of "movie width" and "movie height" however neccessary.
| » Level Basic |
|
Added: 2005-11-16 Rating: 5 Votes: 13 |
| » Author |
| i'm someone who has just started flash but i guaruntee that this works |
| » Download |
| Download the files used in this tutorial. |
| Download (0 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!