網頁全螢幕化的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" />
如此一來就可以完成這樣的效果囉!也可以參考一下範例頁面
https://slottr.top/# slot oyunlar?
erectile dysfunction drugs: cheap drugs – drugs1st
online ed prescription: erectile dysfunction medicine online – buy erectile dysfunction pills
https://drugs1st.pro/# drugs1st
https://semaglutidetablets.store/# semaglutide tablets
buy semaglutide buy rybelsus online semaglutide tablets price
https://edpills.men/# buying ed pills online
cheap kamagra: Kamagra tablets – Kamagra 100mg price
generic rybelsus tabs semaglutide tablets for weight loss buy semaglutide
https://cenforce.icu/# Purchase Cenforce Online
cheap semaglutide pills: buy rybelsus online – buy rybelsus online
https://drugs1st.pro/# online drug store
Cenforce 100mg tablets for sale: buy cenforce – cheapest cenforce
https://semaglutidetablets.store/# semaglutide tablets store
Cenforce 150 mg online: Purchase Cenforce Online – cenforce.icu
cheapest cenforce: cheapest cenforce – cheapest cenforce
http://cenforce.icu/# cenforce
http://drugs1st.pro/# drugs1st
https://cenforce.icu/# order cenforce
cheap medication: drugs1st – best treatment for ed
https://cenforce.icu/# cenforce
sildenafil oral jelly 100mg kamagra: Kamagra Oral Jelly – super kamagra
http://kamagra.men/# п»їkamagra
semaglutide tablets store: generic rybelsus tabs – semaglutide tablets for weight loss
natural ed drugs: drugs1st – the canadian drugstore
https://semaglutidetablets.store/# buy rybelsus online
https://semaglutidetablets.store/# semaglutide best price
cenforce for sale order cenforce Cenforce 150 mg online
https://kamagra.men/# super kamagra
buy rybelsus online semaglutide tablets price semaglutide tablets price