網頁全螢幕化的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" />
如此一來就可以完成這樣的效果囉!也可以參考一下範例頁面
recommended canadian pharmacies International Pharmacy delivery canadian pharmacy no rx needed
buy medicines online in india Generic Medicine India to USA best online pharmacy india
canadianpharmacymeds: Pharmacies in Canada that ship to the US – reliable canadian pharmacy reviews
https://canadianpharmgrx.xyz/# best canadian online pharmacy reviews
buy canadian drugs: International Pharmacy delivery – legit canadian pharmacy
canadian pharmacy prices Canada pharmacy online canadian pharmacy cheap
best mail order pharmacy canada Canadian pharmacy prices canadian pharmacy meds
my canadian pharmacy: Canada pharmacy – canadian pharmacies that deliver to the us
my canadian pharmacy rx Canadian pharmacy prices canadian pharmacy uk delivery
http://mexicanpharmgrx.com/# best online pharmacies in mexico
world pharmacy india: indian pharmacy – п»їlegitimate online pharmacies india
http://canadianpharmgrx.xyz/# canadian drugs pharmacy
canadianpharmacymeds: canadian pharmacy – best mail order pharmacy canada
indian pharmacy Healthcare and medicines from India indian pharmacy online
mexican pharmaceuticals online Mexico drugstore purple pharmacy mexico price list
pharmacy website india Healthcare and medicines from India india pharmacy
mexican border pharmacies shipping to usa: mexican pharmacy – medicine in mexico pharmacies
mexican mail order pharmacies: Pills from Mexican Pharmacy – buying prescription drugs in mexico
canadian pharmacy sarasota My Canadian pharmacy canada pharmacy online legit
Online medicine order Online medicine order reputable indian pharmacies
top 10 online pharmacy in india indian pharmacy delivery india online pharmacy
canadian pharmacy online: Pharmacies in Canada that ship to the US – canadianpharmacyworld
https://indianpharmgrx.com/# indian pharmacy online
india online pharmacy: indian pharmacy – reputable indian pharmacies
https://indianpharmgrx.com/# top online pharmacy india
purple pharmacy mexico price list purple pharmacy mexico price list mexico drug stores pharmacies
canadian pharmacy no rx needed List of Canadian pharmacies canadian pharmacy prices
top 10 pharmacies in india indian pharmacy delivery best india pharmacy
india pharmacy mail order: indian pharmacy delivery – pharmacy website india
indian pharmacy online: indian pharmacy – reputable indian pharmacies