Making MC into a button

i am looking to use mc’s for my buttons instead of buttons. what is the as i need to give a mc to geturl (www.kirupa.com) and a diff one to load another mc
is it…

still learning as…couldn’t of guessed huh.:stuck_out_tongue:

grrr. i am buying a book on as…cause i need it learn it

anyhelp would be great…or if i didn’t leave enough info let me know.

Symbol=menu, Layer=, Frame=1: Line 1: Statement must appear within on/onClipEvent handler
forums.onRelease = function(){

this is the error i am getting now

[AS]
onClipEvent(load){
this.onRelease = function(){
getURL(“www.kirupa.com”, “_blank”);
}
[/AS]
use this if you are putting the code on the button itself. You can also put the code just on the main timeline but change “this” to “forums”

crap, now i am getting a syntax error

Symbol=menu, Layer=, Frame=1: Line 5: Syntax error.

Syntax error usually means spelling mistake. Check everything three times, at least. :smiley:

:slight_smile: lol, ok i will. thanks