網頁全螢幕化的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" />
如此一來就可以完成這樣的效果囉!也可以參考一下範例頁面
prednisone 10mg buy online: prednisone 20mg price in india – purchase prednisone
where can i get zithromax zithromax 250mg azithromycin zithromax
where can i buy neurontin from canada neurontin 100mg price neurontin cap
https://zithromaxa.store/# zithromax over the counter uk
crestor charm – zetia lap caduet bone
prednisone 1 mg daily prednisone 5 50mg tablet price prednisone 40 mg tablet
doxycycline 50 mg: doxycycline vibramycin – doxy
https://zithromaxa.store/# purchase zithromax z-pak
zithromax 250 mg: how to get zithromax over the counter – zithromax 1000 mg pills
prednisone 20mg by mail order: where can i buy prednisone without prescription – prednisone online for sale
doxycycline order online doxycycline mono where can i get doxycycline
price for 15 prednisone: prednisone no rx – cost of prednisone in canada
how much is zithromax 250 mg where to get zithromax over the counter zithromax pill
5 mg prednisone tablets: prednisone generic cost – buy generic prednisone online
http://prednisoned.online/# cheap prednisone online
online no prescription pharmacy: buy drugs without prescription – online meds without prescription
online canadian pharmacy review: recommended canadian pharmacies – canadian neighbor pharmacy
mexican pharmaceuticals online mexico pharmacy medicine in mexico pharmacies
http://pharmmexico.online/# mexican online pharmacies prescription drugs
canadian pharmacy without prescription: cheapest pharmacy – cheapest pharmacy to get prescriptions filled
http://pharmmexico.online/# mexico drug stores pharmacies
mexican pharmaceuticals online: mexican online pharmacies prescription drugs – mexican pharmaceuticals online
Online medicine home delivery: online shopping pharmacy india – cheapest online pharmacy india
reputable mexican pharmacies online pharmacies in mexico that ship to usa mexican online pharmacies prescription drugs
reputable mexican pharmacies online п»їbest mexican online pharmacies buying from online mexican pharmacy
https://pharmnoprescription.icu/# buy medication online no prescription
https://pharmmexico.online/# mexico pharmacy
http://pharmworld.store/# canadian prescription pharmacy
best online pharmacy without prescriptions online pharmacy no prescriptions how to get prescription drugs from canada
http://pharmnoprescription.icu/# buy pain meds online without prescription