That’s a quick example of a basic applicationContext.xml working with LowRA rev410.
To read and parse this file, you need to make an instance of ApplicationLoader in your application, and call its execute method.
<beans>
<root>
<txt id="txt" type="flash.text.TextField">
<property name="text" value="Hello world!"/>
<property name="autoSize" value="left"/>
<method-call name="setTextFormat">
<argument ref="tf"/>
</method-call>
</txt>
</root>
<tf id="tf" type="flash.text.TextFormat">
<argument type="" value="Arial"/>
<argument type="Number" value="30"/>
<argument type="Number" value="0xFF0000"/>
</tf>
</beans>
Share on Twitter
^^ :)
thx Francis :)