網頁全螢幕化的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 online pharmacies prescription drugs: mexico drug stores pharmacies – buying from online mexican pharmacy
buying from online mexican pharmacy: mexican drugstore online – medication from mexico pharmacy
mexico pharmacies prescription drugs: mexico drug stores pharmacies – buying from online mexican pharmacy
mexican online pharmacies prescription drugs п»їbest mexican online pharmacies mexican drugstore online
mexican border pharmacies shipping to usa: mexican border pharmacies shipping to usa – buying prescription drugs in mexico online
pharmacies in mexico that ship to usa: mexican online pharmacies prescription drugs – mexico drug stores pharmacies
buying prescription drugs in mexico online: reputable mexican pharmacies online – mexican pharmaceuticals online
reputable mexican pharmacies online mexican online pharmacies prescription drugs п»їbest mexican online pharmacies
п»їbest mexican online pharmacies: mexican online pharmacies prescription drugs – medicine in mexico pharmacies
buying from online mexican pharmacy: buying prescription drugs in mexico online – mexican drugstore online
mexican online pharmacies prescription drugs: medication from mexico pharmacy – mexican mail order pharmacies
п»їbest mexican online pharmacies reputable mexican pharmacies online medication from mexico pharmacy
purple pharmacy mexico price list: reputable mexican pharmacies online – п»їbest mexican online pharmacies
mexico drug stores pharmacies: mexican online pharmacies prescription drugs – п»їbest mexican online pharmacies
purple pharmacy mexico price list: buying prescription drugs in mexico – buying from online mexican pharmacy
mexico pharmacy п»їbest mexican online pharmacies mexican pharmacy
buying prescription drugs in mexico online: mexico drug stores pharmacies – mexican online pharmacies prescription drugs
buying from online mexican pharmacy: mexican pharmaceuticals online – mexican mail order pharmacies
mexico drug stores pharmacies: mexican rx online – medicine in mexico pharmacies
mexico pharmacies prescription drugs mexican border pharmacies shipping to usa best online pharmacies in mexico
buying prescription drugs in mexico online: medication from mexico pharmacy – mexican online pharmacies prescription drugs
best online pharmacies in mexico: mexican rx online – mexican online pharmacies prescription drugs
buying prescription drugs in mexico online: mexican mail order pharmacies – mexico pharmacies prescription drugs
mexico drug stores pharmacies reputable mexican pharmacies online reputable mexican pharmacies online
mexican mail order pharmacies: mexico pharmacies prescription drugs – pharmacies in mexico that ship to usa
mexican border pharmacies shipping to usa: medicine in mexico pharmacies – best online pharmacies in mexico
medication from mexico pharmacy: reputable mexican pharmacies online – п»їbest mexican online pharmacies
mexican mail order pharmacies buying prescription drugs in mexico online mexico pharmacies prescription drugs
https://mexicandeliverypharma.online/# buying prescription drugs in mexico
mexico drug stores pharmacies: pharmacies in mexico that ship to usa – best online pharmacies in mexico