Re: [Flashcoders] Browse folders from flash

2006-03-22 Thread David Rorex
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, butI 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


Re: [Flashcoders] Browse folders from flash

2006-03-22 Thread Felipe Fernandez
Thanks a lot.
All this work for a user folder/directory selection...Uh
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, butI 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


RE: [Flashcoders] Browse folders from flash

2006-03-22 Thread Scott Hyndman
 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.

As I understood it, this application will be running locally...in which case, 
firewalls don't even come into it.

In any case, the suggestions to use the swf wrappers are good ones if you don't 
know Java.

Scott

-Original Message-
From:   [EMAIL PROTECTED] on behalf of David Rorex
Sent:   Wed 3/22/2006 1:59 PM
To: Flashcoders mailing list
Cc: 
Subject:Re: [Flashcoders] Browse folders from flash

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, butI 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

Re: [Flashcoders] Browse folders from flash

2006-03-22 Thread Felipe Fernandez
sorry, I'm lost .. what swf wrappers?
In my application the user needs to choose a folder in his local machines in
order to download a file.
The common download explorer window that appears when you download a file
from internet.

Thanks

On 3/23/06, Scott Hyndman [EMAIL PROTECTED] wrote:

  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.

 As I understood it, this application will be running locally...in which
 case, firewalls don't even come into it.

 In any case, the suggestions to use the swf wrappers are good ones if you
 don't know Java.

 Scott

 -Original Message-
 From:   [EMAIL PROTECTED] on behalf of David Rorex
 Sent:   Wed 3/22/2006 1:59 PM
 To: Flashcoders mailing list
 Cc:
 Subject:Re: [Flashcoders] Browse folders from flash

 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, butI 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

[Flashcoders] Browse folders from flash

2006-03-21 Thread Felipe Fernandez
Hi all, is it possible open a windows browser in order to user choose a
local directory/folder?
Of course, from flash (8 or, best, MX 2004)

Regards.
___
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


RE: [Flashcoders] Browse folders from flash

2006-03-21 Thread Ettwein, Josh
...and in mx04, you would need to use javascript or some other slightly
kludgey solution, like the yamzbrowser one. Basically use a hidden form
field and javascript to trigger a 'press' of the 'browse' button on the
hidden form in a 0% height frame or some such thing. I have used it in
the past with mixed degrees of success. Search the archives for flash
file upload - this has been discussed a lot in the past. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael
Bedar
Sent: Tuesday, March 21, 2006 10:19 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Browse folders from flash

In Flash 8 you can open a file browser to upload/download a file


On Mar 21, 2006, at 12:57 PM, Felipe Fernandez wrote:

 Hi all, is it possible open a windows browser in order to user choose 
 a local directory/folder?
 Of course, from flash (8 or, best, MX 2004)

 Regards.
 ___
 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
___
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


Re: [Flashcoders] Browse folders from flash

2006-03-21 Thread Felipe Fernandez
Yeah, I know it but I wanna choose a folder, not a file.

Thanks.

On 3/21/06, Michael Bedar [EMAIL PROTECTED] wrote:

 In Flash 8 you can open a file browser to upload/download a file


 On Mar 21, 2006, at 12:57 PM, Felipe Fernandez wrote:

  Hi all, is it possible open a windows browser in order to user
  choose a
  local directory/folder?
  Of course, from flash (8 or, best, MX 2004)
 
  Regards.
  ___
  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

___
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


Re: [Flashcoders] Browse folders from flash

2006-03-21 Thread Rich Rodecker
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.



On 3/21/06, Felipe Fernandez [EMAIL PROTECTED] wrote:
 Yeah, I know it but I wanna choose a folder, not a file.

 Thanks.

 On 3/21/06, Michael Bedar [EMAIL PROTECTED] wrote:
 
  In Flash 8 you can open a file browser to upload/download a file
 
 
  On Mar 21, 2006, at 12:57 PM, Felipe Fernandez wrote:
 
   Hi all, is it possible open a windows browser in order to user
   choose a
   local directory/folder?
   Of course, from flash (8 or, best, MX 2004)
  
   Regards.
   ___
   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
 
 ___
 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


Re: [Flashcoders] Browse folders from flash

2006-03-21 Thread Felipe Fernandez
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.



 On 3/21/06, Felipe Fernandez [EMAIL PROTECTED] wrote:
  Yeah, I know it but I wanna choose a folder, not a file.
 
  Thanks.
 
  On 3/21/06, Michael Bedar [EMAIL PROTECTED] wrote:
  
   In Flash 8 you can open a file browser to upload/download a file
  
  
   On Mar 21, 2006, at 12:57 PM, Felipe Fernandez wrote:
  
Hi all, is it possible open a windows browser in order to user
choose a
local directory/folder?
Of course, from flash (8 or, best, MX 2004)
   
Regards.
___
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
  
  ___
  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

___
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


RE: [Flashcoders] Browse folders from flash

2006-03-21 Thread Ettwein, Josh
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


Re: [Flashcoders] Browse folders from flash

2006-03-21 Thread Felipe Fernandez
Well, butI 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


RE: [Flashcoders] Browse folders from flash

2006-03-21 Thread Scott Hyndman
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, butI need directories on local machine, not in server machine

Thanks, anyway
___
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

RE: [Flashcoders] Browse folders from flash

2006-03-21 Thread Scott Hyndman
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, butI need directories on local machine, not in server machine

 Thanks, anyway
 ___
 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


___
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

Re: [Flashcoders] Browse folders from flash

2006-03-21 Thread Duncan Reid
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, butI 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

___
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


Re: [Flashcoders] Browse folders from flash

2006-03-21 Thread Felipe Fernandez
Thanks again.

Scott, I'm not sure java could explore local client machine directories.
Could you send me any link?

To link java code with flash...Could I use flash remoting?


Regards.

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, butI 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
 
  ___
  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

___
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