xحموديx
11-12-2006, 02:33 AM
http://www.flashyat.com/vb/imgcache/273.imgcache.gif
:::مثال الدرس:::
WIDTH=300 HEIGHT=200
حرك النص بالاسهم
::: الدرس:::
http://www.flashyat.com/users/x7amodex/files/key.gif
هذا الكود بالسبرايت اللي اسمه x7moodex
on (keyPress("<Up>")) {
x7moodex._y-=4;
}
on (keyPress("<Down>")) {
x7moodex._y+=4;
}
on (keyPress("<Right>")) {
x7moodex._x+=4
}
on (keyPress("<Left>")) {
x7moodex._x-=4;
}
on (keyPress("<Delete>")) {
x7moodex._y-=800;
}
وهذا الكود بالسبرايت اللي اسمه Sprite
onFrame (1,afterPlacedObjectEvents) {
stop();
}
لا تنسونا من دعائكم ،،،
واي استفسار انا جاهز
:::مثال الدرس:::
WIDTH=300 HEIGHT=200
حرك النص بالاسهم
::: الدرس:::
http://www.flashyat.com/users/x7amodex/files/key.gif
هذا الكود بالسبرايت اللي اسمه x7moodex
on (keyPress("<Up>")) {
x7moodex._y-=4;
}
on (keyPress("<Down>")) {
x7moodex._y+=4;
}
on (keyPress("<Right>")) {
x7moodex._x+=4
}
on (keyPress("<Left>")) {
x7moodex._x-=4;
}
on (keyPress("<Delete>")) {
x7moodex._y-=800;
}
وهذا الكود بالسبرايت اللي اسمه Sprite
onFrame (1,afterPlacedObjectEvents) {
stop();
}
لا تنسونا من دعائكم ،،،
واي استفسار انا جاهز