View Full Version : Image to Flash

01-13-2008, 09:24 PM
I'm looking for a php script that allows me to upload an image and it'll automatically convert it to a flash file.


01-13-2008, 09:31 PM
Why not have an uploader and a single flash file that uses variable's to view the files like image.swf?image=1.jpg ??

Just a suggestion, never heard of what you're talking about before.

01-13-2008, 09:34 PM
I'm trying to add this feature to one of my facebook applications, the upload script allows gif and jpeg but facebook doesn't allow gif animation on the profile unless it is flash so I'm looking to transform image type to flash type.

01-13-2008, 09:41 PM
Yes, and you could use a single Flash file that displays images with a parameter that collects the image location and name and displays that image.

So you have the flash file 'image.swf' and your image is stored in the 'images/' folder and your image name is 'gif_animation.gif' you would have 'image.swf?image=images/gif_animation.gif'. I would suggest Googling 'Flash Gallery' or 'Display Images In Flash' or 'Dynamic Flash Images'.

You can get an upload code from anywhere, just google 'PHP Upload'!

01-13-2008, 09:45 PM
You should be able to use the Ming (http://php.net/ming) or SWF (http://php.net/swf) extensions' functions to accomplish that, but neither one is bundled with PHP so Facebook might not have it available.