Skip to main content
Inspiring
September 14, 2010
Answered

find number of external files?

  • September 14, 2010
  • 1 reply
  • 492 views
I have a swf loading mp3s from an external folder. The number of mp3s will vary from time to time. Is there a way to determine how many mp3 files there are in the external folder... without the use of a data file such as .xml?

Many thanks in advance!
This topic has been closed for replies.
Correct answer Ned Murphy

Will you be implementing this on the internet?  If so, Flash cannot query the server for that information, so you would need some other file to manage getting that information in any case... if not an xml file, then a PHP (or similar) file that can get such information and echo it back to Flash as data.

1 reply

Ned Murphy
Ned MurphyCorrect answer
Legend
September 14, 2010

Will you be implementing this on the internet?  If so, Flash cannot query the server for that information, so you would need some other file to manage getting that information in any case... if not an xml file, then a PHP (or similar) file that can get such information and echo it back to Flash as data.