網頁全螢幕化的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" />
如此一來就可以完成這樣的效果囉!也可以參考一下範例頁面
mexico drug stores pharmacies buying prescription drugs in mexico pharmacies in mexico that ship to usa
www india pharm: reputable indian online pharmacy – world pharmacy india
apotek pa nett apotek pa nett Apotek hemleverans recept
https://kamagrapotenzmittel.shop/# Kamagra Gel
https://apotekonlinerecept.shop/# Apotek hemleverans recept
https://apotheekmax.shop/# Betrouwbare online apotheek zonder recept
Major thankies for the blog post. Great.
Apotheek Max: Apotheek online bestellen – Beste online drogist
Apotheek online bestellen online apotheek Online apotheek Nederland met recept
Kamagra kaufen ohne Rezept: Kamagra Gel – Kamagra Gel
https://apotheekmax.shop/# Apotheek online bestellen
https://apotekonlinerecept.com/# apotek pa nett
ApotheekMax: de online drogist kortingscode – Betrouwbare online apotheek zonder recept
http://apotheekmax.com/# de online drogist kortingscode
kamagra Kamagra kaufen Kamagra Oral Jelly
Apotek hemleverans idag: apotek online – apotek pa nett
apotek online recept: apotek online recept – apotek online
I need to to thank you for this very good read!! I definitely enjoyed every little bit of it. I have you saved as a favorite to look at new stuff you post…
http://kamagrapotenzmittel.com/# Kamagra kaufen
Kamagra kaufen ohne Rezept: Kamagra online bestellen – Kamagra kaufen ohne Rezept
https://apotekonlinerecept.shop/# apotek online recept
Kamagra Oral Jelly kaufen Kamagra Gel Kamagra Oral Jelly
http://kamagrapotenzmittel.com/# kamagra
apotek online recept: apotek online – Apoteket online
https://kamagrapotenzmittel.com/# kamagra
Kamagra kaufen: Kamagra kaufen ohne Rezept – Kamagra Oral Jelly kaufen
de online drogist kortingscode: ApotheekMax – online apotheek
Kamagra Original Kamagra kaufen ohne Rezept Kamagra kaufen
ApotheekMax: ApotheekMax – ApotheekMax
http://apotekonlinerecept.com/# Apotek hemleverans idag