Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5

Thread: Image to Flash

  1. #1
    Regular Coder
    Join Date
    Jul 2004
    Location
    Lebanon
    Posts
    223
    Thanks
    6
    Thanked 0 Times in 0 Posts

    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.

  • #2
    Regular Coder the-dream's Avatar
    Join Date
    Mar 2007
    Location
    Northamptonshire, UK
    Posts
    477
    Thanks
    8
    Thanked 4 Times in 4 Posts
    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.

  • #3
    Regular Coder
    Join Date
    Jul 2004
    Location
    Lebanon
    Posts
    223
    Thanks
    6
    Thanked 0 Times in 0 Posts
    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.

  • #4
    Regular Coder the-dream's Avatar
    Join Date
    Mar 2007
    Location
    Northamptonshire, UK
    Posts
    477
    Thanks
    8
    Thanked 4 Times in 4 Posts
    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'!

  • #5
    Super Moderator Inigoesdr's Avatar
    Join Date
    Mar 2007
    Location
    Florida, USA
    Posts
    3,638
    Thanks
    2
    Thanked 404 Times in 396 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •