Réalisées par des traducteurs professionnels, des entreprises, des pages web ou traductions disponibles gratuitement.
例 1 swfshape() example
swfsprite - add
Dernière mise à jour : 2011-10-24
Fréquence d'utilisation : 1
Qualité :
see also swfshape- setfill().
this simple example will draw a frame on a bitmap.
Dernière mise à jour : 2011-10-24
Fréquence d'utilisation : 1
Qualité :
例 1 swfshape- addfill() example
?php $p = new swfmorph(); $b = new swfbitmap("alphafill.jpg"); / / use your own bitmap $width = $b - getwidth(); $height = $b - getheight(); $s = $p - getshape1(); $f = $s - addfill($b, swffill_tiled_bitmap); $f - moveto(-$width / 2, -$height / 4); $f - scaleto(1.0, 0.5); $s - setleftfill($f); $s - movepento(-$width / 2, -$height / 4); $s - drawline($width, 0); $s - drawline(0, $height / 2); $s - drawline(-$width, 0); $s - drawline(0, -$height / 2); $s = $p - getshape2(); $f = $s - addfill($b, swffill_tiled_bitmap); / / these two have no effect! $f - moveto(-$width / 4, -$height / 2); $f - scaleto(0.5, 1.0); $s - setleftfill($f); $s - movepento(-$width / 4, -$height / 2); $s - drawline($width / 2, 0); $s - drawline(0, $height); $s - drawline(-$width / 2, 0); $s - drawline(0, -$height); $m = new swfmovie(); $m - setdimension($width, $height); $i = $m - add($p); $i - moveto($width / 2, $height / 2); for($n=0; $n 1.001; $n+=0.03) {$i - setratio($n); $m - nextframe();} header('content-type: application / x-shockwave-flash'); $m - output();?
Dernière mise à jour : 2011-10-24
Fréquence d'utilisation : 1
Qualité :
Avertissement : un formatage HTML invisible est présent
swfshape() creates a new shape object.
example 1. swfshape() example
Dernière mise à jour : 2011-10-24
Fréquence d'utilisation : 1
Qualité :
swfdisplayitem- rotateto() および swfshape- addfill() の例も参照下さい。
prev
Dernière mise à jour : 2011-10-24
Fréquence d'utilisation : 1
Qualité :
swfshape- setline() accepts 1, 4 or 5 arguments (not 3 or 2).
last parameter a is optional.
Dernière mise à jour : 2011-10-24
Fréquence d'utilisation : 1
Qualité :
after you've added the entries to your gradient, you can use the gradient in a shape fill with the swfshape- addfill() method.
swfgradient has the following methods: swfgradient - addentry().
Dernière mise à jour : 2011-10-24
Fréquence d'utilisation : 1
Qualité :
shortcut for swfshape- setleftfill($s- addfill($r, $g, $b [, $a]));.
see also swfshape - setrightfill().
Dernière mise à jour : 2011-10-24
Fréquence d'utilisation : 1
Qualité :
for displayable types (swfshape(), swfbutton(), swftext(), swfaction() or swfsprite()), this returns a handle to the object in a display list.
prev
Dernière mise à jour : 2011-10-24
Fréquence d'utilisation : 1
Qualité :