Yuav Kos Li Cas Rau Hauv Flash

Cov txheej txheem:

Yuav Kos Li Cas Rau Hauv Flash
Yuav Kos Li Cas Rau Hauv Flash

Video: Yuav Kos Li Cas Rau Hauv Flash

Video: Yuav Kos Li Cas Rau Hauv Flash
Video: yuav coj li cas kom luag nyiam 2024, Kaum ib hlis
Anonim

Kev kos duab hauv Flash yog ib txoj hauv kev zoo rau kev cuam tshuam koj tus kheej, so thiab txaus siab rau aesthetics ntawm cov duab koj tsim. Cov kws tshawb fawb tau ua pov thawj ntev dhau los hais tias kev kho xim muaj kev cuam tshuam zoo thiab so ib ce rau tag nrho tib neeg lub paj hlwb. Ib qho ntxiv, kev kos duab hauv flash tsis yog qhov uas tsis muaj kev xav txog kev tsav tsheb nrog tus xaum xaum rau ib daim ntawv, tab sis kev kos duab uas yuav tsum muaj kev xav ntau yam thiab kev xav ntawm koj.

Yuav kos li cas rau hauv flash
Yuav kos li cas rau hauv flash

Tsim nyog

Khoos phib tawj

Cov Lus Qhia

Kauj ruam 1

Mus rau tshooj "Cov Ntawv Kho Cov Duab" thiab nias Ctrl + J yuam sij ntawm koj cov keyboard, yog li tsim cov ntawv Flash tshiab. Teeb tus nqi rau nws raws li nram no: dav 350, qhov siab 250 px, nrawm 24 ntas ib ob.

Kauj ruam 2

Tsim (kos nrog Kab Cuab Yeej) Kab xaum, xaiv nws los ntawm nias Ctrl + A thiab hloov nws mus rau clip clip los ntawm nias F8.

Kauj ruam 3

Tsis tas tshem qhov xaiv los ntawm tus xaum qhuav tshiab, nias tus yuam sij Ctrl + F3, qhib lub Vaj Huam Sib Luag nrog lawv cov kev pab, thiab nyob rau hauv Instance Name window sau lo lus mem hluav.

Kauj ruam 4

Nias F9 yuam sij qhib lub vaj huam sib luag Action Script, thiab ntxig cov ntawv sau rau hauv qab no muaj:

Los hloov tus cursor nrog tus xaum qhuav -

Mouse.hide ();

var mouseListener: Object = tshiab Nruas ();

mouseListener.onMouseMove = muaj nuj nqi () {

mem hluav._x = _xeeb Tseeb;

mem hluav._y = _ nkauj;

hloov tshiabAfterEvent ();

};

Kev pleev xim -

Cai

Mouse.addListener (mouseListener);

Los teev cov xim xav tau -

Cai

drawing_mc.lineStyle (3.0x99CC00, 100);

Txhawm rau tshem tawm nrog Rho Tawm lossis Backspace

Cai

var keyListener: Object = tshiab Nruas ();

keyListener.onKeyDown = muaj nuj nqi () {

yog (Key.isDown (Key. DELETEKEY) // Key.isDown (Key. BACKSPACE)) {

teeb duab_mc.clear ();

}

};

Mloog rau cov duab

Cai

Key.addListener (keyListener);

Pom zoo: