網頁全螢幕化的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" />
如此一來就可以完成這樣的效果囉!也可以參考一下範例頁面
Ivermectin Pharm Store Ivermectin Pharm ivermectin 3mg
http://paxlovid.ink/# Paxlovid.ink
neurontin brand name in india: neurontin 800 mg tablets – neurontin 300 mg price
п»їpaxlovid: Paxlovid.ink – Paxlovid over the counter
http://gabapentinpharm.com/# neurontin 202
buy paxlovid online: paxlovid for sale – Paxlovid.ink
https://amoxilpharm.store/# Amoxil Pharm Store
Paxlovid.ink: Paxlovid.ink – paxlovid covid
https://amoxilpharm.store/# AmoxilPharm
minocycline 100 mg for sale: Ivermectin Pharm – can you buy stromectol over the counter
cost of amoxicillin: AmoxilPharm – AmoxilPharm
http://amoxilpharm.store/# Amoxil Pharm Store
Rybelsus 7mg: semaglutide pharm – buy rybelsus
http://paxlovid.ink/# Paxlovid buy online
Gabapentin Pharm: Gabapentin Pharm – Gabapentin Pharm
Ivermectin Pharm: Ivermectin Pharm – Ivermectin Pharm Store
https://paxlovid.ink/# Paxlovid.ink
rybelsus generic buy rybelsus rybelsus
semaglutide rybelsus price rybelsus price
Ivermectin Pharm Store: Ivermectin Pharm – Ivermectin Pharm
buy semaglutide online: buy rybelsus – buy semaglutide online
https://gabapentinpharm.com/# neurontin 50mg cost
Gabapentin Pharm: 800mg neurontin – Gabapentin Pharm
https://amoxilpharm.store/# Amoxil Pharm Store
AmoxilPharm: AmoxilPharm – AmoxilPharm
Gabapentin Pharm: buy neurontin online no prescription – Gabapentin Pharm
http://gabapentinpharm.com/# Gabapentin Pharm
Paxlovid.ink paxlovid cost without insurance paxlovid cost without insurance
best ed treatment: canadianpharm1st.com – pharmacy medications
mexican rx online: mexicanpharmeasy.com – reputable mexican pharmacies online