stop() instance-NAME-goes-here.addEventListener(MouseEvent.CLICK, mouseClick); function mouseClick(event:MouseEvent):void { var request = new URLRequest("LINK-goes-here"); navigateToURL(request,"_blank"); }
When I make two different links and test it, it doesn't work saying I have "duplicate function definition." But when I test them by themselves, it works. I've named them different instance name, what am I doing wrong?
@LesiureBoy To Fix this problem simply add a number after both "mouseClick" for ex:stop()
instance-NAME-goes-here.addEventListener(MouseEvent.CLICK, mouseClick2);
function mouseClick2(event:MouseEvent):void
{
var request = new URLRequest("LINK-goes-here");
navigateToURL(request,"_blank");
}
aaronmm117 3 months ago
When I make two different links and test it, it doesn't work saying I have "duplicate function definition." But when I test them by themselves, it works. I've named them different instance name, what am I doing wrong?
LesiureBoy 3 months ago
Simple, fast and working great - thx
djfaraon84 4 months ago
thanks, you help me out big time..
modakai 4 months ago
where the script ????? link
kangpla100 4 months ago in playlist flash tutorial
Thanks Mate
willl66 5 months ago
Works like a charm, Thank you for this :)
macdzyn 5 months ago
This is the only video about this that I could follow with success in the end!
Thank you!!!!
thecamatrix 6 months ago
Works Perfecto, thank you :D
LuisIvanC1 7 months ago
Thanks! I now made an advertisement for my website (it is in my website too :P)!
GameMaster337 8 months ago