Hi,
Flash buttons should probably be coded with actionscript in flash. You can use flash buttons in an HTML page and use some javascript to give the buttons the code you want, but in flash it is as easy as....
object code placed on the buttons...
Code:
on(release){
getURL("http://somesite.com","_blank");
}
Frame code for MX or higher
Code:
_root.btnName.onRelease=function(){
getURL("http://somesite.com","_blank");
}
• _self specifies the current frame in the current window.
• _blank specifies a new window.
• _parent specifies the parent of the current frame.
• _top specifies the top-level frame in the current window.