I'd consider doing something like this:

public static const PHONES:XML =
<phones>
    <contact n="1234567890"/>
    <affiliate n="0987654321"/>
</phones>;

Les writing, less processing and you can even let the bookkeeper do the work
(instead of having the XML coded in the file, you could embed it for
example)

[Embed(source="phones.xml")]
public static const PHONES:String;

Best.

Oleg

Reply via email to