Creating an XML Configuration File for your Flash Application
By: Danny Patterson on Thursday, September 1, 2005
Reader Level: 
Creating an XML Configuration file can prove to be a big time saver when it comes to maintaining your application. There are many constants in an application that you should be able to change without re-compiling your SWF. That is one of the main advantages of using an external configuration file. Since its not compiled into the final application, you can change it without recompiling. XML is the preferred format for this file because it can be read by many different technologies.
In this article we will look at creating an XML configuration file, an XML Schema file for validating the configuration file's format, and finally we will create a Settings class for managing the loading and retrieval of the configuration constants.
Purchase this item
You can purchase this piece of content separately for
$3.00
Want more?
Community MX members get unlimited access to daily articles,
tutorials, extensions and support. The most comprehensive
resource for Macromedia designers and developers today.
Take a tour of what we offer, and discover the benefits
of subscribing.
Already a member?
Simply log in using the form in the top right area of the site.



