# Array notation and this keyword

**URL:** <https://forum.kirupa.com/t/array-notation-and-this-keyword/179401>\
**Category:** Uncategorized\
**Created:** [February 19, 2006, 10:02pm UTC](https://forum.kirupa.com/t/array-notation-and-this-keyword/179401 "2006-02-19T22:02:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ice987](https://avatars.discourse-cdn.com/v4/letter/i/779978/32.png) [@ice987](https://forum.kirupa.com/u/ice987)\
**Post date:** [February 19, 2006, 10:02pm UTC](https://forum.kirupa.com/t/array-notation-and-this-keyword/179401/1 "2006-02-19T22:02:28Z")

</div>

Hello

I am trying to create a number of movie clips in my main movie but I don;t seem to be able to access these movies using array notation and the ‘this’ keyword

Here’s some example code in a main timeline

var i=0;

createEmptyMovieClip(“clip”+1,0);  
trace(this[“clip”+i]); ////undefined - why???

var clip=createEmptyMovieClip(“clip\_holder”,1);  
clip.createEmptyMovieClip(“clip”+i,0);  
trace(clip\_holder[“clip”+i]); /////\_level0.clip\_holder.clip0. This is ok

What’s wrong with this[“clip”+i] ?
