Kev Sau Lub Vev Xaib Flash

Cov txheej txheem:

Kev Sau Lub Vev Xaib Flash
Kev Sau Lub Vev Xaib Flash

Video: Kev Sau Lub Vev Xaib Flash

Video: Kev Sau Lub Vev Xaib Flash
Video: kev hlub ntxuav kev chim 6 2024, Hlis ntuj nqeg
Anonim

Kev Siv Flash thev naus laus zis, koj tuaj yeem ua qhov zoo nkauj thiab lub vev xaib qub uas muaj qhov pom pom tseeb. Adobe Flash CS4 zoo tshaj plaws los tsim nws.

Kev sau lub vev xaib flash
Kev sau lub vev xaib flash

Cov Lus Qhia

Kauj ruam 1

Rub tawm thiab nruab Adobe Flash CS4. Qhib nws thiab xaiv "Tshiab" los ntawm cov ntawv qhia "Tsim", qhov twg kos "Flash Cov Ntaub Ntawv" (Kev Ua Haujlwm 3.0). Nrhiav lub pob "Cov Khoom Tseem Ceeb" nyob rau sab saud. Nyem rau nws thiab xaiv Tus Tsim Designer. Mus rau ntawm cov ntawv teev cov khoom hauv ntu thiab qhia lub loj thiab sau xim ntawm cov keeb kwm yav dhau.

Kauj ruam 2

Mus rau txheej txheej vaj huam sib luag. Tsim plaub txheej: - rau cov ntawv sau; - rau nplooj ntawv chaw; - rau ntu ntu; - rau tom qab.

Kauj ruam 3

Muab ib lub npe rau txhua ntawm plaub txheej. Mus rau cov ntawv qhia ua zaub mov thiab xaiv Ntshuam rau theem tab. Qhia kom meej cov duab rau tom qab hauv lub qhov rai uas qhib. Thauj nws mus rau hauv cov txheej txheem uas tsim nyog. Xauv tag nrho lwm qhov rau ib ntus (tshwj tsis yog rau tus uas tau tsim rau cov ntawv qhia zaub mov thaiv) kom tsis txhob poob los hloov lawv. Hauv cov ntawv qhia zaub mov xaiv, xaiv "Qhov rai" ntu hauv vaj huam sib luag sab saum toj, thiab tom qab ntawd - "Cheebtsam". Mus rau "Cov Neeg Siv Kev Sib tshuam" tab thiab nyem ob npaug rau ntawm "khawm".

Kauj ruam 4

Tso lub pob uas tshwm rau ntawm thaj chaw xaiv ntawm nplooj ntawv. Koj yuav xav tau cov nyees khawm ntau raws li muaj cov khoom koj yuav mus tsim hauv cov ntawv qhia zaub mov ntawm koj lub xaib. Txheeb lawv los ntawm kev mus rau ntu "Qhov rai" thiab hloov lawv lub npe (piv txwv li "Button1" rau "Tsev").

Kauj ruam 5

Xaiv cov ntawv nyeem los ntawm tus txheej txheem toolbar thiab qhia qhov loj me, hom, thiab xim ntawm cov font. Tsim ib lub header rau koj tus xaib. Mus rau txheej rau nplooj ntawv. Kos nrog lub Rectangle twj lub duab plaub ntawm qhov xav tau xim thiab opacity. Nws yuav dhau los ua cov ntawv nyeem lub thawv.

Kauj Ruam 6

Xaiv tag nrho peb txheej txheem ua haujlwm (tshwj tsis yog rau txheej txheem ntawv sau). Nyem rau lawv nrog txoj khawm nas. Xaiv cov "Copy Ntas" submenu thiab xaiv cov thav ntawv ntawm peb txheej. Txoj nyem rau lawv dua. Xaiv thiab nyem "Paste ntas" ntau zaus raws li cov nplooj ntawv koj xav tau.

Kauj Ruam 7

Xaiv lub thav duab thawj zaug hauv txheej thiab nyem rau nws. Mus rau "Ntawv cim" tab hauv cov chaw. Ntaus tus nqi “nplooj 1” hauv kab “Npe”. Tso cov ntsiab lus xav tau nrog cov cuab yeej sau ntawm kab ntawv npaj. Ntaus cov ntawv hauv tib txoj kab ntawv ntawm nplooj ntawv no.

Kauj ruam 8

Xa mus rau scripting txheej. Nias F9 rau ntawm tus thawj ncej. Sau cov ntawv editor thiab sau tus nqi: nres (); thiab tom qab ntawd nias qhov chaw kab. Ntawm txoj kab tshiab, nkag rau qhov haujlwm uas qhov no lossis nplooj ntawv ntawd yuav qhib, nyob ntawm seb tus twg nyob hauv pob ntawv xaiv yuav raug xaiv. Yog li, thawj lub pob yuav sib haum nrog txoj haujlwm: kev ua haujlwm button1_clicked (e: MouseEvent): tsis muaj dab tsi {gotoAndStop ("page1"); }

Kauj Ruam 9

Qhia meej txog cov code zoo li: button1.addEventListener (MouseEvent. CLICK, button_clicked1); …

Pom zoo: