If you want to attach a getURL action to a MovieClip, one way of setting that up is to add the action to a Frame, example...
Code:
// targets a movieclip with the Instance name of someMC1
someMC1.onRelease = function() {
getURL("http://www.whatever_url1.com");
};
someMC2.onRelease = function() {
getURL("http://www.whatever_url2.com");
};
or if your using Buttons just attached the following Actionscript directly to the button...
Code:
on (release) {
getURL("http://www.whatever_url.com");
}
// or to open the URL in a new window
on (release) {
getURL("http://www.whatever_url2.com", "_blank");
}
r2d2's right about the Search engines not being able to follow your URL's if their within a Flash (SWF) file. All except for Google that is.
Bookmarks