Flash upload photo
Out of context: Reply #22
- Started
- Last post
- 28 Responses
- b34r0
I think reluct got it right.
You need to have (within your main flash movie) a button that will spawn a new browser window. That window will contain the form for uploading. This is a simple html/asp form for browsing for file. Then you'll need to do what reluct said - check file exsistence and forward the image to your intended movie.
Also you may want to consider using some kind of COM object for the upload - it's not that hard to do in pure ASP (opening the image as a stream) - however it does present security risks. Whats to stop me from uploading an activeX object or similar to your server and executing it?
Then, you'll need to check that the JPEG image that is uploaded is *NOT* progressive - cos Flash hates progressive Jpegs.Note that this http://www.impulsedigital.com/id…
is cool and does do a good job - but is *NOT* crossbrowser as it uses the Javascript .click() to simulate a mouse click for the upload.My 2cents on some issues you should be aware of. Hope it helps. : )