Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7981873
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T10:30:25+00:00 2026-06-04T10:30:25+00:00

I have a fun addition to a project that could be a great feature

  • 0

I have a fun addition to a project that could be a great feature for many other people as well. I have a remote directory with a number of images that frequently change in content and quantity.

I am trying to make a text dropdown menu of movieclip buttons with the names of the images, so each image can be loaded and viewed individually. But I want to populate the menu dynamically based on the number of images in the folder and the buttons labeled based either on the filenames or from a separate text file with the names.

——- So I know how to build a text menu through scripting, but I don’t know how to get the information of –1) the number of images or –2) the names. Can this be done through action script?? In case this sounds too easy, the number of images is usually around 50, so it is a scrolling menu. So I guess I also somehow need to –3) define the length of the scrolling menu movieclip, based on the number of buttons it dynamically created. =-)

Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T10:30:26+00:00Added an answer on June 4, 2026 at 10:30 am

    Unless it’s an AIR application you can’t make an ActionScript file read contents of a directory by itself (or inspect file system).

    Your best option in this scenario is to load a server-side script like PHP that will open a folder and output its contents in XML format. Then your ActionScript file will process this XML and create necessary visual data.

    This way you will know that the file data/listing is always up-to-date and foolproof.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have found myself designing a language for fun that is a cross between
another fun (and probably really simple) question for you, that I have half worked
Microsoft Visual Studio (2005 and 2008) seems to have fun shuffling the Project IDs
Have a fun issue with sharepoint calendar view filtering. That code works fine: SPSecurity.RunWithElevatedPrivileges(delegate()
I have a fun issue where during application shutdown, try / catch blocks are
I have a fun application written in Visual Studio (C#), and I'm wondering -
I have been programming since 1999 for work and fun. I want to learn
I have recently been working on a Pastebin script (for fun) and I've come
Here's a fun one I've been trying to figure out. I have the following
I am moving from jQuery to MooTools (for the fun..) and I have this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.