網頁全螢幕化的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://ozempic.art/# ozempic cost
ozempic online buy ozempic ozempic cost
semaglutide tablets: semaglutide cost – buy semaglutide online
buy semaglutide online: buy semaglutide pills – buy rybelsus online
buy betnovate cream – buy adapalene medication buy cheap monobenzone
https://ozempic.art/# ozempic cost
https://rybelsus.shop/# semaglutide cost
rybelsus price rybelsus coupon buy rybelsus online
buy cheap ozempic: ozempic cost – buy ozempic
buy ozempic: ozempic online – buy cheap ozempic
buy cheap ozempic: buy ozempic pills online – buy cheap ozempic
ozempic coupon ozempic coupon buy ozempic pills online
https://rybelsus.shop/# rybelsus cost
https://ozempic.art/# buy ozempic
semaglutide online: cheapest rybelsus pills – rybelsus coupon
semaglutide cost semaglutide cost rybelsus pill
semaglutide tablets: semaglutide cost – semaglutide cost
http://rybelsus.shop/# cheapest rybelsus pills
buy ozempic pills online: buy ozempic pills online – ozempic
http://ozempic.art/# ozempic coupon
rybelsus cost rybelsus pill semaglutide tablets
ozempic online: buy ozempic pills online – ozempic generic
https://rybelsus.shop/# semaglutide cost
rybelsus price: buy semaglutide online – semaglutide cost
http://rybelsus.shop/# rybelsus pill
buy semaglutide pills buy semaglutide online buy semaglutide pills
buy semaglutide online: rybelsus coupon – rybelsus coupon
http://ozempic.art/# ozempic cost
ozempic generic: buy ozempic – Ozempic without insurance
rybelsus pill: semaglutide cost – buy rybelsus online