I've got 10 dynamic text areas that I'm trying to populate with items pulled from xml. The xml is loading fine. Trace shows that the array values are being set correctly.
i.e.
// txtAreaNum = 0 through 9
itemNameTxt[txtAreaNum] = xmlNewsItemContent[j].childNodes[1].firstChild;
trace ("itemNameTxt[" + txtAreaNum + "]: " + itemNameTxt[txtAreaNum]);
yields: "itemNameTxt[0]: Hagerstown helps local soup kitchen "
But the text isn't showing up in the boxes.
Do I need to give the dynamic text areas instance names or just set the Var? (I've tried setting var in the properties box as "itemNameTxt[0]"
Any thoughts? Do you need more info?
TIA!
CG
i.e.
// txtAreaNum = 0 through 9
itemNameTxt[txtAreaNum] = xmlNewsItemContent[j].childNodes[1].firstChild;
trace ("itemNameTxt[" + txtAreaNum + "]: " + itemNameTxt[txtAreaNum]);
yields: "itemNameTxt[0]: Hagerstown helps local soup kitchen "
But the text isn't showing up in the boxes.
Do I need to give the dynamic text areas instance names or just set the Var? (I've tried setting var in the properties box as "itemNameTxt[0]"
Any thoughts? Do you need more info?
TIA!
CG