網頁全螢幕化的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" />
如此一來就可以完成這樣的效果囉!也可以參考一下範例頁面
пинап казино – пинап казино
Generic 100mg Easy Generic100mgEasy Generic100mgEasy
пин ап казино зеркало: https://pinupkz.life/
пин ап – пин ап вход
пин ап зеркало: https://pinupkz.life/
пин ап зеркало – пин ап зеркало
buy cialis pill cialis without a doctor prescription TadalafilEasyBuy.com
пинап казино: https://pinupkz.life/
пин ап казино: https://pinupkz.life/
Muchos Gracias for your blog post.Much thanks again. Great.
Muchos Gracias for your blog post.
пин ап казино зеркало – пин ап зеркало
pinup 2025: https://pinupkz.life/
Tadalafil Easy Buy TadalafilEasyBuy.com Generic Cialis price
TadalafilEasyBuy.com: Tadalafil Easy Buy – Tadalafil Easy Buy
https://kamagrakopen.pro/# Kamagra Kopen Online
kamagra pillen kopen: Kamagra Kopen – KamagraKopen.pro
https://generic100mgeasy.com/# buy generic 100mg viagra online
Generic 100mg Easy Generic 100mg Easy Generic100mgEasy
TadalafilEasyBuy.com: TadalafilEasyBuy.com – cialis without a doctor prescription
Kamagra Kopen: Kamagra – kamagra jelly kopen
https://generic100mgeasy.shop/# buy generic 100mg viagra online
KamagraKopen.pro Kamagra Kopen Online Kamagra Kopen
https://kamagrakopen.pro/# Officiele Kamagra van Nederland
cialis without a doctor prescription: Tadalafil Easy Buy – Tadalafil Easy Buy
cialis without a doctor prescription: Tadalafil Easy Buy – cialis without a doctor prescription
When someоne writers an piece of writing he/shе retainsthe image оf a user in һis/her brain thathߋw a uѕer can understand it. Thus that’s why this post is perfect.Thanks!My blog ρost – agen poker online
https://tadalafileasybuy.shop/# Tadalafil Easy Buy
Heya i am for the first time here. I came across this board and I to find It truly useful & it helped me out a lot. I am hoping to present one thing back and aid others like you helped me.
Kamagra Kopen Online: Officiele Kamagra van Nederland – kamagra kopen nederland