Web студия "GrandView"
  Главная   Написать Контакты
   
   
О проекте
Руководство php
 

swf_definebitmap

(PHP 4, PECL)

swf_definebitmap -- Define a bitmap

Description

void swf_definebitmap ( int objid, string image_name )

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.



swf_definefont> <swf_closefile
Last updated: Fri, 26 Jan 2007
 
add a note add a note User Contributed Notes
swf_definebitmap
hotkey at hehe dot com
15-Sep-2001 05:26
Since hundreds of people asked me the same:
LIB_SWF has problems displaying images on Windows-Servers.
I__C-A-N___N-O-T__help you! It just DOES NOT SEEM TO WORK ON WINDOWS!!. Get yourself a Linux-Server or try Ming (www.opaque.net) instead.
hotkey at hehe dot com
02-May-2001 10:32
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!
tbma at usa dot net
10-Nov-2000 12:44
"SWFBIN" environment variable will be used to find the program imgtofi. not "SWFBINPATH" as documentation says.
juergen at info-age dot net
30-Jun-2000 07:59
to use this function, you need "bin/imgtofi" or/and "bin/pstoff" from the libswf distribution

swf_definefont> <swf_closefile
Last updated: Fri, 26 Jan 2007
 
 
Новости
11 июля 2007
Сайт запущен
© 2007 info@grandviewstudio.com

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/sites/grandviewstudiocom/www/65f67d67a94ad980786580ae69e11c07/sape.php on line 324

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/sites/grandviewstudiocom/www/65f67d67a94ad980786580ae69e11c07/sape.php on line 330
Z058440144362 Z348613067571