File class in Java. Represents files and directories. http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html
You can do some searches and find a ton of tutorials on this I imagine, although the API is fairly straight-forward. The list() method is what you're interested in. As far as communication goes, you're going to have to use the Socket and ServerSocket classes. They make the task of communication between Flash and Java near painless. I can send a little sample socket server over if you want. Scott -----Original Message----- From: [EMAIL PROTECTED] on behalf of Felipe Fernandez Sent: Tue 3/21/2006 5:56 PM To: Flashcoders mailing list Cc: Subject: Re: [Flashcoders] Browse folders from flash Could you tell me more details? So, how could I access local machine directories using java? Thanks. On 3/21/06, Scott Hyndman <[EMAIL PROTECTED]> wrote: > > Write a Java application that talks to Flash through a socket, and request > file lists that way. > > It's a bit of work, but it does work. > > Scott > > -----Original Message----- > From: [EMAIL PROTECTED] on behalf of Ettwein, > Josh > Sent: Tue 3/21/2006 3:01 PM > To: Flashcoders mailing list > Cc: > Subject: RE: [Flashcoders] Browse folders from flash > > Right... I am an idiot. :) I was doing 5 things at once and lost track > of what you needed. Sorry! > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Felipe > Fernandez > Sent: Tuesday, March 21, 2006 11:46 AM > To: Flashcoders mailing list > Subject: Re: [Flashcoders] Browse folders from flash > > Well, but....I need directories on local machine, not in server machine > > Thanks, anyway > _______________________________________________ > [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
_______________________________________________ [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

