myobject.onRelease = function() {
getURL(“front.htm”, “_blank”);
};
Try:[AS]on (release) {
getURL(“front.htm”,"_blank");
}[/AS]
If you are using a movie clip use
myobject.onRelease = function() {
getURL("http://www.front.htm", "_blank");
};
If you are using a button symbol use
on (release) {
getURL("http://www.front.htm","_blank");
}
Notice that you have to use the FULL address including http://www
:hr:
I forgot about the ‘http://www.,’ oops.
If you want to place the action direct on the button or movieclip itself, use a static event handler:
on (release) {
getURL("http://www.mypage.com","_blank");
}
If you want to place the action on a frame, use a dynamic event handler:
mybuttoninstancename.onRelease = function() {
getURL("http://www.mypage.com","_blank");
};