Hmm. I don't think you want a Loader if you just want to pass the file through (as opposed to loading its content *into* Flash) - if you're just duplicating the functionality of an HTML file upload form element then FileReference is definitely what you need - you give it a form catcher to POST to, exactly the same as an HTML form. It's Flash 8/AS2.
There's a bunch of stuff in Flash's online help on it, or Googling about throws up loads of relevant stuff, including the one at the always-excellent Kirupa: http://www.kirupa.com/developer/flash8/uploading_fileReference_pg1.htm h. On 30/01/07, Claudio M. E. Bastos Iorio <[EMAIL PROTECTED]> wrote:
Thanks for your help Petro and Henry! This class is for AS3 on Flex2, right? I'm working with Flash 8 and AS2. The loader class that I found in AS2 seems to allow me "retrieve content from a remote location and pull it into a Flash application" (from help) Is the same class?. And Henry, yes, I need to save the file in the server. Looking for Filereference class I found this link: http://www.flash-db.com/Tutorials/upload/upFiles.php . I think that's what I needed. Thanks for your help! ___________________________________ Claudio M. E. Bastos Iorio http://www.13bit.com.ar MSN:[EMAIL PROTECTED] Icq:24094716 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Petro Bochan Sent: Tuesday, January 30, 2007 8:09 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] File upload in flash Claudio M. E. Bastos Iorio > Hi guys, I hope you can help me on this. > I need to add an "upload file" control inside a flash form, like the one > in > html. I'm working with php and MySql in the backend. But I don't really > know > how to add such a feature in flash. Any help/links examples will be much > appreciated. Hi Claudio, Check out the Loader class @ http://livedocs.macromedia.com/flex/2/langref/index.html, this will give all the info that you need. Cheers, Petro _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

