網頁全螢幕化的Flash動畫
好一陣子沒更新文章了,因為最近把自己弄得很忙,不過在日前的授課中,有同學問到了要如何在網頁中製作一個可以全螢幕化的Flash動畫,教完了之後想想這個範例應該不用花太久時間,所以就順便在這邊分享一下吧!
首先要先會把swf放在網頁上(廢話),接著在Flash中設置一個按鈕,寫下如下的ActionScript:
btn.addEventListener(MouseEvent.CLICK,fullFn) function fullFn(e:MouseEvent){ if(stage.displayState == StageDisplayState.NORMAL) stage.displayState = StageDisplayState.FULL_SCREEN; else stage.displayState = StageDisplayState.NORMAL; }
另外在網頁上也要在HTML中加入下面的參數:
<param name="allowFullscreen" value="true" />
如此一來就可以完成這樣的效果囉!也可以參考一下範例頁面
pharmacy online https://mexicanpharmeasy.com/# purple pharmacy mexico price list
best over the counter ed pills: canadianpharm1st.com – errection problem cure
ed medications list http://canadianpharm1st.com/# muse ed drug
best ed medications canadian pharm erectile dysfunction pills
top 10 online pharmacy in india: IndianPharmStar – п»їlegitimate online pharmacies india
mexican pharmaceuticals online: mexicanpharmeasy.com – mexican rx online
ed vacuum pumps http://indianpharmstar.com/# online shopping pharmacy india
medication from mexico pharmacy: MexicanPharmEasy – mexican online pharmacies prescription drugs
india pharmacy mail order: indian pharm – india pharmacy
best pharmacy online: canada pharmacy online – best online pharmacy
buy ed pills online http://mexicanpharmeasy.com/# reputable mexican pharmacies online
vitamins for ed canadian pharmacy doctors for erectile dysfunction
п»їbest mexican online pharmacies: mexicanpharmeasy.com – buying prescription drugs in mexico online
mexico drug stores pharmacies: mexican pharm easy – reputable mexican pharmacies online
buy anti biotics without prescription http://indianpharmstar.com/# buy prescription drugs from india
top online pharmacy india: indian pharm – buy prescription drugs from india
viagra without a doctor prescription http://canadianpharm1st.com/# over the counter ed remedies
mexican rx online: Mexican Pharm – mexico drug stores pharmacies
buy prescription drugs from india indian pharm star indian pharmacy online
purple pharmacy mexico price list: mexican pharm easy – buying prescription drugs in mexico
reputable indian online pharmacy: IndianPharmStar – best india pharmacy
ed in young men http://mexicanpharmeasy.com/# mexico drug stores pharmacies
pharmacies in mexico that ship to usa: mexicanpharmeasy.com – buying prescription drugs in mexico
reputable mexican pharmacies online: Pharm Easy – mexican border pharmacies shipping to usa
treatments for ed http://mexicanpharmeasy.com/# mexican drugstore online
indian pharmacy: IndianPharmStar.com – buy prescription drugs from india
herbal ed canadian pharm natural ed remedies
п»їlegitimate online pharmacies india: indian pharmacy – india pharmacy
cheap drugs online http://mexicanpharmeasy.com/# buying prescription drugs in mexico online
mexican online pharmacies prescription drugs: Pharm Easy – medication from mexico pharmacy