Kev Siv Flash thev naus laus zis, koj tuaj yeem ua rau koj lub xaib zoo nkauj dua, ntau lub qub thiab nrawm dua txhua lwm lub xaib. Flash qhib kev cia siab dav dav rau cov webmaster - koj tuaj yeem tsim cov qauv tsim tshwj xeeb tshaj plaws, nplooj ntawv txawv txawv, thiab txaus siab rau lub xaib pom nrog kev ntxim nyiam pom. Tsim lub vev xaib ntawm flash tsis yog qhov nyuaj tshwj xeeb - rau qhov no koj xav tau los nruab Adobe Flash CS4 program.
Cov Lus Qhia
Kauj ruam 1
Qhib tau qhov kev zov me nyuam thiab nyem rau ntawm Create New menu los tsim Flash File (Actionscript 3.0). Tom qab ntawd, nyob rau ntawm lub ces kaum sab xis saum toj, nrhiav cov yuam khawm thiab nyem rau nws, thiab tom qab ntawd xaiv tus Tsim Designer. Qhib cov khoom ntu ntawm cov ntaub ntawv tsim thiab teeb nws qhov xav tau loj thiab tom qab sau xim.
Kauj ruam 2
Nyob rau hauv cov khaubncaws sab nraud povtseg vaj huam sib luag, tsim plaub txheej, ib qho ntawm cov ntawv yuav muaj cov ntawv sau, lwm qhov yuav muaj cov nplooj ntawv site, qhov peb yuav muaj cov ntawv qhia zaub mov, thiab lub plaub yuav muaj qhov keeb kwm yav dhau los.
Kauj ruam 3
Tom qab cov khaubncaws sab nraud povtseg tau tsim thiab koj npe rau lawv, nyem "File menu" thiab xaiv Import rau Stage. Hauv qhov tshawb nrhiav uas qhib, qhia kom meej cov duab uas yuav tsum dhau los ua keeb kwm yav dhau los, thiab thauj nws mus rau hauv txheej rau cov duab tom qab.
Kauj ruam 4
Xauv txhua txheej, tshwj tsis yog rau txheej rau cov ntawv qhia zaub mov, kom tiv thaiv kev hloov pauv. Hauv cov ntawv qhia zaub mov, nyem rau ntawm tshooj Windows hauv kab ntawv saum toj thiab xaiv Cheebtsam. Nyem rau ntawm Cov Neeg Txuas Siv ntu ntu thiab nyem rau ntawm lub pob Tab ob zaug kom ua khawm tshwm sim ntawm koj lub tshuab raj.
Kauj ruam 5
Ua tes sau qhov khawm rau qhov chaw xav tau ntawm nplooj ntawv thiab rov ua qhov tsim ntawm cov nyees khawm kom ntau li ntau tau, raws li cov naj npawb ntawm cov ntawv qhia khoom noj. Tom qab tsim cov nyees khawm, mus tom ntej thiab ua kom haum rau lawv. Mus rau ntawm cov vaj huam sib luag zog thiab hloov Instance lub npe parameter kom button1.
Kauj Ruam 6
Tom qab ntawd qhib lub tshuab raj "Window" thiab xaiv Tus Kws Lij Choj Tswj Feem. Ntaus cov ntawv tshiab rau koj lub pob thiab nws lub npe. Ua tib yam nrog tas cov nyees khawm.
Kauj Ruam 7
Hauv qhov toolbar, xaiv cov ntawv sau thiab nyob rau hauv cov chaw qhia meej hom, xim thiab loj ntawm cov font. Sau koj lub npe koj xav tau rau koj lub xaib.
Kauj ruam 8
Tom qab ntawd, mus rau txheej txheej rau nplooj ntawv site thiab siv Rectangle lub cuab tam los kos duab plaub nrog cov xim thiab qhov xav tau, uas yuav dhau los ua cov ntawv thaiv. Tom qab ntawd xaiv txhua cov khaubncaws sab nraud povtseg, khaws cia tus lej Shift tseem ceeb tsis txhob kov cov txheej rau cov ntawv sau, thiab nyem rau ntawm lawv.
Kauj Ruam 9
Nyem rau ntawm Daim Phiaj The copy Frames thiab xaiv cov thav ntawv nyob rau peb txheej. Tom qab ntawd, luag tau nyem rau ntawm lawv dua thiab nyem Paste Frames. Rov ua qhov kev txiav txim kom txog thaum cov nplooj ntawv nce mus txog qhov xav tau.
Kauj ruam 10
Nyem rau ntawm thawj lub thav duab hauv cov nplooj ntawv txheej thiab hauv cov chaw nkag mus rau Daim Ntawv Sau Npe. Hauv Lub Npe kab, nkag rau nplooj 1. Siv cov cuab yeej cov ntawv sau, nkag mus rau cov ntawv ntawm cov nplooj ntawv, muab tso rau ntawm cov duab plaub npaj hauv cov kauj ruam dhau los - cov ntawv thaiv. Ua tib yam nrog rau ntawm nplooj ntawv ntxiv.
Kauj ruam 11
Tom qab ntawv mus rau ntawm scripts txheej thiab nias F9 rau ntawm tus thawj. Cov ntawv sau qhib yuav qhib, uas koj yuav tsum sau nres (); thiab nias qhov chaw ntawv, thiab tom qab ntawd ntawm kab tshiab sau nkag rau qhov haujlwm uas qhib rau nplooj ntawv lossis nplooj ntawv no, nyob ntawm nias ntawm ib los yog lwm lub pob.
Kauj ruam 12
Rau thawj lub pob thiab thawj nplooj, sau cov haujlwm hauv qab no: function khawm1_clicked (e: MouseEvent): void {gotoAndStop ("page1"); }, thiab rau tus thib ob - ua haujlwm button2_clicked (e: MouseEvent): tsis muaj dab tsi {gotoAndStop ("page2"); }. Kuj ntxiv cov lej cim rau cov khawm. Thawj khawm sib raug rau qhov chaws khawm1.addEventListener (MouseEvent. CLICK, button_clicked1); - hloov cov lej, sau tus lej rau txhua lub khawm. Koj lub vev xaib tau npaj txhij - txhua qhov uas tseem tshuav yog los tshaj tawm nws los ntawm txhaj luam tawm Cov khoom tshaj tawm hauv Cov Ntaub Ntawv thiab tshaj tawm hauv lub xaib hauv swf thiab html.