Accessing a variable of an object stored in an Array

So as the title suggests I am dealing with objects in an array. Here is an example of what I am doing. (No they are not as static as I am writing them here. This is just an example to explain my situation)


_global.heroVars.weapons = new Array();

weapon1 = new Object();
weapon1.labelName = "Iron Dagger";
weapon1.power = 1;
weapon1.frameName = "dagger_1";
_global.heroVars.weapons.push(weapon1);

weapon2 = new Object();
weapon2.labelName = "Iron Sword";
weapon2.power = 1;
weapon2.frameName = "sword_1";
_global.heroVars.weapons.push(weapon2);

weapon3 = new Object();
weapon3.labelName = "Staff";
weapon3.power = 1;
weapon3.frameName = "staff_1";
_global.heroVars.weapons.push(weapon3);

trace(_global.heroVars.weapons[1].labelName);

but it traces back Undefinded. How would I go about this?