Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
Xopods #1
Finding data files in local directory
Say I have a bunch of XML files in the directory with my web app (or in a
subdirectory) and I want the app to be able to create a list of all available
files, without resorting to a separate index.xml file to list them. How do I do
that? They'll be named according to a certain convention, like FC080415.xml
where the numbers represent the date created, in year-month-day format so
they're in chronological order.
If I put them in a directory without an index.html file and make a URLRequest
to that directory, I can get a directory listing with a bunch of junk mixed in
and could probably write some code to separate the file names out, but that
can't be the "right" way to do it. Flex 3 has a File class that has functions
for getting a directory listing, but it only works for AIR apps.
Xopods Guest
-
Local Directory for Contribute on Windows XP
Hi All, I was just wondering if someone could shead some light on where Contribute stores it's temp files on the computer when it opens a page up... -
HttpWebRequest not finding SSL client certs in the 'Local Computer' store
Hi Hari, Is your account an administrator account on the client computer? Luke Microsoft Online Support Get Secure!... -
Finding current directory?
How can I find out the full directory path (i.e. c:\path\to\file) of a file? I'm logged into a server and the of course, I have an FTP directory... -
Protect local data files from download?
Just make sure that the extension of the file is unkown to IIS. Give the file a name like data.xyz or something. Then IIS will never serve it up... -
Can't locate @INC & not finding files in local directory
Hello - I've got several Perl scripts that use custom perl modules which are called from routines that are in the same directory as the scripts.... -
Gaurav J #2
Re: Finding data files in local directory
In the standalone player you can not do file operations unless you compile your
app with the file system access i.e. -use-network= false.
If you app is deployed over a webserver and is opened in a browser. You should
use some other mechanism to fetch it from the server (you can not access the
file system from the player)
You can use a jsp/php/coldfusion or something else to return the list of file
name?
Gaurav J Guest
-
Xopods #3
Re: Finding data files in local directory
That's what I was afraid of. I was hoping that I wouldn't have to learn how to have Flex interact with JSP quite yet, since it's another layer of complexity, but I may not have any choice.
Xopods Guest
-
ntsiii #4
Re: Finding data files in local directory
If the Flex app runs under AIR instead of in a browser, it can access the local file system.
Tracy
ntsiii Guest



Reply With Quote

