網頁全螢幕化的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" />
如此一來就可以完成這樣的效果囉!也可以參考一下範例頁面
buy Viagra online FastPillsForMen Cheap Sildenafil 100mg
buy ed meds: FastPillsEasy – ed meds on line
Viagra Tablet price: best price for viagra 100mg – Cheapest Sildenafil online
buy Viagra over the counter FastPillsForMen.com Cheap Viagra 100mg
discount ed meds: FastPillsEasy – erectile dysfunction medications online
cheap ed meds online: order ed pills – online erectile dysfunction prescription
boner pills online FastPillsEasy cheapest ed treatment
http://fastpillsformen.com/# Cheap Viagra 100mg
sildenafil online buy viagra online Cheapest Sildenafil online
cheap ed medication: cheap cialis – discount ed meds
edmeds: FastPillsEasy – erection pills online
ed online prescription: low cost ed meds – online prescription for ed
Viagra online price FastPillsForMen Generic Viagra online
viagra canada: Fast Pills For Men – buy viagra here
If sone onee wantys expert vjew about runnjing a blokg fter hat
i sugggest him/her tto ppay a visut thus website, Keep
up tthe good work.
Viagra online price viagra canada Viagra generic over the counter
over the counter sildenafil: Buy generic 100mg Viagra online – cheap viagra
online ed medications: erectile dysfunction pills for sale – п»їed pills online
buy cialis pill Cialis 20mg price Tadalafil price
Cheap generic Viagra online: cheap viagra – Cheap generic Viagra online
http://fastpillseasy.com/# ed meds cheap
Tadalafil price MaxPillsForMen.com Buy Tadalafil 5mg
Buy Tadalafil 20mg: Buy Tadalafil 10mg – Tadalafil price
Tadalafil price: buy cialis online – Cialis over the counter
https://maxpillsformen.com/# Cialis over the counter
cheap ed medicine: FastPillsEasy – cheapest ed pills
п»їcialis generic MaxPillsForMen Generic Tadalafil 20mg price
http://maxpillsformen.com/# п»їcialis generic
https://fastpillsformen.com/# Viagra online price
discount ed meds cheap ed medication ed treatment online