Page 1 of 1

converting jpg's or gif's or bmp's to swf

Posted: Mon Dec 05, 2005 12:48 am
by amitshetye
hi all,

i want to convert the jpg's or gif's or bmp's to swf from the server dynamically.

is it possible?? :?:

anybody is having any idea??

regards

amit :)

Posted: Mon Dec 05, 2005 2:27 am
by m3mn0n
Yes. Check out Ming.

Posted: Mon Dec 05, 2005 3:22 am
by amitshetye
hi,

Sami

thanx for the reply

but i want to some code for that since i'm newbie to php.

Posted: Mon Dec 05, 2005 3:40 am
by onion2k
amitshetye wrote:but i want to some code for that since i'm newbie to php.
You'll be a newbie forever if you don't try writing code yourself.

Fortunately the guys who write Ming have created some examples for you to learn from: http://ming.sourceforge.net/examples/ex ... e=jpegfill

Posted: Thu Dec 08, 2005 12:03 am
by amitshetye
I'm trying to create the swf on the server using ming but it is giving me the following error:

Fatal error: Cannot instantiate non-existent class: swfshape

Posted: Thu Dec 08, 2005 1:38 am
by shiznatix
you are missing that class. you are probably forgetting to include the file that has that class in the file that you are calling

Posted: Thu Dec 08, 2005 3:00 am
by amitshetye
thax for the reply,

i have to include ming library or what beacuse the code available on the below link has not included anything

http://ming.sourceforge.net/examples/ex ... name=shape

Posted: Thu Dec 08, 2005 3:49 am
by onion2k
You don't have the Ming extension installed.

Posted: Thu Dec 08, 2005 4:22 am
by amitshetye
then what should i do please explain me briefly because i'm getting confused :x

help me........ :(