Folks,
I have the following xml in ActionScript.
var xml:XML = <Top>
<Component>
<type>Button</type>
<id></id>
<width>50</width>
<height>20</height>
<x>0</x>
<y>0</y>
</Component>
<Component>
<type>Label</type>
<id></id>
<width>30</width>
<height>10</height>
<x>0</x>
<y>0</y>
</Component>
</Top>;
Now, I want to read/parse this xml string and then generate Flex controls (i.e Buttons, Label) according to their respective properties.
How to do that ?
Thanks.