all groups > flash actionscript > january 2006 >
You're in the

flash actionscript

group:

get files' name and the path


get files' name and the path newbier
1/8/2006 6:48:47 PM
flash actionscript:
would all guys can help me that I dont know how to using action script to get
all files' path from the folder automately,
eg, just like i put in the folder on the web "a.txt" , "tf6.jpg" ,
"ag4fdfd.mpg" 3 files and the flash can still get the files' name and the path.
so that i can use these info to load or get the property later in the flash
thx for your help
Re: get files' name and the path Motion Maker
1/8/2006 8:30:17 PM
Serverside script is required to assemble the file information for the
server. Depending on which serverside scripting language, you can get the
code for doing this and then send it back to Flash as a URL vars with
LoadVars or XML depending on your preference.

Flash cannot read the local file structure through AS other than with user
interaction with the Flash 8 FileReference classes but not unattended.

--
Lon Hosford
www.lonhosford.com
May many happy bits flow your way!
[quoted text, click to view]
would all guys can help me that I dont know how to using action script to
get
all files' path from the folder automately,
eg, just like i put in the folder on the web "a.txt" , "tf6.jpg" ,
"ag4fdfd.mpg" 3 files and the flash can still get the files' name and the
path.
so that i can use these info to load or get the property later in the flash
thx for your help

AddThis Social Bookmark Button