# onPress for clip loaded with loadclip?

**URL:** https://forum.kirupa.com/t/onpress-for-clip-loaded-with-loadclip/221913
**Category:** flash
**Created:** [April 9, 2007, 11:47am UTC](https://forum.kirupa.com/t/onpress-for-clip-loaded-with-loadclip/221913 "2007-04-09T11:47:20Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![grenouille](https://avatars.discourse-cdn.com/v4/letter/g/f6c823/32.png) [@grenouille](https://forum.kirupa.com/u/grenouille)
#### Post date: [April 9, 2007, 11:47am UTC](https://forum.kirupa.com/t/onpress-for-clip-loaded-with-loadclip/221913/1 "2007-04-09T11:47:20Z")

</div>

Hi,

I got this little actionscript

```auto

var container:MovieClip = createEmptyMovieClip("container", getNextHighestDepth());
var mcLoader:MovieClipLoader = new MovieClipLoader();
mcLoader.addListener(this);
mcLoader.loadClip("inrichting/Antwerpen 1.JPG", container);

```

Now I want this image to be clickable. I tried several things, fi

```auto

container.onPress = function()
{
 trace('boe');
}

```

but it doesn’t work. Anyone knows what’s going wrong here?

Thnx in advance,

Grenouille.
