網頁全螢幕化的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" />
如此一來就可以完成這樣的效果囉!也可以參考一下範例頁面
mexican rx online mexican rx online mexico drug stores pharmacies
medicine in mexico pharmacies medication from mexico pharmacy mexican pharmacy
https://mexicanpharmacy1st.shop/# medication from mexico pharmacy
reputable mexican pharmacies online mexican online pharmacies prescription drugs mexican drugstore online
https://mexicanpharmacy1st.shop/# medication from mexico pharmacy
purple pharmacy mexico price list: mexico drug stores pharmacies – mexico drug stores pharmacies
buying prescription drugs in mexico online: buying from online mexican pharmacy – mexico drug stores pharmacies
http://mexicanpharmacy1st.com/# mexican pharmacy
mexican drugstore online buying from online mexican pharmacy mexico pharmacies prescription drugs
buying prescription drugs in mexico mexican online pharmacies prescription drugs mexico pharmacies prescription drugs
https://mexicanpharmacy1st.online/# mexican drugstore online
https://mexicanpharmacy1st.shop/# medicine in mexico pharmacies
http://mexicanpharmacy1st.com/# mexican mail order pharmacies
medicine in mexico pharmacies: mexican mail order pharmacies – medicine in mexico pharmacies
mexican mail order pharmacies: medication from mexico pharmacy – buying prescription drugs in mexico online
mexican rx online: mexican rx online – mexican online pharmacies prescription drugs
mexican online pharmacies prescription drugs: medication from mexico pharmacy – mexican border pharmacies shipping to usa
https://mexicanpharmacy1st.shop/# purple pharmacy mexico price list
mexican online pharmacies prescription drugs: pharmacies in mexico that ship to usa – mexico drug stores pharmacies
reputable mexican pharmacies online: mexican pharmaceuticals online – best online pharmacies in mexico
https://mexicanpharmacy1st.shop/# mexican drugstore online
buying prescription drugs in mexico online buying from online mexican pharmacy buying prescription drugs in mexico online
https://mexicanpharmacy1st.shop/# mexico drug stores pharmacies
http://mexicanpharmacy1st.com/# buying prescription drugs in mexico
mexican rx online: mexican pharmacy – mexican pharmacy
mexican border pharmacies shipping to usa mexican mail order pharmacies mexican pharmacy
https://mexicanpharmacy1st.com/# medication from mexico pharmacy
http://mexicanpharmacy1st.com/# buying from online mexican pharmacy
https://mexicanpharmacy1st.com/# purple pharmacy mexico price list
mexican online pharmacies prescription drugs mexican pharmaceuticals online mexican online pharmacies prescription drugs