Learned a new code! I call it. Speed type of X And Y.
The Code Is:
onClipEvent(enterFrame){
speed=5
if(Key.isDown(Key.LEFT)){
this._x-=speed
}
if(Key.isDown(Key.RIGHT)){
this._x+=speed
}
if(Key.isDown(Key.UP)){
this._y-=speed
}
if(Key.isDown(Key.DOWN)){
this._y+=speed
}
}
Learned in 3 minnutes! But I dont fully remember it so I have to write it down some times.I can now 2 codes!
so thats awsome! I use fions posts to learn. Go to flashtuts if you want to learn as3! And agin, All Star Game is on hold!
Peace