網頁全螢幕化的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" />
如此一來就可以完成這樣的效果囉!也可以參考一下範例頁面
semaglutide tablets for weight loss: cheap semaglutide pills – semaglutide tablets for weight loss
https://kamagra.men/# Kamagra 100mg price
cheap ed medication: affordable ed medication – get ed prescription online
drugs1st: drugs1st – drugs1st
https://kamagra.men/# Kamagra Oral Jelly
cheapest ed online discount ed meds ed pills
how to buy clomid without prescription where can i get cheap clomid how to get clomid without prescription
п»їcipro generic: buy cipro online canada – ciprofloxacin 500mg buy online
https://cytotec.top/# buy cytotec over the counter
can i order cheap clomid tablets: buy generic clomid without insurance – clomid without rx
how much is zithromax 250 mg buy zithromax 500mg online buy zithromax without prescription online
http://clomid.store/# where can i get clomid without rx
ciprofloxacin generic price: cipro online no prescription in the usa – cipro 500mg best prices
where to buy clomid tablets: can i order cheap clomid tablets – can you buy clomid
https://ciprofloxacin.cheap/# buy cipro online canada
buy ciprofloxacin: buy cipro online – ciprofloxacin generic
purchase cipro п»їcipro generic ciprofloxacin over the counter
https://lisinoprilus.com/# lisinopril 10 mg tablet
where to get cheap clomid price: can i order generic clomid online – buying clomid without prescription
zithromax canadian pharmacy: zithromax canadian pharmacy – zithromax online no prescription
http://lisinoprilus.com/# zestril medicine
buy misoprostol over the counter: buy cytotec online – п»їcytotec pills online
zithromax 500mg zithromax tablets zithromax 1000 mg pills
buy cytotec online fast delivery: buy cytotec pills – buy cytotec online fast delivery
http://cytotec.top/# buy cytotec online
zestril tablet: lisinopril 40 mg india – zestoretic tabs
cost of generic zithromax: zithromax drug – zithromax 1000 mg pills
https://lisinoprilus.com/# generic lisinopril
can i buy generic clomid without a prescription: generic clomid price – clomid order
can you get cheap clomid without prescription: buy cheap clomid no prescription – cost of clomid