The browse() method isn't static, so you'll need an object instance, 
i.e. click="new FileReferenceList().browse()".


--- In flexcoders@yahoogroups.com, Ethan Miller <[EMAIL PROTECTED]> wrote:
>
> 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
>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to