# Make a moveclip a link?

**URL:** <https://forum.kirupa.com/t/make-a-moveclip-a-link/255592>\
**Category:** flash\
**Created:** [March 25, 2008, 3:23am UTC](https://forum.kirupa.com/t/make-a-moveclip-a-link/255592 "2008-03-25T03:23:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ScoobyDooobyD00](https://avatars.discourse-cdn.com/v4/letter/s/b38774/32.png) [@ScoobyDooobyD00](https://forum.kirupa.com/u/ScoobyDooobyD00)\
**Post date:** [March 25, 2008, 3:23am UTC](https://forum.kirupa.com/t/make-a-moveclip-a-link/255592/1 "2008-03-25T03:23:40Z")

</div>

I’m wanting to make a movie clip a link, the movie clip loads an image from a php file.

Heres the actionscript that loads the image, if it helps.  
Also, how do a load text into a dynamic text box with this script.  
The text I want to put into it is loaded from the php file.

```php
loadText = new LoadVars();
loadText.load("http://localhost/flashload.php");
loadText.onLoad = function(success) {
	if (success) {
		sPhoto.loadMovie(loadText.photo);
		mytitle.loadMovie(loadText.title1);
	}
};

```

Also is there any way to resize the photo in the actionscript. I want the photo to fit in a movieclip 190x120.

Thanks in advance!
