onvio
10-14-2005, 06:36 AM
I am creating an empty movie clip, giving it an instance name, and loading a .jpg into the movie clip. This works fine but now I want to make this clip to be clickable and call a function when clicked on. Can someone please let me know why this is not working or offer some other possible alernatives.
_root.createEmptyMovieClip("clip1", 10);
clip1.loadMovie("image.jpg", 20);
clip1._x = 10;
clip1._y = 20;
clip1.onRelease = function() {
getURL("http://www.abc.com", "_blank");
}
_root.createEmptyMovieClip("clip1", 10);
clip1.loadMovie("image.jpg", 20);
clip1._x = 10;
clip1._y = 20;
clip1.onRelease = function() {
getURL("http://www.abc.com", "_blank");
}