• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Is there a way to list all the file names (automatically) in a folder to dynamic text box?

New Here ,
Apr 28, 2012 Apr 28, 2012

Copy link to clipboard

Copied

Hi,

I would like to know whether FLASH AS3 has some option to get all the files names from a folder specified and show it in a dynamic text box? Whenever some new files added to this folder it should update the list accordingly.

Thanks for any information in this regard.

TOPICS
ActionScript

Views

846

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 29, 2012 Apr 29, 2012

Copy link to clipboard

Copied

Not particularly experienced in this field myself, but I've found its just easier to implement an XML file which lists the contents of the folder. It just means that when you upload a new file you have to add it to the list in the xml file also. No real hardship once you figure out the mechanics of it

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Apr 29, 2012 Apr 29, 2012

Copy link to clipboard

Copied

Hi,

if you are talking about a folder on a webserver, you can have a server script (e.g. php) read out the folder

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 29, 2012 Apr 29, 2012

Copy link to clipboard

Copied

LATEST

Yes, if you're going to be on a web page and listing server files, then you'd need some server-side code, like php or .net, to send the list to your app. If you are making something standalone to work on the users machine, then you'd need to use AIR and its File class.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines