I am new to flash, however, I wanted to make a site with Flash animated buttons. I then search for tutorials on how to this and I found this one,
Tutorial Link
To my surprise it was easy to do and I got it working. I then assemble the flash navigation into my website, I test it and it worked great,
My Website (Its a Day of Defeat 1.3 Site)
However, one thing I had not added and never though of adding until the site was assemble was well LINKS! So then I went back and search on how to add links, but what I get when I search GOOGLE is that you need the symbols to be BUTTONS but in the tutorial all the author tells you to is to make movie clip and graphics. There is a command(function, i dont really know) called getURL, but it does not work unless its a button.
So after my explanation, the question is, is there anyway to add links to this nav bar? If not, then would anyone be kind enough to point to a tutorial that shows a similar example just using buttons or just explain to me how to integrate buttons in this ordeal, because I have tried going from movieclip to button and it makes the animations weird. ( I used Flash CS3, with actionscript 2 but if 3 is need it I can also use it.)
Here is the action scrip, it can also be found in the tutorial link and how he worked in.
button1.onRollOver = over;
button1.onRollOut = out;
button1.text.buttonText.text = "HOME";
function over() {
this.gotoAndPlay(2);
}
function out() {
this.gotoAndPlay(6);
}
(I dont think the code tags are for actionscript but oh well, it looks pink....)
(Note: This is just for one button, I have four, so it just the first 3 lines repeated 4 times.)
There is also action script inside each scene, for each button, every 5 frames (10 total, running at 28fps), there is a stop();.
Thank you very much in advance for any replies. Any help is welcomed!
Edited by Exc.BluePhoenix, 19 March 2008 - 02:04 PM.
