I have an xml (attached at the end of the message) and i need a flash as2 file with a dynamic text field to show the value of the attribute PriceA based on the Codigo attribute.
Right now im loading the PriceA values on textfields based on its position using
[url removed, login to view].[url removed, login to view];
But if i add, delete or move a child from its original position all my values change. I need to be able to define a textfield content based on its Codigo attributes and not based on his position.
So just by changing the Codigo value on the Actionscript i can change the .text content of the textfield.
This is the example XML.
<?xml version="1.0" encoding="iso-8859-1"?>
<Linea Codigo='2012' Descript='Comb1 1/4 lb s/queso' PriceA='3100' />
<Linea Codigo='2013' Descript='Comb2 1/2 lb Dble c/Queso' PriceA='3650' />
<Linea Codigo='2464' Descript='Combo 1/4 Promo(Ave)GD' PriceA='2800' />
I need this fast please.