upload image into Flash
- Started
- Last post
- 12 Responses
- Engage_London
Anyone got any links on how to allow a user to upload an image into flash... e.g. a picture of themselves?
- UndoUndo0
their is some support in flash 8 but i dont think it is possible at them mo. you would have to use php and them load the image into flash
- CyBrainX0
Seems to me that a simple loadMovie() command would do it. Did I miss something in your question?
- Engage_London0
yeah.. after the php way of doing it... guess you upload using php... and then flash has to check for the file being available and then load it in
- UndoUndo0
you can call the php through flash, use the file or ftp functions and then get php to tell flash what the image is, all in one action
- stewart0
i can't believe it will work, but i once saved the link to this:
- Engage_London0
yeah you're right... some php I have uploads an image and then directs to a new page... I guess I just need to tell the flash to do something instead of the re-direct... easy!
- UndoUndo0
just get the php to return the filename after upload. one script will do it
- chrisRG0
I have something like that.. this is a file that someone sent me, but i've never tested... it´s flash with javascript.
- stewart0
here's the 'jamzbrowser'
it's using phpi couldn't test it, i have a windows nt server with asp installed here
- Engage_London0
ta... will have a look
- unfittoprint0
the problem uis the use of the a file upload form in flash. due to security reasons you only have 2 options:
. a separate window php form
. a complex frameset layout where flash communicates with an hidden form via javascript
http://www.impulsedigital.com/id…either way, is just a question of having the server sharing the upload result with flash, with a location/id of the saved file and using a simple loadMovie with the uploaded image.
- stevegee0
Just read this and remembered someone here was looking for it...