# LoadMovie and onRelease problem

**URL:** <https://forum.kirupa.com/t/loadmovie-and-onrelease-problem/170106>\
**Category:** flash\
**Created:** [November 22, 2005, 9:00pm UTC](https://forum.kirupa.com/t/loadmovie-and-onrelease-problem/170106 "2005-11-22T21:00:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![squireglig](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@squireglig](https://forum.kirupa.com/u/squireglig)\
**Post date:** [November 22, 2005, 9:00pm UTC](https://forum.kirupa.com/t/loadmovie-and-onrelease-problem/170106/1 "2005-11-22T21:00:44Z")

</div>

Hey Guys,

First, I’d like to introduce myself. I’ve been reading Kirupa often for many Flash problems and news items for a while, so I’d like to thank you guys for providing such an awesome collection of information.

Alright, so now for my problem… I’ve been building a dynamic photogallery… and I’ve run into some onRelease problems when combined with loadMovie. I basically built a test swf with only this code, and it seems to bust. The jpg loads fine, but my onRelease does not execute (the hand cursor does not come up when I mouse over the image either).

[AS]  
this.createEmptyMovieClip(“testClip”, this.getNextHighestDepth());

testClip.loadMovie(“careers\_1sm.jpg”);

testClip.onRelease = function () {  
getURL(“[http://www.google.com](http://www.google.com/)”, “\_blank”);  
}  
[/AS]

If someone could point out where I’m going wrong, that’d be great.

Thanks!
