[flexcoders] Re: Changing the Default Browse Window Directory When Uploading A File

2010-04-07 Thread James
Hi Oleg. Yes it is Air that I'm ttalking about actually. It's an Adobe Air 
Application that I'm making. Cheers for your help so far. Is there any way to 
change the default browse location using AIR?

--- In flexcoders@yahoogroups.com, James garymoorcroft_...@... wrote:

 When you allow an app to upload a file it seems the user must browse to that 
 file. The default directory of the browse window seems to be the desktop. Is 
 there any way of changing this so that the default directory of the browse 
 window is the application directory itself?
  
 I want to allow my users to upload images straight from the application 
 directory where they will be stored rather than having to search for this 
 directory which obviously most users may find difficult.
 
 The line of code I use to allow users to browse for a file is:-
 
 imageuploadfileReferenceList.browse();
 
 Is it possible to change the default being the desktop or is it just not 
 doable?





Re: [flexcoders] Re: Changing the Default Browse Window Directory When Uploading A File

2010-04-07 Thread Oleg Sivokon
Ah. You welcome, James. Then look into this discussion:
http://forums.adobe.com/thread/287536
It explains it on JavaScript AIR example, but the AS3 API shouldn't be
different.

Best.

Oleg


Re: [flexcoders] Re: Changing the Default Browse Window Directory When Uploading A File

2010-04-07 Thread Oleg Sivokon
Yeah, here you go:
http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/filesystem/File.html#browseForDirectory()

Best.

Oleg