Xws li cov ntawv qhia zaub mov yog qhov tseem ceeb ntawm kev tshawb fawb ntawm txhua lub vev xaib uas tsim los siv flash technology. Nws pab txhawm rau ua kom yooj yim ntawm cov qauv, ua rau nws nyiam ntau dua, thiab tseem ua rau nws yooj yim rau kev xa khoom xaib. Feem ntau, flash menus yog ntawm tib hom, uas tuaj yeem siv tau los yog cov tsiaj lossis cov dog dig peb-ncej khawm. Cia peb xav txog lub algorithm rau kev txhim kho cov ntawv qhia flash siv cov piv txwv ntawm kev ua haujlwm nrog daim ntawv qhia kab rov tav hauv Adobe Flash CS4.
Nws yog qhov tsim nyog
Adobe Flash CS4
Cov Lus Qhia
Kauj ruam 1
Tsim daim ntawv tshiab, xaiv qhov yuav tsum tau muaj ntau qhov tsawg. Hauv peb qhov teeb meem no, peb yuav tsom mus rau cov qauv qib 550 × 400.
Kauj ruam 2
Kos duab ua haujlwm rau cov ntawv qhia zaub mov, xaiv nws thiab txav mus rau MovieClip, qhov twg txhua yam haujlwm ntxiv yuav coj.
Kauj ruam 3
Teeb qhov loj ntawm cov duab nyob ntawm tus xov tooj khawm. Yog tias txhua lub khawm ntawm koj cov ntawv nyeem muaj cov ntawv thiab cov duab sib txawv, mus rau nws. Yog tias cov nyees khawm yuav tsum yog tib lub hom, nws yooj yim tshaj plaws los hloov kho cov ntawv xub thawj, thiab tsuas yog tom qab ntawd zom nws mus rau hauv nws cov feem sib xyaw. Tom qab cov duab tau npaj lawm, tawg nws rau hauv ntau qhov uas ua rau ntau tus lej. Tom qab ntawd txhua ntu yuav tsum raug xaiv thiab hloov dua siab tshiab rau MovieClip.
Kauj ruam 4
Muab txhua lub pob npe sau npe: piv txwv, but1, but2, thiab lwm yam. Tso txhua tus khawm ntawm nws tus kheej txheej.
Kauj ruam 5
Nov yog qhov chaw ua haujlwm feem ntau pib: koj yuav tsum siv txhua lub khawm. Nco ntsoov tias yog cov ntawv qhia zaub mov khawm zoo ib yam, cov duab ntawm cov khawm yuav tsum zoo ib yam.
Kauj Ruam 6
Yog li, cov animation rau cov khawm tau npaj. Tom ntej no, peb sau cov code uas yuav ua haujlwm nrog khawm. Tsim ib qho kev npliag hauv MovieClip, ntxiv cov txiaj ntsig cov txiaj ntsig rau cov zaub mov thiab mus rau 1 thav duab.
Kauj Ruam 7
Tom qab ua haujlwm ntawm kev tsim cov ntawv qhia zaub mov ua tiav, sim cov ntawv qhia zaub mov kom tiav. Yog tias koj tau ua txhua yam raws li qhov yog, ces nws yuav ua haujlwm kom raug. Tam sim no nws cov lej tuaj yeem nkag mus rau qhov chaw uas koj xav tau.