# Problem with identify

**URL:** <https://forum.kirupa.com/t/problem-with-identify/237082>\
**Category:** Uncategorized\
**Created:** [August 27, 2007, 5:14am UTC](https://forum.kirupa.com/t/problem-with-identify/237082 "2007-08-27T05:14:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sivant](https://avatars.discourse-cdn.com/v4/letter/s/cc9497/32.png) [@sivant](https://forum.kirupa.com/u/sivant)\
**Post date:** [August 27, 2007, 5:14am UTC](https://forum.kirupa.com/t/problem-with-identify/237082/1 "2007-08-27T05:14:45Z")

</div>

i created a strip of thumbnails in MC:

```auto

function BuildMenu() {
 for (i=0; i<=35; i++) {
  this.targetClip.attachMovie("frame", "frame"+i, i);
  targetClip["frame"+i]._x = 103*i;
  targetClip["frame"+i].loadMovie("thumbnails/an"+i+".jpg");
  targetClip["frame"+i].id = i;
   }
 
}

```

now i need to recognize each MC in order to enlarge it so i added an onRelease function like this:

```auto
function BuildMenu() {
 for (i=0; i<=35; i++) {
  this.targetClip.attachMovie("frame", "frame"+i, i);
  targetClip["frame"+i]._x = 103*i;
  targetClip["frame"+i].loadMovie("thumbnails/an"+i+".jpg");
  targetClip["frame"+i].id = i;
  [COLOR=red]this.onRelease = function() {[/COLOR]
[COLOR=red] myEnlargementFunction(this.id);[/COLOR]
[COLOR=red] };[/COLOR]
 }
 
}

```

but this is not working, i dont know how to make the function recognize the id?  
what ever i do i get undefined.  
can any body help me please?

thank you
