This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > January 2004 > I try to create a link within a movie, but I am getting script errors





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author I try to create a link within a movie, but I am getting script errors
jasonh_1 webforumsuser@macromedia.com

2004-01-22, 7:29 pm

I am trying to create links for pages within a site, but only one will work, and I get scripting errors, "Scene=Scene 1, Layer=Layer 21, Frame=92: Line 3: Statement must appear within on handler"or I get "Symbol=Symbol 17, Layer=Layer 1, Frame=1: Line 1:
Mouse events are permitted only for button instances"

What do I do?
Please help!!!
I already tried on release, then get url,

I still get these errors...

Thanks in advanced


msahoo webforumsuser@macromedia.com

2004-01-27, 2:28 pm

Hi Jason,

I was having the same problem as you with my buttons.

Here is the script I used and it is working fine for me.

on (release) {
gotoAndStop(467);
}

In this script, when the button is pressed and released, I want the playback head to go to Frame 467 and then stop playback.

"Symbol=Symbol 17, Layer=Layer 1, Frame=1: Line 1: Mouse events are permitted only for button instances"

For this error, it looks like Symbol 17 in Layer 1, Frame 1 is most likely a graphic instance and not a button instance. You just need to change what type of object it is. Highlight the instance and then right-click on it. Go to "Properties" and change th
e instance to Button.

Hope this is helpful.

Mamata





Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews