Shockwave Flash函式庫

swf_openfile

(PHP4 >= 4.0RC2)

swf_openfile ---  開啟新的Shockwave Flash檔案

語法 : void swf_openfile (string filename, float width, float height, float framerate, float r, float g, float b)

說明 : 

swf_openfile( )開啟一個新的檔案filename,width的寛度和heigth的高度,框架(frame)framerate的比率,和背景色紅色 r、綠色 g 、藍色 b。

swf_openfile( )必須是你第一個呼叫的函式,否則你的程式將會引起錯誤。如果你想要送出你的輸出到螢幕(screen),可使檔案名稱為"php://stdout"(4.0.1以上才提供此功能)


上一頁 首頁 下一頁