Flash yog thev naus laus zis uas tso cai rau koj los tsim cov ntaub ntawv ntawm cov animation. Nrog lawv cov kev pab, koj tuaj yeem ua daim ntawv tshaj tawm kev tshaj tawm lossis kho koj lub vev xaib nrog cov khoom qab zib, piv txwv, ntxig rau cov duab keeb kwm muaj xim hauv koj lub vev xaib.
Tsim nyog
- - khoos phis tawj nrog siv Is Taws Nem;
- - browser;
- - txuj ci hauv kev ua haujlwm nrog HTML.
Cov Lus Qhia
Kauj ruam 1
Siv cov duab yooj yim tshaj plaws los dai lub vev xaib (cov ntaub ntawv gif), koj tuaj yeem tuaj yeem ntxiv cov ntaub ntawv ua los siv flash technology rau nws. Ua ntej tshaj plaws, tsim cov duab animated hauv.
Kauj ruam 2
Koj tseem tuaj yeem siv cov ntawv tsim duab uas twb tsim muaj nyob hauv Is Taws Nem. Lawv tuaj yeem raug siv ua keeb kwm yav dhau los rau lub vev xaib. Ntxiv cov duab los ua keeb kwm yav dhau los rau koj lub vev xaib kev siv keeb kwm dhau los. Txhawm rau ua qhov no, hauv Daim Ntawv Cim Lub Cev, ua tus txuas rau cov ntawv.
Kauj ruam 3
Ntxig lub eeb thiab lub pob tshab tom qab, rau qhov no rub Swfobject. Js cov ntaub ntawv, hauv qhov browser mus rau qhov txuas https://blog.deconcept.com/swfobject/swfobject.js. Txuag nws rau koj lub computer. Muab cov ntawv no tso nrog cov html-code ntawm nplooj. Txhawm rau ua qhov no, siv tus ntawv sau, piv txwv li:.
Kauj ruam 4
Tom ntej no, ntxig lub teeb nyem rau hauv lub vev xaib. Txhawm rau ua qhov no, siv tus lej. Hauv cov ntawv sau tag ntxiv cov hauv qab no: var fl = tshiab SWFObject ("Ntxig qhov txuas rau cov ntawv flash", "movie", "209", "267", "6"); [B] fl.addParam ("wmode", "opaque"); [/B] (qhov qauv no tso cai rau koj los ua lub ntsej muag nyem.
Kauj ruam 5
Txuas cov cim npe rau hauv qhov kev txiav txim, i.e. thawj "Div", thiab tsuas yog tom qab ntawv sau. Cov qauv no tso cai los ntawm cov kab, nrog rau kom tawm ntawm qhov xwm txheej thaum tus neeg siv hloov tawm ntawm cov zaub ntawm plugins thiab ntawv sau, vim hais tias thaum siv daim ntawv cim npe, thaum koj hover tus cursor dhau ntawm flash file, cov lus "Nyem rau qhib lub tswj no" tshwm. Hauv peb li, qhov no yuav tsis tshwm sim.
Kauj Ruam 6
Txhawm rau kho qhov loj me ntawm flash tom qab rau qhov browser, sim nrog cov "100%", "100%", "8" parameter hauv cov ntawv sau. Koj tseem tuaj yeem tsim lub min-dav: 1000px parameter - rau cov zaub hauv Opera thiab lwm cov browsers, thiab rau Internet Explorer –width: 1000px. Txoj kev no koj tuaj yeem ntxiv teeb nyem rau tom qab ntawm nplooj ntawv.