I have a Flash file with a button that has a getURL action applied to it. I've looked up several different tutorials on this, and it seems SOOOO simple, yet I can't get it to work! Wondering what I'm doing wrong... Urgent matter, I need to get this done very soon, so any help would be appreciated! Here's the simple code:
on(release)
{
getURL(" "_blank");
}
I made the button (new symbol>button), added "over" and "down" keyframes, went back to Scene 1, dropped in the keyframe, and added the above script. What's missing? Everytime I try to test the movie, I'm getting this:
**Error** Scene=Scene 1, layer=clicklink, frame=201:Line 1: Mouse events are permitted only for button instances
on(release)
Total ActionScript Errors: 1 Reported Errors: 1
this IS a button instance!! WTF?? Please help this poor noob. Thanks!
on(release)
{
getURL(" "_blank");
}
I made the button (new symbol>button), added "over" and "down" keyframes, went back to Scene 1, dropped in the keyframe, and added the above script. What's missing? Everytime I try to test the movie, I'm getting this:
**Error** Scene=Scene 1, layer=clicklink, frame=201:Line 1: Mouse events are permitted only for button instances
on(release)
Total ActionScript Errors: 1 Reported Errors: 1
this IS a button instance!! WTF?? Please help this poor noob. Thanks!