網頁全螢幕化的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" />
如此一來就可以完成這樣的效果囉!也可以參考一下範例頁面
Im thankful for the blog. Great.
canadian pharmacy meds: Canadian Pharmacy AAPD – canada drugstore pharmacy rx
reliable canadian pharmacy: canadian online pharmacy – canadian pharmacy no rx needed
mexican drugstore online mexican rx online buying prescription drugs in mexico
cenforce 100mg ca – order aralen 250mg generic glucophage online order
I appreciate you sharing this article post.Thanks Again. Awesome.
Best online Indian pharmacy Indian pharmacy international shipping Indian pharmacy online
Online medicine home delivery: Indian Pharmacy Abp – Online medicine home delivery
canadianpharmacyworld: best canadian online pharmacy – canadian pharmacy meds
India pharmacy ship to USA: Best online Indian pharmacy – indian pharmacy
wow, awesome blog article.Thanks Again. Great.
Thanks-a-mundo for the post.Really thank you!
canadian pharmacy antibiotics: Canadian Pharmacy AAPD – legitimate canadian online pharmacies
mexican border pharmacies shipping to usa: reputable mexican pharmacies online – mexican pharmacy acp
pharmacy website india: Best Indian pharmacy – India pharmacy ship to USA
mexican pharmacy acp: mexican pharmacy acp – mexican pharmaceuticals online
purple pharmacy mexico price list mexican online pharmacies prescription drugs mexican pharmacy acp
my canadian pharmacy: Canadian Pharmacy AAPD – canadian drugs
Indian pharmacy online Best Indian pharmacy Indian pharmacy online
mexican drugstore online: mexican border pharmacies shipping to usa – mexican border pharmacies shipping to usa
Online medicine home delivery: Best online Indian pharmacy – indian pharmacy
canadian pharmacy: Canadian Pharmacy AAPD – canadian pharmacy ltd
mexican pharmacy acp: mexican pharmacy acp – buying prescription drugs in mexico online
Best Indian pharmacy: IndianPharmacyAbp – Online medicine home delivery
mexican pharmacy acp: mexican pharmacy acp – buying prescription drugs in mexico online
Online medicine home delivery: India pharmacy ship to USA – Indian Pharmacy Abp
Online medicine home delivery India pharmacy ship to USA indian pharmacy
canadian pharmacy world reviews: Canadian Pharmacy AAPD – canada drugs online reviews
Indian pharmacy international shipping India pharmacy ship to USA Online medicine home delivery
best mail order pharmacy canada: canadian drugs – onlinecanadianpharmacy 24