# Could somone explain it to me?

**URL:** <https://forum.kirupa.com/t/could-somone-explain-it-to-me/43297>\
**Category:** flash\
**Created:** [February 20, 2004, 7:43pm UTC](https://forum.kirupa.com/t/could-somone-explain-it-to-me/43297 "2004-02-20T19:43:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joaquin\_win](https://avatars.discourse-cdn.com/v4/letter/j/71e660/32.png) [@Joaquin\_win](https://forum.kirupa.com/u/Joaquin_win)\
**Post date:** [February 20, 2004, 7:43pm UTC](https://forum.kirupa.com/t/could-somone-explain-it-to-me/43297/1 "2004-02-20T19:43:41Z")

</div>

MovieClip.prototype.changePhoto = function(d) {  
this.pIndex = (this.pIndex+d)%this.pArray.length;  
if (this.pIndex\<0) {  
this.pIndex += this.pArray.length;  
}  
this.onEnterFrame = fadeOut;  
};

Could someone be so kind and explain this to me…  
“pIndex” starts al zero (0)

and what the $&$% is “this.pArray.length”
