Hi,
yes, Marv is right, you need to reference all assets using a string key, using arrayMaker hashtable is great for this.
one other way is to use Resources, you can then load resources by thier file name, and so in xml you reference the name and resources path of your assets, that works very well too and doesn't need any boilerplater such as a Hashtable.
Bye,
Jean