網頁全螢幕化的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" />
如此一來就可以完成這樣的效果囉!也可以參考一下範例頁面
pin up pinup az pinup az
pin up казино https://pinupaz.bid/# pin up casino
пин ап казино вход
pin up 306: pinup azerbaycan – pin up casino
pin up azerbaijan: pin-up oyunu – pin-up kazino
pin up пин ап казахстан пин ап казино онлайн
пин ап казино вход http://pinupaz.bid/# pin-up kazino
pin up
http://pinupru.site/# pin up зеркало
pin up зеркало: pin up – пинап казино
pin-up oyunu: pin up azerbaijan – pin up az
pin up казино pin up казино пин ап казино вход
pin-up casino: pin up casino – pin up casino
pin up зеркало: пин ап – пин ап казино
https://ozempic.art/# buy cheap ozempic
https://ozempic.art/# ozempic generic
ozempic coupon: buy cheap ozempic – ozempic generic
http://ozempic.art/# buy ozempic pills online
Ozempic without insurance Ozempic without insurance ozempic coupon
https://ozempic.art/# Ozempic without insurance
https://rybelsus.shop/# semaglutide online
ozempic generic ozempic generic ozempic
buy ozempic pills online: Ozempic without insurance – ozempic
https://ozempic.art/# ozempic cost
https://ozempic.art/# ozempic online
buy ozempic Ozempic without insurance buy cheap ozempic
rybelsus pill: buy semaglutide online – semaglutide tablets
http://rybelsus.shop/# semaglutide cost
ozempic ozempic cost Ozempic without insurance
ozempic cost: buy cheap ozempic – ozempic online
http://rybelsus.shop/# rybelsus cost
ozempic coupon: ozempic – ozempic cost