Hey all, quick question (or so I hope...)
I'm working in Flash MX 2004 (not pro), and have created several symbols used as buttons, simply text buttons to be used as links. I've been trying to mess around in the Actionscript to get it to work, but no cigar. Found this tutorial on Google: http://www.kirupa.com/developer/flash5/buttonlink.htm However, I'm not so sure he tells all I need to know. I'll put this in the Actionscript box for the button(as he says to do):
getURL( http://www.yahoo.com);
Which, when run through the syntax checker, throws up this error:
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 1: Statement must appear within on handler
getURL( http://www.yahoo.com);
Total ActionScript Errors: 1 Reported Errors: 1
Eck. What am I missing here??? This is driving me nuts. I've already tried different on handlers, although, I have to admit I am not proficient in either JScript or Actionscript. So, any ideas? Advice? Anything is appreciated. Thanks!
I'm working in Flash MX 2004 (not pro), and have created several symbols used as buttons, simply text buttons to be used as links. I've been trying to mess around in the Actionscript to get it to work, but no cigar. Found this tutorial on Google: http://www.kirupa.com/developer/flash5/buttonlink.htm However, I'm not so sure he tells all I need to know. I'll put this in the Actionscript box for the button(as he says to do):
getURL( http://www.yahoo.com);
Which, when run through the syntax checker, throws up this error:
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 1: Statement must appear within on handler
getURL( http://www.yahoo.com);
Total ActionScript Errors: 1 Reported Errors: 1
Eck. What am I missing here??? This is driving me nuts. I've already tried different on handlers, although, I have to admit I am not proficient in either JScript or Actionscript. So, any ideas? Advice? Anything is appreciated. Thanks!