Код: Выделить всё
<?xml version="1.0" encoding="utf-8"?>
<response>
<balance>0</balance>
</response>
Код: Выделить всё
<?xml version="1.0" encoding="utf-8"?>
<response>
<balance>0</balance>
</response>
Код: Выделить всё
var xml:XML=XML('<?xml version="1.0" encoding="utf-8"?><response><balance>0</balance></response>');
tf.text = xml.balance;
Код: Выделить всё
<?xml version="1.0" encoding="utf-8"?>
<response>
<balance>баланс</balance>
</response>.
Код: Выделить всё
var xml:XML=new XML(url_loader.data);
tf.text = xml.balance;
Код: Выделить всё
var loader:URLLoader = new URLLoader();
Код: Выделить всё
function onComplete(event:Event):void {
var xml:XML=new XML(loader.data);
tf.text = xml.balance;
Что я не правильно делаю?1120: Access of undefined property loader.