First time here? First time here? Newsletter Signup Newsletter
Login | Register | 651326 Members and growing!
Search tutorials
Author: Sas Jacobs | Website:

Loading a ComboBox from a file

by Sas Jacobs


The UI components in Flash MX are very user friendly. You can create forms easily and add elements such as radio buttons, combo boxes and push buttons.

This tutorial deals with the ComboBox component. You can enter the values for the ComboBox directly into your movie using the property inspector. You can also load them from an external data source, the topic of this tutorial.

The tutorial demonstrates how to load a list of web sites into a ComboBox from an external data source. The source could be a text file - including an asp, cold fusion or PHP file - or it could be an XML file.

Loading external information is quite different depending on whether the source is a text file or an XML file. So, the tutorial is divided into two main sections and there are two source files: loadingComboFromText.fla and loadingComboFromXML.fla.

The tutorial is divided into the following parts:

  • The ComboBox component
  • Loading information from a text file - text file structure
  • Connecting the movie to the text file
  • Checking that the text file has loaded
  • Loading text file information into the ComboBox component
  • Adding a change handler
  • Loading information from an XML file - XML file structure
  • Connecting the movie to the XML file
  • Loading XML information into the ComboBox component

The tutorial assumes that you know how to use Flash MX and that you have an understanding of actionscript.

» Level Intermediate

Added: 2002-08-13
Rating: 7.57 Votes: 28
(10 being the highest)
» Author
Applications Developer Marconi Australia
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!


  • There are no comments yet. Be the first to comment!

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.
Featured Flash FLA
» Author: work2survive
» Title: Girl Walking 1kb
» Description: Walking girl, animation just takes 1kb, using high heels shoes, and fashion model attitude.
Featured Sound Loops
Image for equalize

Audio Player

» Author: BoxCat
» Title: CPU Talk
» Description: From the cyberpunk RPG, "Nameless: the Hackers" Completely Free to use! Keywords: edm hip hop rap electronic mysterious mission hacking chase exciting spy ios ambient chilling love happy sad angry suspense
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: nathan
» Description:

A recorded sound of the Dimensional Fork Gate.