# "this" vs. "eval"

**URL:** <https://forum.kirupa.com/t/this-vs-eval/197039>\
**Category:** flash\
**Created:** [August 13, 2006, 2:07am UTC](https://forum.kirupa.com/t/this-vs-eval/197039 "2006-08-13T02:07:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![theSchtickler](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@theSchtickler](https://forum.kirupa.com/u/theSchtickler)\
**Post date:** [August 13, 2006, 2:07am UTC](https://forum.kirupa.com/t/this-vs-eval/197039/1 "2006-08-13T02:07:03Z")

</div>

Hey there,

I was just wondering if anyone can explain to me the difference between using

```auto
var clipname = this['clip' + i];

```

vs

```auto
var clipname = eval('clip' + i);

```

They seem to do they same thing in some cases but not others? Is there a place I should be using one rather than the other?
