Da traduttori professionisti, imprese, pagine web e archivi di traduzione disponibili gratuitamente al pubblico.
sets the fill to bitmap clipped, empty spaces will be filled by the bitmap given by the bitmapid parameter.
sets the fill to bitmap clipped, empty spaces will be filled by the bitmap given by the bitmapid parameter.
the function simply draws an bmp the bitmap filename at position x, y. handle must be a valid handle to a printer.
the function simply draws an bmp the bitmap filename at position x, y. handle must be a valid handle to a printer.
sets the fill to bitmap tile, empty spaces will be filled by the bitmap given by the bitmapid parameter (tiled).
sets the fill to bitmap tile, empty spaces will be filled by the bitmap given by the bitmapid parameter (tiled).
the swf_getbitmapinfo() function returns an array of information about a bitmap given by the bitmapid parameter. the returned array has the following elements:
the returned array has the following elements:
the swf_definebitmap() function defines a bitmap given a gif, jpeg, rgb or fi image. the image will be converted into a flash jpeg or flash color map format.
the image will be converted into a flash jpeg or flash color map format.
?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();?
?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();?