Syntax question

Hey Guys,

I was going through some code for an xml nav. I have been trying to dissect it to see how it works and I have come upon some code that I am not sure of why it is working or written the way it is.

Here’s the code…
// have we see this node before?
if (arrayitem.isNew!= true) {
trace(arrayitem.name + " not true");
arrayitem.isNew = true;
mc.tweenPosition();
} else {
trace(arrayitem.name + " is true");
//arrayitem.isNew = false;
mc.setPosition();
}

The question I have is where did the “isNew” come from. I understand what it is doing but if I was writing the code myself from scratch how would I know to add the .isNew? I changed arrayitem.isNew to arrayitem.iamNew and it still works and I am not sure why. From what I can tell it appears no where else in the code and it is not a class being referenced.

Thanks