ManicMax
April 10th, 2009, 09:33 AM
I'm trying to adapt a tutorial I found on this website entitled Complex Button Rollover - Rollout Effects (http://www.kirupa.com/developer/mx2004/button_effect.htm)
The effect I am trying to achieve is instead of linking the animation to a website I wan't to be able to navigate to another scene. The bit of the actions I've been changing in the downloaded fla is this,
this.onRelease = function(){ getURL("http://www.kirupa.com","_blank"); }
To this,
this.onRelease = function(){
gotoAndStop("Scene 2", 1);
}
But this doesn't seem to work when I click it just seems to refresh the animation. I have got Stop(); at the beginning of both scenes. I cannot see the problem.
Cheers xD
The effect I am trying to achieve is instead of linking the animation to a website I wan't to be able to navigate to another scene. The bit of the actions I've been changing in the downloaded fla is this,
this.onRelease = function(){ getURL("http://www.kirupa.com","_blank"); }
To this,
this.onRelease = function(){
gotoAndStop("Scene 2", 1);
}
But this doesn't seem to work when I click it just seems to refresh the animation. I have got Stop(); at the beginning of both scenes. I cannot see the problem.
Cheers xD