When I enter the following script in the first frame, I am getting an error (I've pasted it after the script).
button1.onRollOver = over;
button1.onRollOut = out;
button1.onMouseDown = function()
{
getURL('Mypage.html',_blank);
}
button1.text.buttonText.text = "MYPAGE";
function over() {...
I have been trying to link an html file to a Flash movie clip with animations.
In order to link the file, I placed an invisible button over the movie clip. Now when I preview it in the browser, the link works fine, but the invisible button has taken away the animation effects. The clip...
Thanks,
This works. Is it not possible to give relative references (e.g. sample.htm) instead of absolute references (e.g. file://file/absolute_path/sample.htm)?
The reason for my question is that I have several buttons that need this functionality.
When I upload them all on to the web server...
Thanks for the follow-up.
Yes, all the files (.swf, .fla and .html)are in the same folder. The button is actually an invisible button created over a flash movie clip.
I don't know what I am doing wrong, but even the solution you provided doesn't seem to work. Do I really need to load the files...
I am trying to link a flash button (say button1) to a file saved in a particular folder.
This is the typical way I found:
on(release) {
getURL("http://my_url.com", "_blank");
}
and it works...
In my case, I want to link this button to a file "sample.html" in the same folder... but when I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.