Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Closed Thread
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-13-2008, 08:24 PM   PM User | #1
Snitz
Regular Coder

 
Join Date: Jul 2004
Location: Lebanon
Posts: 223
Thanks: 6
Thanked 0 Times in 0 Posts
Snitz is an unknown quantity at this point
Image to Flash

I'm looking for a php script that allows me to upload an image and it'll automatically convert it to a flash file.

Thanks.
Snitz is offline  
Old 01-13-2008, 08:31 PM   PM User | #2
the-dream
Regular Coder

 
the-dream's Avatar
 
Join Date: Mar 2007
Location: Northamptonshire, UK
Posts: 477
Thanks: 8
Thanked 4 Times in 4 Posts
the-dream can only hope to improve
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.
__________________
Branchr Advertising Network
the-dream is offline  
Old 01-13-2008, 08:34 PM   PM User | #3
Snitz
Regular Coder

 
Join Date: Jul 2004
Location: Lebanon
Posts: 223
Thanks: 6
Thanked 0 Times in 0 Posts
Snitz is an unknown quantity at this point
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.
Snitz is offline  
Old 01-13-2008, 08:41 PM   PM User | #4
the-dream
Regular Coder

 
the-dream's Avatar
 
Join Date: Mar 2007
Location: Northamptonshire, UK
Posts: 477
Thanks: 8
Thanked 4 Times in 4 Posts
the-dream can only hope to improve
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'!
__________________
Branchr Advertising Network
the-dream is offline  
Old 01-13-2008, 08:45 PM   PM User | #5
Inigoesdr
Super Moderator


 
Inigoesdr's Avatar
 
Join Date: Mar 2007
Location: Florida, USA
Posts: 3,601
Thanks: 2
Thanked 397 Times in 390 Posts
Inigoesdr is a jewel in the roughInigoesdr is a jewel in the roughInigoesdr is a jewel in the rough
You should be able to use the Ming or SWF extensions' functions to accomplish that, but neither one is bundled with PHP so Facebook might not have it available.
Inigoesdr is offline  
Closed Thread

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:59 AM.


Advertisement
Log in to turn off these ads.