網頁全螢幕化的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 online pharmacies in mexico: mexican pharmacy acp – mexico drug stores pharmacies
canadian pharmacies compare: canadian pharmacy india – canadian pharmacy 24 com
canadian pharmacy uk delivery: Canadian Pharmacy AAPD – onlinecanadianpharmacy
mexican pharmacy acp: mexican pharmacy acp – mexican border pharmacies shipping to usa
best canadian online pharmacy: Canadian Pharmacy AAPD – canadadrugpharmacy com
https://indianpharmacyabp.com/# IndianPharmacyAbp
best online pharmacies in mexico
canadian pharmacy service: online canadian pharmacy reviews – canadian pharmacy ltd
canadian pharmacy near me: Canadian Pharmacy AAPD – safe reliable canadian pharmacy
atorvastatin 10mg cost – order amlodipine for sale oral lisinopril
mexican pharmacy acp: reputable mexican pharmacies online – mexican pharmacy acp
https://indianpharmacyabp.com/# Best online Indian pharmacy
mexican pharmaceuticals online
Best online Indian pharmacy: Indian pharmacy international shipping – IndianPharmacyAbp
http://indianpharmacyabp.com/# Online medicine home delivery
mexico drug stores pharmacies
canada pharmacy online: Canadian Pharmacy AAPD – canadian pharmacy
Indian pharmacy international shipping: indian pharmacy – Best online Indian pharmacy
IndianPharmacyAbp indian pharmacy online shopping pharmacy india
buying prescription drugs in mexico: mexican pharmacy acp – mexican drugstore online
https://canadianpharmacyaapd.shop/# canada online pharmacy
mexican pharmaceuticals online
mexican pharmacy acp: mexico drug stores pharmacies – п»їbest mexican online pharmacies
http://mexicanpharmacyacp.com/# mexican pharmacy acp
mexican mail order pharmacies
my canadian pharmacy reviews: canadian pharmacy meds reviews – canadian world pharmacy
п»їlegitimate online pharmacies india Indian Pharmacy Abp Best online Indian pharmacy
Best online Indian pharmacy: Indian pharmacy online – Indian pharmacy international shipping
https://canadianpharmacyaapd.com/# canada discount pharmacy
mexican pharmaceuticals online
Online medicine home delivery: Indian pharmacy international shipping – Online medicine home delivery
https://mexicanpharmacyacp.shop/# mexican pharmacy acp
п»їbest mexican online pharmacies
mexican pharmacy acp: mexican pharmaceuticals online – mexican pharmacy acp
canadian pharmacy meds review: Canadian Pharmacy AAPD – safe canadian pharmacy
canada discount pharmacy canadian drugs online canadian world pharmacy
pharmacy in canada: canadian pharmacy ltd – canadian pharmacy