網頁全螢幕化的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" />
如此一來就可以完成這樣的效果囉!也可以參考一下範例頁面
I think this is a real great blog article. Really Great.
https://apotekonlinerecept.com/# apotek online
Kamagra online bestellen: Kamagra kaufen ohne Rezept – Kamagra Original
https://apotheekmax.shop/# Beste online drogist
online apotheek online apotheek ApotheekMax
apotek pa nett: apotek online – apotek pa nett
https://apotheekmax.com/# ApotheekMax
https://apotekonlinerecept.com/# Apoteket online
Apotheek Max: Online apotheek Nederland zonder recept – ApotheekMax
I never thought about it that way, but it makes sense!Static ISP Proxies perfectly combine the best features of datacenter proxies and residential proxies, with 99.9% uptime.
Beste online drogist Betrouwbare online apotheek zonder recept ApotheekMax
I cannot thank you enough for the article post.Much thanks again. Keep writing.
http://kamagrapotenzmittel.com/# Kamagra kaufen
apotek pa nett: apotek online recept – Apotek hemleverans recept
http://kamagrapotenzmittel.com/# Kamagra kaufen
https://apotekonlinerecept.com/# Apotek hemleverans recept
ApotheekMax online apotheek de online drogist kortingscode
misoprostol cost – orlistat 120mg over the counter diltiazem sale
apotek online recept: Apotek hemleverans idag – apotek online recept
https://apotekonlinerecept.shop/# apotek pa nett
Thanks a lot for the blog.Much thanks again. Much obliged.
Apotek hemleverans idag: apotek pa nett – apotek online recept
Apotek hemleverans idag Apoteket online Apotek hemleverans idag
https://kamagrapotenzmittel.shop/# Kamagra online bestellen
https://kamagrapotenzmittel.com/# Kamagra Oral Jelly
Kamagra Oral Jelly: Kamagra Oral Jelly kaufen – Kamagra Gel
Kamagra online bestellen: Kamagra Gel – Kamagra Oral Jelly
https://kamagrapotenzmittel.shop/# Kamagra kaufen ohne Rezept
prednisolone cough syrup 325443009 prednisolone is prednisolone a short acting steroid what is prednisolone syrup used for
Kamagra Oral Jelly kaufen Kamagra Gel Kamagra Original