Advice Requested: XML to load movie parms? (instead of loadVars?)

Hi All,

Semi-newbie – Looking for any advice or insights I can get on this.

I’m inclined to try to load parameters for my Flash movies via XML instead of loadVars.

Good idea or not?

I’ve searched a bunch, and don’t seem to find that is the norm. Maybe I’m not asking the right questions? Or maybe it’s not the right way to do things for some reason I’m not thinking of? I was expecting it’d be pretty easy to find some code examples that I could adapt or use to learn, but haven’t found much of anything which makes me wonder if it’s a bad idea for some reason.

Parms I’m thinking of loading:
[LIST]
[]colors for use throughout the movie
[
]heights, widths, locations, orientations for use throughout the movie
[]values for populating dropdown lists
[/LIST]Why I’m inclined to use XML and not loadVars:
[LIST]
[
]More intuitive to edit the file used to hold the variables. With loadVars it’s just one long text string.
[]Possible to load arrays, not just name/value pairs. I’m thinking somewhere in the direction of 'if there’s child node, then use the parent node’s name as as the name of a variable to be created (possible?), and iterate through the children assigning each’s value to be the value of that iteration’s corresponding array number. Possible? Worthwhile?
[
]Make movies more reusable
[/LIST]Not sure if relevant, but…:
[LIST]
[]will usually also be loading other info definitely via XML, e.g. playlist or photo lists
[
]will sometimes be loading names of other SWFs to load and display in the main movie (i hope; haven’t confirmed yet for sure if i can)
[/LIST]Thanks in advance for any thoughts,

:)Ben