網頁全螢幕化的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" />
如此一來就可以完成這樣的效果囉!也可以參考一下範例頁面
best india pharmacy Online medicine order indian pharmacies safe
online pharmacy india: online shopping pharmacy india – indian pharmacy
viagra at asda pharmacy cheap erectile dysfunction pills online viagra online mexican pharmacy
https://indianpharmacy.company/# indian pharmacy
mail order pharmacy india: indian pharmacy – india pharmacy
https://indianpharmacy.company/# indian pharmacies safe
online pharmacy india Online medicine home delivery mail order pharmacy india
top 10 pharmacies in india: indian pharmacy paypal – india pharmacy mail order
indian pharmacies safe top 10 pharmacies in india indianpharmacy com
priceline pharmacy xenical: online pharmacy jobs – international pharmacy
reputable indian pharmacies: indianpharmacy com – reputable indian online pharmacy
http://indianpharmacy.company/# reputable indian online pharmacy
online pharmacy discount code: indocin online pharmacy – online pharmacy search
https://indianpharmacy.company/# cheapest online pharmacy india
reputable indian pharmacies top online pharmacy india world pharmacy india
mexican mail order pharmacies: mexican mail order pharmacies – mexican pharmaceuticals online
domperidone us pharmacy: sam’s club pharmacy propecia – ed treatment
best ed pills: legitimate mexican pharmacy online – vytorin online pharmacy
reputable indian online pharmacy: Online medicine home delivery – п»їlegitimate online pharmacies india
clopidogrel online pharmacy Nimotop lexapro coupons pharmacy
https://indianpharmacy.company/# india pharmacy mail order
mexican drugstore online mexican online pharmacies prescription drugs mexican mail order pharmacies
buy medicines online in india: india online pharmacy – mail order pharmacy india
https://indianpharmacy.company/# mail order pharmacy india
buy baclofen 25mg pill – order lioresal generic purchase feldene sale
giant pharmacy: online pharmacy fluconazole – anthem online pharmacy
mexico drug stores pharmacies: medication from mexico pharmacy – buying prescription drugs in mexico
reputable indian pharmacies: india pharmacy mail order – Online medicine home delivery
mexican border pharmacies shipping to usa buying prescription drugs in mexico best online pharmacies in mexico
mexico drug stores pharmacies mexico drug stores pharmacies buying prescription drugs in mexico online