Hi i have just inished creating my Flash portfolio website in Flash CS3 (AS3) and when i tested the movieclip in Flash everythink worked ok all the links worked perfectly and all was good. Now when i have published the file into a html doc the links that where working before now dont work. All the internal site links work but when i click on a link to open a new website in a blank window it does nothink? could some1 please help me with this. thanks
I actually just finished my portfolio, I had the same problem you did, but this code here worked for me
[COLOR=“Lime”]
Your button name here[/COLOR].addEventListener(MouseEvent.CLICK, [COLOR=“Lime”]yourFunctionHere[/COLOR]);
function [COLOR=“Lime”]youFunctionHere/COLOR:void {
navigateToURL(new URLRequest("[COLOR=“Lime”]your external link here[/COLOR]"));
}
Hope that works for you