網頁全螢幕化的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://indianpharmacyabp.com/# Indian Pharmacy Abp
mexico drug stores pharmacies
https://indianpharmacyabp.com/# IndianPharmacyAbp
pharmacies in mexico that ship to usa
mexican pharmacy acp: medicine in mexico pharmacies – mexican pharmacy acp
buying prescription drugs in mexico: mexican drugstore online – mexican pharmacy acp
India pharmacy ship to USA Indian pharmacy online indian pharmacy
Indian pharmacy online: IndianPharmacyAbp – Indian Pharmacy Abp
canada drugs online review: canadian pharmacy 24h com – legit canadian pharmacy
http://indianpharmacyabp.com/# India pharmacy ship to USA
reputable indian pharmacies
https://mexicanpharmacyacp.shop/# purple pharmacy mexico price list
best online pharmacies in mexico
canadian pharmacies: canadian pharmacy 24 com – canadian valley pharmacy
mexican drugstore online: mexican border pharmacies shipping to usa – mexico drug stores pharmacies
best mail order pharmacy canada: reputable canadian pharmacy – onlinecanadianpharmacy
mexican pharmacy acp mexican drugstore online mexican pharmacy acp
https://indianpharmacyabp.shop/# India pharmacy ship to USA
top 10 pharmacies in india
Indian Pharmacy Abp: IndianPharmacyAbp – India pharmacy ship to USA
https://canadianpharmacyaapd.shop/# pet meds without vet prescription canada
medication from mexico pharmacy
https://topmaxfarma.com/# Top Max Farma
acquistare farmaci senza ricetta
Top Max Farma: Top Max Farma – migliori farmacie online 2024
Top Max Farma Top Max Farma Top Max Farma
farmacia online senza ricetta: Top Max Farma – п»їFarmacia online migliore
https://topmaxfarma.com/# farmacia online piГ№ conveniente
Top Max Farma
Top Max Farma: farmacia online piГ№ conveniente – Top Max Farma
https://farmaciamedic.com/# Farmacia Medic
farmacias online seguras en espaГ±a
Farmacia Medic: Farmacia Medic – Farmacia Medic
https://farmaciamedic.com/# farmacias online seguras en espaГ±a
farmacias online seguras
Farmacia Medic: Farmacia Medic – Farmacia Medic
Fast From India Fast From India Fast From India
online shopping pharmacy india
Fast From India: Online medicine order – Online medicine home delivery
https://fastfromindia.com/# online pharmacy india
Fast From India
indianpharmacy com: top 10 online pharmacy in india – Fast From India