# After loadMovie ("image.jpg", instance); action onRelease doesn't work

**URL:** <https://forum.kirupa.com/t/after-loadmovie-image-jpg-instance-action-onrelease-doesnt-work/155740>\
**Category:** flash\
**Created:** [July 20, 2005, 12:26am UTC](https://forum.kirupa.com/t/after-loadmovie-image-jpg-instance-action-onrelease-doesnt-work/155740 "2005-07-20T00:26:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![undersound](https://avatars.discourse-cdn.com/v4/letter/u/bbe5ce/32.png) [@undersound](https://forum.kirupa.com/u/undersound)\
**Post date:** [July 20, 2005, 12:26am UTC](https://forum.kirupa.com/t/after-loadmovie-image-jpg-instance-action-onrelease-doesnt-work/155740/1 "2005-07-20T00:26:43Z")

</div>

After I loaded a .jpg with loadMovie I want to attach a onRelease action on that movieclip but I can’t make it work. If I make the loadMovie action inactive the onRelease action is working fine but the image will not load in the mc and vice versa.

Code:

```auto

// load the .jpg
loadMovie ("image.jpg", button_mc);
 
// add onRelease action on mc 
button_mc.onRelease = function () {
trace ("test");
}

```

Thanx in advance for any help  
Undersound
