Hi!
I'm currently developing a HTML2SWF php, and I had serious problems displaying images...
swf_definebitmap() does not seem to work for "just displaying" a picture, e.g.
--------
swf_definebitmap(1,"myfile.gif");
swf_placeobject(1,10);
--------
(The image won't show up as expected)
...BUT...
everything worX fine when filling a shape with a picture, e.g.:
---------
swf_definebitmap(1,"myfile.gif");
swf_startshape(2);
swf_shapelinesolid(0.1,0.1,0.1,1,0.2);
swf_shapefillbitmapclip(1);
swf_shapearc(50,50,100,0,360);
swf_endshape(2);
swf_placeobject(2,10);
---------
Hope, I could help some guys out there!
regards
HotKey
P.S. php rulez!
swf_definebitmap
(PHP 4)
swf_definebitmap — Définit une image bitmap
Description
void swf_definebitmap
( int $objid
, string $image_name
)
swf_definebitmap() définit une bitmap à partir d'une image au format GIF, JPEG, RGB ou FI.
Liste de paramètres
- objid
-
L'identifiant de l'objet SWF.
- image_name
-
Une image GIF, JPEG, RGB ou FI. L'image sera convertie en Flash JPEG ou Flash color map.
Valeurs de retour
Aucune valeur n'est retournée.
swf_definebitmap
hotkey at hehe dot com
02-May-2001 10:32
02-May-2001 10:32
