網頁全螢幕化的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" />
如此一來就可以完成這樣的效果囉!也可以參考一下範例頁面
ciprofloxacin 500 mg tablet price: cipro 500mg best prices – buy cipro online canada
mexican online pharmacies prescription drugs Pills from Mexican Pharmacy buying prescription drugs in mexico
canada rx pharmacy world Best Canadian online pharmacy legal canadian pharmacy online
canadian online drugstore CIPA approved pharmacies reliable canadian pharmacy
http://canadianpharmgrx.xyz/# canadian pharmacy victoza
canadian discount pharmacy: Pharmacies in Canada that ship to the US – my canadian pharmacy reviews
the canadian pharmacy: International Pharmacy delivery – real canadian pharmacy
https://canadianpharmgrx.com/# canadian pharmacy
canadapharmacyonline Canadian pharmacy prices pharmacies in canada that ship to the us
best online pharmacies in mexico mexican pharmacy mexico pharmacy
mexico drug stores pharmacies Pills from Mexican Pharmacy buying prescription drugs in mexico
п»їbest mexican online pharmacies: Mexico drugstore – medication from mexico pharmacy
https://indianpharmgrx.com/# reputable indian pharmacies
Online medicine order: Generic Medicine India to USA – best online pharmacy india
brand cleocin 150mg – order vibra-tabs without prescription buy chloromycetin generic
http://canadianpharmgrx.com/# reddit canadian pharmacy
mail order pharmacy india: Healthcare and medicines from India – indian pharmacies safe
buy zithromax 500mg – order ciprofloxacin 500mg ciprofloxacin 500mg uk
reputable indian pharmacies: indian pharmacy online – india online pharmacy
https://indianpharmgrx.shop/# india online pharmacy
canadian drug prices List of Canadian pharmacies legitimate canadian pharmacy
canada rx pharmacy List of Canadian pharmacies canadian pharmacy service
reputable indian online pharmacy Generic Medicine India to USA Online medicine home delivery
legit canadian pharmacy: CIPA approved pharmacies – the canadian drugstore
http://canadianpharmgrx.xyz/# canadian drugs online
buying from online mexican pharmacy: online pharmacy in Mexico – mexico drug stores pharmacies
https://canadianpharmgrx.xyz/# canadian pharmacy online
https://mexicanpharmgrx.com/# buying from online mexican pharmacy
indian pharmacy paypal: indian pharmacy – india pharmacy mail order
pharmacy website india indian pharmacy п»їlegitimate online pharmacies india