# Uploading via flash (flash, JavaScript, php)

**URL:** https://forum.kirupa.com/t/uploading-via-flash-flash-javascript-php/120569
**Category:** Uncategorized
**Created:** [August 25, 2004, 2:41pm UTC](https://forum.kirupa.com/t/uploading-via-flash-flash-javascript-php/120569 "2004-08-25T14:41:36Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![hga77](https://avatars.discourse-cdn.com/v4/letter/h/4bbf92/32.png) [@hga77](https://forum.kirupa.com/u/hga77)
#### Post date: [August 25, 2004, 2:41pm UTC](https://forum.kirupa.com/t/uploading-via-flash-flash-javascript-php/120569/1 "2004-08-25T14:41:36Z")

</div>

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??? :pleased:

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [August 25, 2004, 3:41pm UTC](https://forum.kirupa.com/t/uploading-via-flash-flash-javascript-php/120569/2 "2004-08-25T15:41:27Z")

</div>

So far I haven’t found a javascript example that works with Mozilla, I would suggest using that component 🙂

---

<div class="post-metadata">

### Author: ![eyezberg](https://avatars.discourse-cdn.com/v4/letter/e/77aa72/32.png) [@eyezberg](https://forum.kirupa.com/u/eyezberg)
#### Post date: [August 25, 2004, 4:49pm UTC](https://forum.kirupa.com/t/uploading-via-flash-flash-javascript-php/120569/3 "2004-08-25T16:49:01Z")

</div>

Can’t be bothered to look at the download, here’s 2 links (in case you weren’t refering to these):

> **[Yamago • Original Game Studio • mobile and social games](http://www.yamago.net/en/)**
>
> Yamago is a video game development studio that specializes in social and mobile games. Our technologies: html5, cocos2D, unity, AIR

  
and  
[http://www.impulsedigital.com/idio/idio-v1/](http://www.impulsedigital.com/idio/idio-v1/)

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [August 25, 2004, 5:55pm UTC](https://forum.kirupa.com/t/uploading-via-flash-flash-javascript-php/120569/4 "2004-08-25T17:55:44Z")

</div>

> [@eyezberg](#):
>
> [http://www.impulsedigital.com/idio/idio-v1/](http://www.impulsedigital.com/idio/idio-v1/)

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.

---

<div class="post-metadata">

### Author: ![hga77](https://avatars.discourse-cdn.com/v4/letter/h/4bbf92/32.png) [@hga77](https://forum.kirupa.com/u/hga77)
#### Post date: [August 25, 2004, 6:16pm UTC](https://forum.kirupa.com/t/uploading-via-flash-flash-javascript-php/120569/5 "2004-08-25T18:16:12Z")

</div>

thanks guys

[http://www.yamago.net/components/](http://www.yamago.net/components/) is the example i’m refering to.

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

---

<div class="post-metadata">

### Author: ![eyezberg](https://avatars.discourse-cdn.com/v4/letter/e/77aa72/32.png) [@eyezberg](https://forum.kirupa.com/u/eyezberg)
#### Post date: [August 25, 2004, 9:34pm UTC](https://forum.kirupa.com/t/uploading-via-flash-flash-javascript-php/120569/6 "2004-08-25T21:34:06Z")

</div>

> When is flash going to make their own browse file component?

Never, for security reasons!  
You can now browse files from the Flash IDE with this new file something jsfl api (FLfile ) that came with Ellipsis / 7.2 tho… link: [http://www.eyezberg.com/Breaking\_News\_from\_the\_Flash\_World/General\_Flash\_News/Flash\_Updater!/](http://www.eyezberg.com/Breaking_News_from_the_Flash_World/General_Flash_News/Flash_Updater%21/)
