text
stringlengths
1
254
output
stringlengths
2
255
swfbitmap() creates a new SWFBitmap object from the Jpeg or DBL file named filename. alphafilename indicates a MSK file to be used as an alpha mask for a Jpeg image.
swfbitmap() creates a new SWFBitmap object from the Jpeg or DBL file named filename. alphafilename indicates a MSK file to be used as an alpha mask for a Jpeg image.
SWFBitmap has the following methods: swfbitmap - getwidth() and swfbitmap - getheight().
注意 We can only deal with baseline (frame 0) jpegs, no baseline optimized or progressive scan jpegs!
The reason for this is that I don' t want a dependency on the png library in ming - autoconf should solve this, but that's not set up yet.
SWFBitmap has the following methods: swfbitmap- getwidth() and swfbitmap- getheight().
Example 2. swfbitmap() example
例 1Import PNG files
SWFBitmap - getWidth
And you can put an alpha mask on a jpeg fill.
swfbutton_keypress
例 2 swfbitmap() example
Warning
(no version information, might be only in CVS)
Use this function at your own risk.
この関数は、 実験的 なステータスにあります。これは、この関数の 動作、関数名、ここで書かれていること全てがPHPの将来のバージョンで予告 なく変更される可能性があることを意味します。注意を喚起するとともに自分 のリスクでこの関数を使用して下さい。
Prev
See also swfbutton- addshape() and SWFAction().
Warning
(no version information, might be only in CVS)
Use this function at your own risk.
この関数は、 実験的 なステータスにあります。これは、この関数の 動作、関数名、ここで書かれていること全てがPHPの将来のバージョンで予告 なく変更される可能性があることを意味します。注意を喚起するとともに自分 のリスクでこの関数を使用して下さい。
This function is EXPERIMENTAL.
(PHP 4 = 4.0.5)
Use this function at your own risk.
この関数は、 実験的 なステータスにあります。これは、この関数の 動作、関数名、ここで書かれていること全てがPHPの将来のバージョンで予告 なく変更される可能性があることを意味します。注意を喚起するとともに自分 のリスクでこの関数を使用して下さい。
Roll over it, click it, see it call action code.
swfbutton() creates a new Button. Roll over it, click it, see it call action code. Swank.
SWFButton has the following methods: swfbutton - addshape(), swfbutton - setup(), swfbutton - setover() swfbutton - setdown(), swfbutton - sethit() swfbutton - setaction() and swfbutton - addaction().
SWFButton has the following methods: swfbutton- addshape(), swfbutton- setup(), swfbutton- setover() swfbutton- setdown(), swfbutton- sethit() swfbutton- setaction() and swfbutton- addaction().
Example 1. swfbutton() example
This simple example will show your usual interactions with buttons: rollover, rollon, mouseup, mousedown, noaction.
This simple example will enables you to drag draw a big red button on the windows.
例 1 swfbutton() example
Example 2. swfbutton - addaction() example
This simple example will enables you to drag draw a big red button on the windows. No drag-and-drop, just moving around.
SWFDisplayItem - addColor
例 2 swfbutton- addaction() example
Warning
(PHP 4 = 4.0.5)
Prev
この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。
Warning
(no version information, might be only in CVS)
Use this function at your own risk.
この関数は、 実験的 なステータスにあります。これは、この関数の 動作、関数名、ここで書かれていること全てがPHPの将来のバージョンで予告 なく変更される可能性があることを意味します。注意を喚起するとともに自分 のリスクでこの関数を使用して下さい。
Alias for addAction( shape, SWFBUTTON_MOUSEUP). action is a swfaction().
swfbutton- setaction() sets the action to be performed when the button is clicked. Alias for addAction(shape, SWFBUTTON_MOUSEUP). action is a swfaction().
Prev
See also swfbutton- addshape() and SWFAction().
Warning
(no version information, might be only in CVS)
The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP.
この関数は、 実験的 なステータスにあります。これは、この関数の 動作、関数名、ここで書かれていること全てがPHPの将来のバージョンで予告 なく変更される可能性があることを意味します。注意を喚起するとともに自分 のリスクでこの関数を使用して下さい。
swfbutton - setdown() alias for addShape(shape, SWFBUTTON_DOWN).
swfbutton- setdown() alias for addShape(shape, SWFBUTTON_DOWN).
Prev
See also swfbutton- addshape() and SWFAction().
Warning
(no version information, might be only in CVS)
The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP.
この関数は、 実験的 なステータスにあります。これは、この関数の 動作、関数名、ここで書かれていること全てがPHPの将来のバージョンで予告 なく変更される可能性があることを意味します。注意を喚起するとともに自分 のリスクでこの関数を使用して下さい。
swfbutton - sethit() alias for addShape(shape, SWFBUTTON_HIT).
swfbutton- sethit() alias for addShape(shape, SWFBUTTON_HIT).
Prev
See also swfbutton- addshape() and SWFAction().
Warning
(no version information, might be only in CVS)
The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP.
この関数は、 実験的 なステータスにあります。これは、この関数の 動作、関数名、ここで書かれていること全てがPHPの将来のバージョンで予告 なく変更される可能性があることを意味します。注意を喚起するとともに自分 のリスクでこの関数を使用して下さい。
swfbutton - setover() alias for addShape(shape, SWFBUTTON_OVER).
swfbutton- setup() alias for addShape(shape, SWFBUTTON_OVER).
Prev
See also swfbutton- addshape() and SWFAction().
Warning
(no version information, might be only in CVS)
The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP.
この関数は、 実験的 なステータスにあります。これは、この関数の 動作、関数名、ここで書かれていること全てがPHPの将来のバージョンで予告 なく変更される可能性があることを意味します。注意を喚起するとともに自分 のリスクでこの関数を使用して下さい。
swfbutton - setup() alias for addShape(shape, SWFBUTTON_UP).
swfbutton- setup() alias for addShape(shape, SWFBUTTON_UP).
Prev
See also swfbutton- addshape() and SWFAction().
(PHP 4)
(PHP 4)
If the return_file parameter is set then the contents of the SWF file are returned from the function.
swf_openfile() 関数によりオープンされたファイルを 閉じます。パラメータ return_file が設定され ている場合、SWFファイルの内容が関数から返されます。
Creating a simple flash file based on user input and outputting it and saving it in a database
例 1 ユーザの入力に基づき簡単なflashファイルを生成し、出力します。ま た、データベースにこれを保存します。
(PHP 4)
(PHP 4)
The image will be converted into a Flash JPEG or Flash color map format.
関数 swf_definebitmap() は指定したGIF,JPEG,RGB,FIイメージの ビットマップを定義します。 イメージはFlash JPEGまたはFlashカラーマップフォーマットに変換されます。
(PHP 4)
(PHP 4)
It then sets the font given by fontname to the current font.
関数 swf_definefont() は、パラメータ fontname で指定したフォントを定義し、パラメータ fontid で指定した IDに設定します。この関数は、 fontname で指定したフォントを カレントのフォントに設定します。
(PHP 4)
(PHP 4)
Up to the x coordinate given by the x2 parameter and the y coordinate given by the y2 parameter.
swf_defineline() は、x座標をパラメータ x1 、y座標を y1 で指定 した座標から線を引きます。線は、x座標を x2 、 y座標を y2 で指定する点まで引かれます。 幅をパラメータ width で定義することも可能です。
(PHP 4)
(PHP 4)
The parameter npoints is the number of overall points that are contained in the array given by coords.
関数 swf_definepoly() はx,y座標の配列で指定した ポリゴンを定義します。 (座標はパラメータ coords で定義します) パラメータ npoints は、 coords で指定した配列に含まれる全ての点の数です。 width は、ポリゴンの輪郭の幅で、0.0を設定した場合、 ポリゴンは塗りつぶされます。
The swf_definerect() defines a rectangle with an upper left hand coordinate given by the x, x1, and the y, y1.
(PHP 4)
Width of the rectangles border is given by the width parameter, if the width is 0.0 then the rectangle is filled.
swf_definerect() は長方形を定義します。 この際、左上隅の座標のxは x1 、yは y1 となります。右下隅の座標のxは x2 、yは y2 となります。 長方形の輪郭の幅をパラメータ width で指定可 能です。widthが0.0の場合、長方形は塗りつぶされます。
(PHP 4)
(PHP 4)
The docenter is where the word is centered, if docenter is 1, then the word is centered in x.
カレントのフォントおよびフォントサイズを使用してテキスト文字列 (パラメータ str )を定義します。 docenter は単語のセンタリングを定義します。 docenter が1の場合、単語はx方向にセンタリングされます。
Warning
(no version information, might be only in CVS)
Use this function at your own risk.
この関数は、 実験的 なステータスにあります。これは、この関数の 動作、関数名、ここで書かれていること全てがPHPの将来のバージョンで予告 なく変更される可能性があることを意味します。注意を喚起するとともに自分 のリスクでこの関数を使用して下さい。
The color is given in its RGB form.
swfdisplayitem- addcolor() adds the color to this item's color transform. The color is given in its RGB form.
It must have been added using the swfmovie - add().
The object may be a swfshape(), a swfbutton(), a swftext() or a swfsprite() object. It must have been added using the swfmovie- add().
Warning
(no version information, might be only in CVS)
The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP.
この関数は、 実験的 なステータスにあります。これは、この関数の 動作、関数名、ここで書かれていること全てがPHPの将来のバージョンで予告 なく変更される可能性があることを意味します。注意を喚起するとともに自分 のリスクでこの関数を使用して下さい。
swfdisplayitem() creates a new swfdisplayitem object.
swfdisplayitem() creates a new swfdisplayitem object.
After you define a shape, a text object, a sprite, or a button, you add it to the movie, then use the returned handle to move, rotate, scale, or skew the thing.
Here's where all the animation takes place. After you define a shape, a text object, a sprite, or a button, you add it to the movie, then use the returned handle to move, rotate, scale, or skew the thing.
Warning
(no version information, might be only in CVS)
The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP.
この関数は、 実験的 なステータスにあります。これは、この関数の 動作、関数名、ここで書かれていること全てがPHPの将来のバージョンで予告 なく変更される可能性があることを意味します。注意を喚起するとともに自分 のリスクでこの関数を使用して下さい。
swfdisplayitem - move() moves the current object by (dx, dy) from its current position.
swfdisplayitem- move() moves the current object by (dx, dy) from its current position.
It must have been added using the swfmovie - add().
The object may be a swfshape(), a swfbutton(), a swftext() or a swfsprite() object. It must have been added using the swfmovie- add().
Prev
See also swfdisplayitem- moveto().
Warning
(no version information, might be only in CVS)
The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP.
この関数は、 実験的 なステータスにあります。これは、この関数の 動作、関数名、ここで書かれていること全てがPHPの将来のバージョンで予告 なく変更される可能性があることを意味します。注意を喚起するとともに自分 のリスクでこの関数を使用して下さい。
swfdisplayitem - moveto() moves the current object to (x, y) in global coordinates.
swfdisplayitem- moveto() moves the current object to (x, y) in global coordinates.
It must have been added using the swfmovie - add().
The object may be a swfshape(), a swfbutton(), a swftext() or a swfsprite() object. It must have been added using the swfmovie- add().
Prev
See also swfdisplayitem- move().
Warning
(no version information, might be only in CVS)
The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP.
この関数は、 実験的 なステータスにあります。これは、この関数の 動作、関数名、ここで書かれていること全てがPHPの将来のバージョンで予告 なく変更される可能性があることを意味します。注意を喚起するとともに自分 のリスクでこの関数を使用して下さい。
swfdisplayitem - multcolor() multiplies the item's color transform by the given values.
swfdisplayitem- multcolor() multiplies the item's color transform by the given values.
It must have been added using the swfmovie - add().
The object may be a swfshape(), a swfbutton(), a swftext() or a swfsprite() object. It must have been added using the swfmovie- add().
Example 1. swfdisplayitem - multcolor() example
This simple example will modify your picture's atmospher to Halloween (use a landscape or bright picture).
SWFDisplayItem - moveTo
例 1 swfdisplayitem- multcolor() example
Warning
(no version information, might be only in CVS)
The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP.
この関数は、 実験的 なステータスにあります。これは、この関数の 動作、関数名、ここで書かれていること全てがPHPの将来のバージョンで予告 なく変更される可能性があることを意味します。注意を喚起するとともに自分 のリスクでこの関数を使用して下さい。
swfdisplayitem - remove() removes this object from the movie's display list.
swfdisplayitem- remove() removes this object from the movie's display list.
It must have been added using the swfmovie - add().
The object may be a swfshape(), a swfbutton(), a swftext() or a swfsprite() object. It must have been added using the swfmovie- add().
Prev
See also swfmovie- add().
Warning
(no version information, might be only in CVS)
The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP.
この関数は、 実験的 なステータスにあります。これは、この関数の 動作、関数名、ここで書かれていること全てがPHPの将来のバージョンで予告 なく変更される可能性があることを意味します。注意を喚起するとともに自分 のリスクでこの関数を使用して下さい。
swfdisplayitem - rotate() rotates the current object by ddegrees degrees from its current rotation.
swfdisplayitem- rotate() rotates the current object by ddegrees degrees from its current rotation.
It must have been added using the swfmovie - add().
The object may be a swfshape(), a swfbutton(), a swftext() or a swfsprite() object. It must have been added using the swfmovie- add().
Prev
See also swfdisplayitem- rotateto().
Warning
(no version information, might be only in CVS)
The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP.
この関数は、 実験的 なステータスにあります。これは、この関数の 動作、関数名、ここで書かれていること全てがPHPの将来のバージョンで予告 なく変更される可能性があることを意味します。注意を喚起するとともに自分 のリスクでこの関数を使用して下さい。
swfdisplayitem - rotateto() set the current object rotation to degrees degrees in global coordinates.
swfdisplayitem- rotateto() set the current object rotation to degrees degrees in global coordinates.
It must have been added using the swfmovie - add().
The object may be a swfshape(), a swfbutton(), a swftext() or a swfsprite() object. It must have been added using the swfmovie- add().
Pretty nice.
This example bring three rotating string from the background to the foreground. Pretty nice.
Prev
See also swfdisplayitem- rotate().
Warning
(no version information, might be only in CVS)
The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP.
この関数は、 実験的 なステータスにあります。これは、この関数の 動作、関数名、ここで書かれていること全てがPHPの将来のバージョンで予告 なく変更される可能性があることを意味します。注意を喚起するとともに自分 のリスクでこの関数を使用して下さい。
swfdisplayitem - scale() scales the current object by (dx, dy) from its current size.
swfdisplayitem- scale() scales the current object by (dx, dy) from its current size.
It must have been added using the swfmovie - add().
The object may be a swfshape(), a swfbutton(), a swftext() or a swfsprite() object. It must have been added using the swfmovie- add().