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.
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.
Movieclip.prototype.load_my_movies = function(moviename) {
loadMovieNum(moviename, 7);
unloadMovieNum(8);
unloadMovieNum(9);
unloadMovieNum(10);
unloadMovie(11);
};