I'm currently trying to work on a mod for a game and when I display the array all I see is [object Object]. I'm wanting to actually see the information inside of the array. I'm new to actionscript so I feel as if it's probably a simple issue that I'm overlooking.
I've tried everything below. I'm expecting it to return the actual stored information, ex: ids, item name, etc.
if(param1.keyCode == 89)
{
GlobalFunc.SetText(this.debugMenu,String(this.m_TheirOffersData[0].toString()),false);
GlobalFunc.PlayMenuSound(GlobalFunc.MENU_SOUND_OK);
}
if(param1.keyCode == 85)
{
for(var id in this.m_TheirOffersData)
{
var value:Object = this.m_TheirOffersData[id];
GlobalFunc.SetText(this.debugMenu,this.trProgress = this.trProgress + trace(id + " = " + value),false);
}
GlobalFunc.PlayMenuSound(GlobalFunc.MENU_SOUND_OK);
}