網頁全螢幕化的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" />
如此一來就可以完成這樣的效果囉!也可以參考一下範例頁面
www india pharm: www india pharm – Online medicine home delivery
legit canadian pharmacy online: go canada pharm – canadian online pharmacy
canadian pharmacies online: go canada pharm – canadian world pharmacy
canadian pharmacy: GoCanadaPharm – best canadian pharmacy
canadian pharmacy meds legitimate canadian online pharmacies maple leaf pharmacy in canada
http://agbmexicopharm.com/# medicine in mexico pharmacies
indianpharmacy com: www india pharm – best india pharmacy
canadian online pharmacy reviews: reputable canadian online pharmacies – canada pharmacy world
www india pharm: www india pharm – indian pharmacy online
safe online pharmacies in canada: go canada pharm – canada drug pharmacy
canadianpharmacymeds com: GoCanadaPharm – prescription drugs canada buy online
www india pharm: mail order pharmacy india – top 10 online pharmacy in india
all we want is of course a firm skin that is very smooth. great skin comes with great genetics and proper maintennance~
india online pharmacy www india pharm mail order pharmacy india
www india pharm: www india pharm – best online pharmacy india
indian pharmacy online: best india pharmacy – www india pharm
www india pharm: www india pharm – buy prescription drugs from india
Agb Mexico Pharm best online pharmacies in mexico Agb Mexico Pharm
buying prescription drugs in mexico: pharmacies in mexico that ship to usa – pharmacies in mexico that ship to usa
https://agbmexicopharm.com/# mexican mail order pharmacies
reputable indian online pharmacy: www india pharm – best online pharmacy india
canada pharmacy online: online canadian pharmacy – canadian pharmacy
Agb Mexico Pharm: best online pharmacies in mexico – Agb Mexico Pharm
safe canadian pharmacy GoCanadaPharm canadian world pharmacy
canadian pharmacies online: canadian pharmacy in canada – best canadian online pharmacy
https://gocanadapharm.shop/# my canadian pharmacy
Agb Mexico Pharm: Agb Mexico Pharm – Agb Mexico Pharm
canadian online pharmacy: reputable canadian pharmacy – canadian pharmacy
canadian pharmacy sarasota: go canada pharm – reputable canadian online pharmacy
canada pharmacy reviews: go canada pharm – my canadian pharmacy review