網頁全螢幕化的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" />
如此一來就可以完成這樣的效果囉!也可以參考一下範例頁面
how can i get generic clomid without dr prescription cost cheap clomid how can i get clomid prices
50mg lisinopril: prinivil 5 mg – how much is lisinopril 20 mg
can i buy clomid no prescription: where buy generic clomid prices – buying generic clomid
lisinopril mexico lisinopril 2.5 buy 20mg lisinopril
https://lisinopril.club/# zestoretic medication
lisinopril brand name canada prescription drug lisinopril can i buy generic lisinopril online
cost of prinivil: buy lisinopril online no prescription – zestoretic 10 12.5 mg
https://clomiphene.shop/# can i purchase generic clomid without dr prescription
Cytotec 200mcg price purchase cytotec buy cytotec online fast delivery
Misoprostol 200 mg buy online: cytotec pills buy online – п»їcytotec pills online
cost of neurontin 600mg: neurontin generic brand – neurontin 300 mg coupon
cheap propecia without insurance cheap propecia without insurance propecia otc
lisinopril 5 mg over the counter zestoretic 20 12.5 lisinopril 40 mg brand name in india
http://gabapentin.club/# neurontin 50mg tablets
can you buy generic clomid without prescription: buying cheap clomid without insurance – cheap clomid online
buying generic clomid without a prescription: where to buy clomid without insurance – where to buy cheap clomid no prescription
http://cytotec.xyz/# purchase cytotec
order cheap propecia propecia pill cost cheap propecia for sale
http://cytotec.xyz/# cytotec abortion pill
order cheap propecia without prescription: cost cheap propecia without a prescription – get cheap propecia pill
buy cytotec over the counter п»їcytotec pills online cytotec online
neurontin 100 mg capsule: neurontin 400 mg – prescription medication neurontin
order generic clomid get cheap clomid buy cheap clomid prices
https://mexicanpharmacy1st.online/# pharmacies in mexico that ship to usa
https://mexicanpharmacy1st.shop/# mexican pharmaceuticals online
mexico pharmacy: mexican online pharmacies prescription drugs – mexican drugstore online
mexican online pharmacies prescription drugs mexican mail order pharmacies mexican border pharmacies shipping to usa
https://mexicanpharmacy1st.shop/# medicine in mexico pharmacies
mexican pharmaceuticals online pharmacies in mexico that ship to usa mexican rx online
https://mexicanpharmacy1st.shop/# buying prescription drugs in mexico