วันศุกร์ที่ 1 ตุลาคม พ.ศ. 2553

ความรู้เกี่ยวกับ flash

ข้อความในปุ่มตอบถูก-ผิด
พิมพ์ Right or Wrong
F8 convert to grahpic
f8 convert to movie clip
ทำภาพเคลื่อนไหว จากเล็กไปหาใหญ่สุด แล้วกลับมาเท่าขนาดจริง
layer2 กำหนด action script หัวท้าย stop
ที่ layer1 เฟรม 1 กำหนดความสูง ความกว้างของ mc เป็น 1 ทั้งคู่
คำสั้งที่ปุ่ม ในการโหลด mc มาใช้
on (release) {
 tellTarget ("mc1") {
  gotoAndPlay(2);
 }
}

คะแนนเพิ่ม score
var score:Number;

คำสั่งในปุ่มข้อที่ถูก
score++;
score2.text=score;

สุ่มตัวเลข
on (release) {
 var no:Number;
 no = Math.floor(Math.random()*20);
 nom.text = no;
 gotoAndStop(no);
}
ทำแขนการ์ตูนขยับ
Flash ทำแขนขยับ
F8 แปลงแขนให้เป็น graphic
F8 แปลงจาก graphic ไปเป็น movie clip แล้วจึงทำภาพเคลื่อนไหว

poke scarlet pokedex

 https://www.dualshockers.com/pokemon-scarlet-violet-full-pokedex/ [001 Sprigatito] 08000000 03075530 00000000 0000038A [002 Floragato] 0800...