Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
Carl #1
Using LoadVars to load all the files in a directory
Hey,
My guess is that this is impossible for security reasons, but maybe
someone can think of a workaround. I want to have a Flash file
sitting in a directory with a bunch of xml files. I'd like to have a
splash screen that displays the "title" attribute from each of the
files. Not the filename, but an xml node that identifies the file
contents. When you pick a title from the splash screen, then it loads
for further use. The trouble is that I won't know the exact number of
files, or their exact names, at runtime. They will be named
"filename_xxxxxx.xml" where "xxxxxx" is a pseudorandom, unique hash
mark. How do I do this with Actionscript. I don't have any access to
a scripting language, (php, asp, cf, etc.) on the server side.
Any help would be appreciated. I'm thinking a workaround where I load
any file that starts with "filename" and ends with ".xml" in the
directory. But I don't even know how that will work, and it doesn't
seem scalable.
ck
Carl Guest
-
LoadVars.Load - Get usable variables
Greetings I want to get and use in Flash the value of a specific variable that comes from an ASP page. I'm using the loadvars.load () object, so... -
load custom components from app directory not workingfms2.0 trial
I spent 2 years developing apps for flashcom now I have a problem. Previous versions allowed me to use my custom components for each indivdual... -
[AS1][loadVars] Scope trouble with loadVars !
Scope trouble with loadVars ! Hi everybody, I'm new on this server ! You will find enclosed a ".zip" file in wich there's a ".fla" file, a... -
Reading files in a directory
Hi all I've this Perl script to read all files in a directory and if it finds a file with a certain then rename the file to header -
Getting a list of the files in a directory
Hi, I'm just starting out with ruby and I'm writing a script to rename a bunch of files in a directory to a way I want them to be (just to get more...



Reply With Quote

