# Dynamic link problems

**URL:** https://forum.kirupa.com/t/dynamic-link-problems/127035
**Category:** Uncategorized
**Created:** [October 29, 2004, 4:50pm UTC](https://forum.kirupa.com/t/dynamic-link-problems/127035 "2004-10-29T16:50:06Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![rlLife](https://avatars.discourse-cdn.com/v4/letter/r/eb8c5e/32.png) [@rlLife](https://forum.kirupa.com/u/rlLife)
#### Post date: [October 29, 2004, 4:50pm UTC](https://forum.kirupa.com/t/dynamic-link-problems/127035/1 "2004-10-29T16:50:06Z")

</div>

how can i make the following happen from a link in my database. this is an example of a link that i have on a button in flash, but now i need to make this same link in my dynamic text that comes into the site from a database.

```auto
on (release) {
	var storyID = 24;
	loadMovieNum("template2.swf", 5, "GET");
	_level3.gotoAndPlay(11);
	_level4.gotoAndPlay(30);
	_level7.gotoAndPlay(30);
	myData.unload("stone.asp");
}
on(release){
	loadMovieNum("gallery_childrens.swf",7);
}

```

i have loaded a movie before from a link in a database by making a prototype for it like the following code, but i have had trouble making this work with what i need to do now.

```auto
Movieclip.prototype.load_my_movies = function(moviename) {
	loadMovieNum(moviename, 7);
	unloadMovieNum(8);
	unloadMovieNum(9);
	unloadMovieNum(10);
	unloadMovie(11);
};

```
