# Loading link image

**URL:** https://forum.kirupa.com/t/loading-link-image/75411
**Category:** Uncategorized
**Created:** [January 8, 2005, 3:28pm UTC](https://forum.kirupa.com/t/loading-link-image/75411 "2005-01-08T15:28:31Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![vanbasten](https://avatars.discourse-cdn.com/v4/letter/v/35a633/32.png) [@vanbasten](https://forum.kirupa.com/u/vanbasten)
#### Post date: [January 8, 2005, 3:28pm UTC](https://forum.kirupa.com/t/loading-link-image/75411/1 "2005-01-08T15:28:31Z")

</div>

Hi all

I create this script for to load an image dynamically.  
Therefore I want click to this image as a link  
The image is loaded but I can’t click it!  
Where am I wrong?  
thanks

createEmptyMovieClip(“photo”, 1);  
photo.loadMovie(“img1.jpg”);  
photo.onPress = function() {  
//code  
};
