Hey,
I am having some trouble customizing the scripting on this button http://www.kirupa.com/developer/mx2004/button_effect.htm
If you look at the code there, you’ll notice that it, when clicked it goes to www.kirupa.com, hence the code:
[color=#0000d0]this[/color].[color=#0000d0]onRelease[/color] [color=#0000ff]=[/color] [color=#006610]function[/color]color=#0000ff{[/color]
[color=#0000d0]getURL[/color]color=#0000ff[/color];
[color=#0000ff]}[/color]
Now I want this button, when clicked to go to for example a certain frame in my movie instead of a webpage… So I tried:
[color=#0000d0]this[/color].[color=#0000d0]onRelease[/color] [color=#0000ff]=[/color] [color=#006610]function[/color]color=#0000ff{[/color]
gotoAndPlay(100);
[color=#0000ff]}[/color]
[color=black]But it does not work like that, nothing happens when I test the movie and click it. For your info, I do have something on frame 100, a motion tween.[/color]
What have I done wrong? How can I fix this?
I’m relatively new to Flash so please bear with my limited knowledge.
Thanks in advance,
Vish