jpg 2 swf converter
Posted: Tue Jan 03, 2006 5:14 am
hi all,
i'm using php-ming to convert the jpg to swf. i'm able to convert jpg to swf with that in this case my jpg file is on the local server.
But when i'm trying to convert jpg to swf which is on the web it is not showing me anything.
so what should i do for that??
my code is as follows
anybody is having any idea??
i'm using php-ming to convert the jpg to swf. i'm able to convert jpg to swf with that in this case my jpg file is on the local server.
But when i'm trying to convert jpg to swf which is on the web it is not showing me anything.
so what should i do for that??
my code is as follows
Code: Select all
<?php
$m= new SWFMovie();
$m->setDimension(53,54);
$m->add(new SWFBitmap(fopen("http://movies.go.com/images/movies/n/newworld_2005.jpg","rb")));
header('Content-type: application/x-shockwave-flash');
$m->output();
$result="&imgLoaded=true&";
echo $result;
?>