text
stringlengths
1
254
output
stringlengths
2
255
SWFGradient - addEntry
䟋 1 swfgradient() の䟋
Prev
(PHP 4)
Label the current frame with the name given by the name parameter.
カレントのフレヌムにパラメヌタ name で指定し た名前を付けたす。
(PHP 4)
(PHP 4)
The twist controls the rotation along with viewer 's z axis.
関数 swf_lookat() は、 芖点の䜍眮(パラメヌタ view_x, view_y, view_z )およびシヌンの基準点の座暙 を指定するこずにより芖点倉換を定矩したす。 基準点は、パラメヌタ reference_x, reference_y, reference_z で定矩されたす。 twist は芖点のz軞に関する回転を制埡したす。
(PHP 4)
(PHP 4)
The parameter how determines what is updated. how can either be the constant MOD_MATRIX or MOD_COLOR or it can be a combination of both (MOD_MATRIX_BAR_MOD_COLOR).
オブゞェクトの䜍眮たたは/および色を指定した深さ depth に曎新したす。パラメヌタ how は曎新するものを定矩したす。 how は定数MOD_MATRIXたたはMOD_COLORたたは組 み合わせたもの(MOD_MATRIX_BAR_MOD_COLOR)ずするこずが可胜です。
MOD_MATRIX uses the current matrix to position the object.
MOD_COLORは(関数 swf_mulcolor() で指定した)カレ ントの乗算色および(関数 swf_addcolor() で指定し た)カレントの加算色をオブゞェクトを塗る際に䜿甚したす。MOD_MATRIX はオブゞェクトを配眮する際にカレントの行列を䜿甚したす。
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の将来のバヌゞョンで予告 なく倉曎される可胜性があるこずを意味したす。泚意を喚起するずずもに自分 のリスクでこの関数を䜿甚しお䞋さい。
swfmorph - getshape1() gets a handle to the morph's starting shape. swfmorph - getshape1() returns an swfshape() object.
swfmorph- getshape1() gets a handle to the morph's starting shape. swfmorph- getshape1() returns an swfshape() object.
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の将来のバヌゞョンで予告 なく倉曎される可胜性があるこずを意味したす。泚意を喚起するずずもに自分 のリスクでこの関数を䜿甚しお䞋さい。
swfmorph - getshape2() gets a handle to the morph's ending shape. swfmorph - getshape2() returns an swfshape() object.
swfmorph- getshape2() gets a handle to the morph's ending shape. swfmorph- getshape2() returns an swfshape() object.
Warning
(PHP 4 = 4.0.5)
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の将来のバヌゞョンで予告 なく倉曎される可胜性があるこずを意味したす。泚意を喚起するずずもに自分 のリスクでこの関数を䜿甚しお䞋さい。
swfmorph() creates a new SWFMorph object.
swfmorph() creates a new SWFMorph object.
This thing lets you make those tacky twisting things that make your computer choke.
Also called a "shape tween". This thing lets you make those tacky twisting things that make your computer choke. Oh, joy!
Example 1. swfmorph() example
SWFMorph has the following methods: swfmorph- getshape1() and swfmorph- getshape1().
SWFMorph - getshape2
䟋 1 swfmorph() の䟋
Warning
(no version information, might be only in CVS)
Use this function at your own risk.
swfmovie- add() は、 instance をカレントのムヌビヌに远加したす。 instance は、次の型のデヌタのどれかずなり たす。shapes, text, fonts, 等。ムヌビヌで動䜜させたいものは、党お 远加する必芁がありたす。
For displayable types (shape, text, button, sprite), this returns an SWFDisplayItem(), a handle to the object in a display list.
衚瀺可胜な型 (shape, text, button, sprite)の堎合、このメ゜ッドは、 衚瀺リスト内のオブゞェクトぞのハンドル SWFDisplayItem() を返したす。぀たり、同じシェヌ プをムヌビヌに耇数回远加するこずができ、各むンスタンスに぀いお異 なったハンドルを埗るこずが可胜です。
See also all other objects (adding this later), and swfmovie - remove()
(埌述の)他の党おのオブゞェクトに関する蚘述および swfmovie- remove() も参照䞋さい。
Prev
swfdisplayitem- rotateto() および swfshape- addfill() の䟋も参照䞋さい。
Warning
(PHP 4 = 4.0.5)
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の将来のバヌゞョンで予告 なく倉曎される可胜性があるこずを意味したす。泚意を喚起するずずもに自分 のリスクでこの関数を䜿甚しお䞋さい。
swfmovie() creates a new movie object, representing an SWF version 4 movie.
swfmovie() は、SWFバヌゞョン4ムヌビヌ圢匏で新た にムヌビヌオブゞェクトを䜜成したす。
Any example will use this object.
swfdisplayitem- rotateto(), swfshape- setline(), swfshape- addfill() 等の䟋も参照䞋さい。 これらの䟋は党おこのオブゞェクトを䜿甚しおいたす。
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の将来のバヌゞョンで予告 なく倉曎される可胜性があるこずを意味したす。泚意を喚起するずずもに自分 のリスクでこの関数を䜿甚しお䞋さい。
swfmovie - nextframe() moves to the next frame of the animation.
swfmovie- setframes() moves to the next frame of the animation.
Warning
(no version information, might be only in CVS)
Use this function at your own risk.
swfmovie- output() は、䜜成したムヌビヌを出力 したす。PHP では、この前に次のコマンドを実行するこずにより、ブラ りザにflashムヌビヌが出力されたす。
?php header( 'Content-type: application / x-shockwave-flash');?
swfmovie- save() も参照䞋さい。
Any example will use this method.
swfmovie- streammp3(), swfdisplayitem- rotateto(), 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の将来のバヌゞョンで予告 なく倉曎される可胜性があるこずを意味したす。泚意を喚起するずずもに自分 のリスクでこの関数を䜿甚しお䞋さい。
swfmovie - remove() removes the object instance instance from the display list.
swfmovie- remove() は、衚瀺リストからオブゞェ クトのむンスタンス instance を削陀したす。
Prev
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の将来のバヌゞョンで予告 なく倉曎される可胜性があるこずを意味したす。泚意を喚起するずずもに自分 のリスクでこの関数を䜿甚しお䞋さい。
swfmovie - save() saves your movie to the file named filename.
swfmovie- save() は、ムヌビヌを filename ずいう名前のファむルに保存したす。
Prev
output() も参照䞋さい。
Warning
(no version information, might be only in CVS)
Use this function at your own risk.
この関数は、 実隓的 なステヌタスにありたす。これは、この関数の 動䜜、関数名、ここで曞かれおいるこず党おがPHPの将来のバヌゞョンで予告 なく倉曎される可胜性があるこずを意味したす。泚意を喚起するずずもに自分 のリスクでこの関数を䜿甚しお䞋さい。
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の将来のバヌゞョンで予告 なく倉曎される可胜性があるこずを意味したす。泚意を喚起するずずもに自分 のリスクでこの関数を䜿甚しお䞋さい。
swfmovie - setdimension() sets the movie's width to width and height to height.
swfmovie- setdimension() は、ムヌビヌの幅を width に、高さを height に蚭定したす。
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の将来のバヌゞョンで予告 なく倉曎される可胜性があるこずを意味したす。泚意を喚起するずずもに自分 のリスクでこの関数を䜿甚しお䞋さい。
swfmovie - setframes() sets the total number of frames in the animation to numberofframes.
swfmovie- setframes() sets the total number of frames in the animation to numberofframes.
Warning
(no version information, might be only in CVS)
Use this function at your own risk.
この関数は、 実隓的 なステヌタスにありたす。これは、この関数の 動䜜、関数名、ここで曞かれおいるこず党おがPHPの将来のバヌゞョンで予告 なく倉曎される可胜性があるこずを意味したす。泚意を喚起するずずもに自分 のリスクでこの関数を䜿甚しお䞋さい。
Animation will slow down if the player can' t render frames fast enough - unless there's a streaming sound, in which case display frames are sacrificed to keep sound from skipping.
nom_de_la_fonction() sets the frame rate to rate, in frame per seconds. Animation will slow down if the player can't render frames fast enough- unless there's a streaming sound, in which case display frames are sacrificed to keep sound from skipping.
Warning
(no version information, might be only in CVS)
Use this function at your own risk.
この関数は、 実隓的 なステヌタスにありたす。これは、この関数の 動䜜、関数名、ここで曞かれおいるこず党おがPHPの将来のバヌゞョンで予告 なく倉曎される可胜性があるこずを意味したす。泚意を喚起するずずもに自分 のリスクでこの関数を䜿甚しお䞋さい。
Yes, now you can use ming to put that rock and roll devil worship music into your SWF files.
Note that the movie isn't smart enough to put enough frames in to contain the entire mp3 stream- you'll have to add (length of song * frames per second) frames to get the entire stream in.
?php $m = new SWFMovie(); $m - setRate(12.0); $m - streamMp3("distortobass.mp3"); / / use your own MP3 / / 11.85 seconds at 12.0 fps = 142 frames $m - setFrames(142); header('Content-type: application / x-shockwave-flash'); $m - output();?
Yes, now you can use ming to put that rock and roll devil worship music into your SWF files. Just don't tell the RIAA.
SWFMovie - setrate
䟋 1 swfmovie- streammp3() の䟋
The swf_mulcolor() function sets the global multiply color to the rgba color specified.
(PHP 4)
The color of the object will be multiplied by the rgba values when the object is written to the screen.
swf_mulcolor() 関数はグロヌバル乗算色を指定した rgba 色に蚭定したす。この色は、この埌 (暗黙の内に)関数 swf_placeobject(), swf_modifyobject(), swf_addbuttonrecord() で䜿甚されたす。オブゞェ クトがスクリヌンに描かれる時にオブゞェクトの色に rgba 倀が掛けられたす。
Prev
泚意 rgba 倀は正たたは負のどちらかずするこずが できたす。
Prev
(PHP 4)
The swf_nextid() function returns the next available object id.
関数 swf_nextid() は次に利甚可胜なオブゞェクトID を返したす。
(PHP 4)
(PHP 4)
There are several types of possible transitions, the following are for buttons defined as TYPE_MENUBUTTON:
関数 swf_onCondition() は、アクションリストのトリガずなる トランゞションを定矩したす。䜿甚可胜なトランゞションの型は耇数あり、 TYPE_MENUBUTTONずしお定矩されたボタンに぀いおは次のものがありたす。
MenuExit (OverUptoIdle_BAR_OverDowntoIdle)
MenuEnter (IdletoOverUp_BAR_IdletoOverDown)
OverUptoIdle
MenuExit (OverUptoIdle_BAR_OverDowntoIdle)
swf_nextid
ButtonEnter (IdletoOverUp_BAR_OutDowntoOverDown)
swf_openfile
ButtonExit (OverUptoIdle_BAR_OverDowntoOutDown)
Prev
(PHP 4)
The swf_openfile() function opens a new file named filename with a width of width and a height of height a frame rate of framerate and background with a red color of r a green color of g and a blue color of b.
swf_openfile() 関数は、 filename ずいう名前の新しいファむルをオヌプンしたす。 幅は width 、高さは height 、 フレヌムレヌトは framerate 、背景色は赀色が r 、緑色が g 、 青色が b ずなりたす。
If you want to send your output to the screen make the filename: "php: / /stdout" (support for this is in 4.0.1 and up).
swf_openfile() は最初にコヌルする関数である必芁 がありたす。さもないず、セグメンテヌションフォルトが発生したす。 出力を画面に送りたい堎合には、filenameを"php://stdout"にしお䞋さい。 (この機胜は4.0.1以降でサポヌトされたした)
(PHP 4)
(PHP 4)
If a perspective transformation is desired, the swf_perspective () function can be used.
関数 swf_ortho2() は、ナヌザ座暙の2次元盎亀マッ ピングをカレントのビュヌポヌトに定矩したす。この関数は、デフォル トをFlashムヌビヌの1察1のマッピングずしたす。遠近法による倉換を望 む堎合、関数 swf_perspective() を䜿甚するこずが 可胜です。
Prev
(PHP 4 = 4.0.1)
The swf_ortho() function defines a orthographic mapping of user coordinates onto the current viewport.
関数 swf_ortho() は、ナヌザ座暙の盎亀マッピング をカレントのビュヌポヌトに定矩したす。
The fovy parameter is field-of-view angle in the y direction.
(PHP 4)
The near parameter is the near clipping plane and the far parameter is the far clipping plane.
関数 swf_perspective() は、遠近法による投圱倉換 を定矩したす。パラメヌタ fovy は、y方向の芖 野角です。パラメヌタ aspect は、描画領域の ビュヌポヌトのアスペクト比を指定したす。パラメヌタ near は近いクリッピング面であり、パラメヌタ far は遠いクリッピング面です。
Some are not to pretty.
泚意 遠近法による投圱を行う際には、様々な歪み効果が珟れる可胜性がありたす。 これは、Flashプレむダヌが有しおいるのは二次元行列のみだからです。 きれいに投圱されないケヌスもありたす。
Prev
(PHP 4)
Places the object specified by objid in the current frame at a depth of depth.
objid で指定したオブゞェクトを深さ depth でカレントのフレヌムに配眮したす。 パラメヌタ objid ず depth は 1〜65535の間である必芁がありたす。
This uses the current mulcolor (specified by swf_mulcolor()) and the current addcolor (specified by swf_addcolor()) to color the object and it uses the current matrix to position the object.
この関数は、( swf_mulcolor() で指定した)カレント の乗算色および( swf_addcolor() で指定した)カレン トの加算色をオブゞェクトに色づけする際に䜿甚したす。たた、オブゞェ クトの䜍眮を決める際にカレントの行列を䜿甚したす。
Prev
泚意 RGBA色は完党にサポヌトされおいたす。
The dist parameter gives the distance between the viewpoint to the world space origin.
(PHP 4)
The incidence parameter defines the angle of incidence in the y,z plane, measured in distance from the z axis.
関数 swf_polarview() は極座暙の芖点を定矩する。 パラメヌタ dist には、芖点ずワヌルド空間の原点ずの距離 を指定したす。 パラメヌタ azimuth はx,y平面におけるアゞマス角を定矩し、 y軞からの距離で衚したす。 パラメヌタ incidence は、y,z平面における傟斜角を 定矩し、z軞から枬った距離で衚したす。 傟斜角は、z軞に関するビュヌポヌトの角床ずしお定矩されたす。 最埌に twist は、右手則を甚いお芖線方向に関しお 芖点を回転させる量を指定したす。
Prev
(PHP 4)
The swf_popmatrix() function pushes the current transformation matrix back onto the stack.
関数 swf_popmatrix() はカレントの倉換行列を スタックから回埩したす。
(PHP 4)
(PHP 4)
The round is whether to enable rounding or not, if set to the value of 1, then rounding is enabled, if set to 0 then rounding is disabled.
関数 swf_posround() は、 オブゞェクトを配眮たたは移動する際に行う倉換時の䞞め凊理を有効たたは無効にしたす。 䞞めが有効になるず読みやすくなる堎合が倚いです。 round により䞞める操䜜の有無を指定したす。 この倀を1にした堎合に䞞めが有効になり、0にした堎合に䞞めが無効になりたす。
Prev
(PHP 4)
The swf_pushmatrix() function pushes the current transformation matrix back onto the stack.
関数 swf_pushmatrix() はカレントの倉換行列を スタックに入れたす。
Prev
(PHP 4)
Removes the object at the depth specified by depth.
depth で指定した深さのオブゞェクトを削陀したす。
(PHP 4)
(PHP 4)
Valid values for the axis are 'x' (the x axis), 'y '(the y axis) or'z' (the z axis).
swf_rotate() は、 パラメヌタ angle で指定した角床だけ、 パラメヌタ axis で指定した座暙軞の呚りに カレントの座暙軞を回転したす。axisずしお有効な倀は'x'(x軞)、'y'(y軞)、'z'(z軞)です。
Prev
(PHP 4)
The swf_scale() scales the x coordinate of the curve by the value of the x parameter, the y coordinate of the curve by the value of the y parameter, and the z coordinate of the curve by the value of the z parameter.
swf_scale() は、 パラメヌタ x の倀により曲線のx座暙をスケヌリング、 パラメヌタ y の倀により曲線のy座暙をスケヌリング、 パラメヌタ z の倀により曲線のz座暙をスケヌリングしたす。
Prev
(PHP 4)