So I have a bit of an odd error.
function xmlOnLoad(evt:Event):void
{
backgroundArea.addChild(userArea);
var xmlData:XML = new XML();
xmlData.ignoreWhitespace = true;
xmlData = XML(evt.target.data); //This line here
userArea.addChild(userList);
//for each(var userElement in evt.target.data.users.user)
//{
userList.addItem({label:""+evt.target.data+""});
//}
}
The line that says xmlData = XML(evt.target.data) freezes my program. Nothing gets past that line. I have no idea what’s causing this problem…
What I mean by nothing gets past it is that anything anfter that line doesn’t get executed. I put the userArea.addChild(userList) before all over the function to determine where the problem was and it’s only after that line that my userList was no long showing up.