views:

13

answers:

0

I have this variable and XML object (np tag)

var addedNumber:String;

for (var i:int=0; i<xmlList.length(); i++) { var picURL:String = xmlList[i].url; var picName:String = xmlList[i].username; var addedNumber = xmlList[i].np; etc...

and I need to call this variable content here, inside a dynamic url

function navigateToRight(evt:MouseEvent):void{
loadXml("actions.asp?s=p&o=" + addedNumber);}

Using the above code I get this error:

TypeError: Error #1085: The element type "HR" must be terminated by the matching end-tag "</HR>"