24-08-2005, 08:16
|
|
|
חבר מתאריך: 27.06.05
הודעות: 2,185
|
|
האלו:
קוד:
onClipEvent (enterFrame) {
if(Key.isDown(39)) {
this._x=_x+10;
} else if (Key.isDown(37)) {
this._x=_x-10;
}
}
onClipEvent (enterFrame) {
if(Key.isDown(40)) {
this._y=_y+10;
} else if (Key.isDown(38)) {
this._y=_y-10;
}
}
תחליף אותם למספק של הכפתור שאתה רוצה שילחץ.
|