網頁全螢幕化的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://88betviet.pro/# 88bet slot
Really appreciate you sharing this post. Keep writing.
order omeprazole 20mg without prescription – atenolol 50mg cost buy atenolol sale
nha cai 88bet: 88bet slot – 188bet 88bet
k8 bet: k8 bet – k8 th? dam
alo 789 dang nh?p alo789hk alo789 chinh th?c
https://alo789.auction/# alo789
http://alo789.auction/# alo789in
https://88betviet.pro/# 88 bet
nha cai 88bet 88bet slot 88 bet
https://alo789.auction/# 789alo
88bet: nha cai 88bet – nha cai 88bet
88 bet: 88bet – 88 bet
Looking forward to reading more. Great blog post.Much thanks again. Great.
https://k8viet.guru/# k8 th? dam
https://alo789.auction/# alo 789
https://alo789.auction/# alo 789
https://alo789.auction/# alo 789
nha cai k8 k8 th? dam nha cai k8
Thanks so much for the article post.Much thanks again. Much obliged.
k8 th? dam: link vao k8 – k8 bet
88 bet: 88bet – 88bet
Im obliged for the blog.Thanks Again. Great.
http://alo789.auction/# alo 789 dang nh?p
Muchos Gracias for your article.Thanks Again. Much obliged.
alo789 chinh th?c alo 789 dang nh?p alo 789 dang nh?p
US Bitcoin reserve prompts $370 million in ETF outflows: Farside
http://alo789.auction/# alo789in
https://88betviet.pro/# 88 bet
keo nha cai 88bet: 88 bet – nha cai 88bet