สร้างลูกเต๋าแบบสุ่ม

2

Click here to load reader

Upload: augusts-programmer

Post on 19-Jun-2015

453 views

Category:

Documents


0 download

TRANSCRIPT

  • 1. 1. file 200*200 pixels 2. movie clip frame 6 frames 3. ROLL ---> convert to symbol --->button4. script 3 script on(release){// 1-6

2. num = Math.floor(Math.random()*6)+1;dice.gotoAndStop(num);}5. script // dice.stop();