Flash yog lub platform tsim cov web siv ntau yam xws li ua kom muaj sia, muaj kev tshaj tawm, kev ua si, yees duab thiab kaw suab. Muaj ob peb txoj hauv kev los ncab cov duab hla txhua nplooj ntawm koj lub xaib.
Cov Lus Qhia
Kauj ruam 1
Siv cov cuab yeej web page layout xws li https://makecode.ru/theme/css-30/CSS 3.0. Ua tsaug rau cov khoom lag luam keeb kwm yav dhau los, nws yuav muab cov duab ntawm qhov ntsuas. Nkag mus rau qhov tseem ceeb hauv cov khoom (em, cm, px, thiab lwm yam) thiab raws li feem pua (qhov no teeb tsa qhov loj ntawm cov duab mus rau qhov dav lossis qhov siab ntawm lub caij). Yog tias koj hais kom meej ib tus nqi, ces qhov thib ob yuav tau txais qhov xwm txheej pib. Yog tias koj teeb tsa lossis npog, daim duab yuav muaj kev sib txig sib sau rau ntawm qhov chaw tsis muaj chaw, thiab nws lub chaw nruab nrab yuav ua ke nrog qhov chaw ntawm nplooj ntawv. Cov qauv no ua haujlwm hauv browsers: Opera, Safari, Chrome Xijpeem. Yog tias koj xav pom Flash hauv Mozilla Firefox, hauv kab "khoom" qhia kom meej hom duab "thaiv" rau nws. Txwv tsis pub, qhov chaw ntsug ntsug yuav nyob rau hauv daim duab hauv qhov browser.
Kauj ruam 2
Txhawm rau kom me me qhov teeb nyem, nkag * * npoo: 0; padding: 0} ntawm nplooj browser. Hauv qhov browser tshwj xeeb, cov cai no yuav ua haujlwm sib txawv (txhua tus poob los ntawm lub neej ntawd). Nco ntsoov, koj tuaj yeem tsim teeb nyem thiab tsis txwv lub dav kom 100%. Hauv qhov no, sau lub cim npe ntawm lub cev {tso saib: inline;}. Nws yuav tshem tawm cov ciam teb nyob ib ncig ntawm daim duab.
Kauj ruam 3
Yog tias koj xav tau nce qhov loj me ntawm cov duab txav mus los (clip, video), sim tsim qhov "roj hmab" nyem uas yuav hloov pauv qhov browser nkag kom tiav. Ua ntej tshaj plaws, koj yuav tsum tsim cov qauv onResize, uas yuav npaj cov duab los teb rau cov kev hloov pauv ntawm qhov loj me ntawm lub qhov rais. Tom qab ntawd khi qhov khoom mus rau Theem Chav Kawm kom nws pib tau txais cov ntaub ntawv hais txog browser qhov rais resizing. Theem muaj qee lub zog zoo li qub. Hauv qhov no, koj yuav xav tau Stage.scaleMode = "noScale" hom, uas yuav tsis nplai cov yeeb yaj kiab kom tiav raws li qhov ntev ntawm lub qhov rais, thiab yuav tsis ncab cov ntsiab lus hauv Flash.