I’m building this flash site for my course project.
The site will have users signing up/creating accounts etc through php/mySQL. Now in the registration page, I want the users to be able to upload thier picture.
So this means that I need to have a “browse” button in the movie, once pressed you then get your local folders to select the image you want to upload.
Ok so i’ve done a search here, google and everywhere…nothing. They all talk about uploading via an html page. Thats easy! But I need it to be directly from within the flash movie. It’s just the flash/broweser communication (using JavaScript) that I’m finding hard.
I have attached an example that I found. It does what I need but for the life of me I just cant understand whats going on here. So I want to do this from scratch and not use this example!!! I know stupid but i wanna learn
So to all you JavaScript legends out there, please have a look at this to see what I mean :thumb:
We can even make a deal and i’ll help with ur stuff! Yes???
Unfortunatly that one doesn’t work with Mozilla, not sure why. When is flash going to make their own browse file component? I don’t understand why they don’t offer it.
Digital this component uses javascript and it works fine in mozilla, well i think anyway! Havent tested it with mac IE or nat but apperently it works there too.
Thing is the javascript here involves alot of things that i dont need and i just cant manage to tailor it to my needs…thats why im gonna still try cracking this on my own…another problem ofcourse is that I need to make sure it will work well with most browsers, just like this component…I’ll let you guys know how it goes