الاستاذ خليل
02-03-2013, 08:42 PM
السلام عليكم
درس اليوم سنستعمل ازرار الكمبونت و هي أزرار جاهزة من سويش ماكس 4
الشرح بصيغة تنفيذية (http://www.hesab.net/swishmax4/button/button.exe)
الشرح بصيغة فلاش (http://www.hesab.net/swishmax4/button/button.swf)
تحميل تطبيق الشرح (http://www.hesab.net/swishmax4/button/button.swi)
كل ما عليك ادرج زر والصق الكود بحدث اللود
onSelfEvent (load) {
function Events(name){
if (name == "a") {
a.label.text="khalil";
}
if (name == "b") {
a._x+=10;
a. _rotation+=10;
}
}
}
لا تنسى لديك زرين باسم a و b
درس اليوم سنستعمل ازرار الكمبونت و هي أزرار جاهزة من سويش ماكس 4
الشرح بصيغة تنفيذية (http://www.hesab.net/swishmax4/button/button.exe)
الشرح بصيغة فلاش (http://www.hesab.net/swishmax4/button/button.swf)
تحميل تطبيق الشرح (http://www.hesab.net/swishmax4/button/button.swi)
كل ما عليك ادرج زر والصق الكود بحدث اللود
onSelfEvent (load) {
function Events(name){
if (name == "a") {
a.label.text="khalil";
}
if (name == "b") {
a._x+=10;
a. _rotation+=10;
}
}
}
لا تنسى لديك زرين باسم a و b