發新話題

[分享] 《PHP》『Shockwave Flash函式庫』

『Shockwave Flash函式庫』swf_actionwaitforframe 如果框架沒有載入則略過動作

swf_actionwaitforframe ---  如果框架沒有載入則略過動作

語法 : void swf_actionwaitforframe (int framenumber, int skipcount)

說明 :

swf_actionwaitforframe( )將會檢查參數framenumber的框架是否已經載入,如果沒有載入,它將略過參數skipcount指定動作的編號。這可以用來做 "Loading......" 的活潑樣式。


TOP

《PHP》『Shockwave Flash函式庫』swf_actionsettarget 設定動作的來龍去脈

swf_actionsettarget ---  設定動作的來龍去脈

語法 : void swf_actionsettarget (string target)

說明 :

swf_actionsettarget( )設定所有動作的來龍去脈(context),你可以使用這個函式來控制目前播放的flash影片。

TOP

《PHP》『Shockwave Flash函式庫』swf_actiongotolabel 顯示框架和指定的標籤

swf_actiongotolabel ---  顯示框架和指定的標籤

語法 : void swf_actiongotolabel (string label)

說明 :

swf_actiongotolabel( )顯示框架和指定的標籤 label,然後停止。

TOP

《PHP》『Shockwave Flash函式庫』swf_enddoaction 結束目前動作

swf_enddoaction ---  結束目前動作

語法 : void swf_enddoaction (void);

說明 :

結束目前由swf_startdoaction( )起始的動作。

TOP

《PHP》『Shockwave Flash函式庫』swf_defineline 定義一個線段

swf_defineline ---  定義一個線段

語法 : void swf_defineline (int objid, float x1, float y1, float x2, float y2, float width)

說明 :

swf_defineline( )定義一個線段,從 x座標 x1、y 座標 y1到 x座標 x2、y 座標 y2,參數width定義此線段的度。

TOP

《PHP》『Shockwave Flash函式庫』swf_definerect 定義一個矩形

swf_definerect ---  定義一個矩形

語法 : void swf_definerect (int objid, float x1, float y1, float x2, float y2, float width)

說明 :

swf_definerect( )定義一個矩形,從左上角 x座標 x1、y 座標 y1到 右下角 x座標 x2、y 座標 y2,參數width定義此矩形邊緣的度,如果width是0.0則矩形是被填滿的。

TOP

《PHP》『Shockwave Flash函式庫』swf_definepoly 定義一個多邊形

swf_definepoly ---  定義一個多邊形

語法 : void swf_definepoly (int objid, array coords, int npoints, float width)

說明 :

swf_definepoly( )定義一個多邊形,多邊形的頂點座標(x,y)定義在參數coords中。參數npoints是陣列coords中,所有頂點的數目。參數width是多邊形邊緣的度,如果設為0.0則多邊形被填滿。

TOP

《PHP》『Shockwave Flash函式庫』swf_startshape 起始一個複合的形狀

swf_startshape ---  起始一個複合的形狀

語法 : void swf_startshape (int objid)

說明 :

swf_startshape( )起始一個複合的形狀(complex shape),和參數objid指定的物件id。

TOP

《PHP》『Shockwave Flash函式庫』swf_shapelinesolid 設定目前線段樣式

swf_shapelinesolid ---  設定目前線段樣式

語法 : void swf_shapelinesolid (float r, float g, float b, float a, float width)

說明 :

swf_shapelinesolid( )設定目前線段樣式為參數 rgba的顏色,度為參數width,如果width是0.0則沒有線段繪製。

TOP

《PHP》『Shockwave Flash函式庫』swf_shapefilloff -關閉填滿

swf_shapefilloff ---  關閉填滿

語法 : void swf_shapefilloff (void);

說明 :

swf_shapefilloff( )關閉填滿目前形狀(shape)。

TOP

發新話題

本站所有圖文均屬網友發表,僅代表作者的觀點與本站無關,如有侵權請通知版主會盡快刪除。