# Syntax question

**URL:** <https://forum.kirupa.com/t/syntax-question/209858>\
**Category:** Uncategorized\
**Created:** [December 12, 2006, 9:57pm UTC](https://forum.kirupa.com/t/syntax-question/209858 "2006-12-12T21:57:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aruti](https://avatars.discourse-cdn.com/v4/letter/a/d26b3c/32.png) [@aruti](https://forum.kirupa.com/u/aruti)\
**Post date:** [December 12, 2006, 9:57pm UTC](https://forum.kirupa.com/t/syntax-question/209858/1 "2006-12-12T21:57:08Z")

</div>

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](https://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
