Thanks a lot. All this work for a user folder/directory selection...Uhmmmm Maybe this is too much (or too complex) for me
Thanks anyway, of course On 3/22/06, David Rorex <[EMAIL PROTECTED]> wrote: > > On 3/21/06, Felipe Fernandez <[EMAIL PROTECTED]> wrote: > > > > Thanks again. > > > > Scott, I'm not sure java could explore local client machine directories. > > Could you send me any link? > > > Java can have full control over your local machine, but the user has to > approve the access first (You have to sign the applet, and then the user > will see a security warning dialog). One this access is approved, you can > do > ANYTHING. You could download an arbitrary .exe file from some url and > execute it silently. You could delete random files off their hard drive. > So, > make sure your users trust you. > I believe there is also a way to grant only specific privlidges, > > To link java code with flash...Could I use flash remoting? > > > Maybe...but it would be a lot of work. > I am worried about using socket communication, while I have never tested > it, > I am afraid some people's software firewalls might flag or block the > communication. > > What we have done with sucess in the past, is to use javascript to bind > the > two. > > Java Applet <--> Javascript <--> Flash movie > > On the flash side, we just used ExternalInterface (Flash 8+ only, but on > <= > 7, you can use the Flash/JS Integration kit) > > On the java side, there is documented ways to communicate out to > javascript. > Here is a page that shows some examples, you can find more via > searching: http://www.rgagnon.com/javadetails/java-0172.html > > > -David R > > > > On 3/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > My two cents - I would highly recommend SWFStudio ( www.northcode.com) > - > > > browsing directories is a total breeze and you get tons of file I/O > > > functionality. You could check out the site and check tutorials or > > sample > > > files, I am sure they have onethat does exactly what you need it to > do. > > :) > > > > > > > I'm not sure if anyone mentioned this but have you looked at > > > > screenweaver? > > > > > > > > http://osflash.org/screenweaver > > > > > > > > I have not tried it myself, still using Zinc, maybe someone else > has? > > > > > > > > > > > > On 3/21/06, Felipe Fernandez <[EMAIL PROTECTED]> wrote: > > > >> > > > >> Well, but....I need directories on local machine, not in server > > > >> machine > > > >> > > > >> Thanks, anyway > > > >> > > > >> On 3/21/06, Ettwein, Josh <[EMAIL PROTECTED]> wrote: > > > >> > > > > >> > You could use PHP (or whatever serverside lang you've got) to do > a > > > >> directory listing and use "is_dir" to build youreslf a list of > > > >> directories. Pass that into flash using > > > >> > remoting/loadvars/xml/whathaveyou and display a list of dirs in > > > >> flash with the full paths as properties of the dir objects you > > > >> display. Clicking on one would allow you to grab that path var. > > > >> Something like that, maybe? > > > >> > > > > >> > -----Original Message----- > > > >> > From: [EMAIL PROTECTED] > > > >> > [mailto:[EMAIL PROTECTED] On Behalf Of > > > >> Felipe Fernandez > > > >> > Sent: Tuesday, March 21, 2006 11:07 AM > > > >> > To: Flashcoders mailing list > > > >> > Subject: Re: [Flashcoders] Browse folders from flash > > > >> > > > > >> > Yes, I'm agree with you, Rich. I know about FileReference but > > > >> > FileReference works with files, not directories. > > > >> > Any suggest? > > > >> > > > > >> > Thanks all. > > > >> > > > > >> > On 3/21/06, Rich Rodecker < [EMAIL PROTECTED]> wrote: > > > >> > > > > > >> > > as far as I know you cant just select a folder...flash needs to > > > >> create > > > >> > > > > >> > > a FileReference object for each file in a directory, and it > will > > > >> only do that for each individual item that the user selected. Why > > > >> they couldnt just create one for every file in a directory I don't > > > >> know, but I would imagine it was a security concern. > > > > > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > 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 > _______________________________________________ Flashcoders@chattyfig.figleaf.com 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