Did you:
 
   import flash.net.FileReference;
Shan


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ethan Miller
Sent: Friday, July 14, 2006 12:27 PM
To: flexcoders@yahoogroups.com
Subject: [Junk E-Mail - LOW] [flexcoders] File Upload

I'm trying to quickly demonstrate the ability to upload a file. Just
need a button with a click action that invokes a file browser in the
user's OS.

Tried this:

<mx:Button label="Upload...." click="FileReferenceList.browse()"/>

Per the docs, which gets a compiler error of "....undefined method
with static type class... "

Any sample code for this kicking around?

thanks! ethan


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.0/388 - Release Date: 7/13/2006

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.0/388 - Release Date: 7/13/2006

Reply via email to