my xml file seems like this:
<?xml version="1.0" encoding="utf-8"?>
<appsettings>
<add key="backgroundColor" value="0x999999"/>
<add key="menuBackground" value="0xCCCCCC"/>
</appsettings>
What I want to do is: parse this xml if it is possible and write a class
when compiling with static vars like this:
class Example
{
public static var backgroundColor = 0x999999;
public static var menuBackground = 0xCCCCCC;
}
or as an object:
{key: "backgroundColor ", value: "0x999999"}, etc
thanks, diego
John Giotta wrote:
> Mmm.. well UML to AS2 is sort of the same except I don't think your
> XML file is UML.
>
> _______________________________________________
> osflash mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org