This appears to be a flash file, you cannot see a preview because flash player is no longer supoorted in browsers, but you can still download the file to study it's source code.
You can open/play the swf file with Flash Player exe
You can open/play the swf file with Flash Player exe
nufase (4)
top nav rollover menu
Completely actionscript 3.0 driven.Colour bars move up and down on MOUSE_OVER and MOUSE_OUT event listeners.
Speed of colour bars is controlled through a variable called "speedcontrol" at the very top of the actions in the first (and only) frame.
6783 downloads, 40159 views
Comments
You need to login to post a comment.
thank
Please help, I cant link the menu options to the other pages.
Thanks
Hi there, the file is great 10 out of 10. However, I just can't get any button to link up with any outside internet page. I have followed all the instructions here, but still no way to have buttons access other internet pages.
thank you so much
Helen 26..
Just to correct you.. first line should read:
homeButton.addEventListener(MouseEven t.CLICK, homeonClick);
Thanks :)
I dont find function homeMouseOver (e:MouseEvent):void { in this article - download.
Hy Nufase,
Not everyone knows action script3.Your menu is user friendly and easy to incorporate to our websites.Can you make the script where the links will go at least to :index1.html.....index5.hrml
I`m sure ffiles community will appreciate your effort.
Thank you
wow!
Thank You
acebunny:
copy one of the existing 'buttons', paste it next in line. give it a new instance name, copy the code for the up and down animation and the event handlers, replace the instance name with the one you gave the new button.
you will have to change the dimensions of the stage so its wider to accommodate the new button.
Helen26:
This menu was built in ActionScript 3.0. You cann;t place code on objects, you can only have code on frames in the timeline. I am glad you figured it out! EventHandlers are much more powerful then simple on(release) functions.
How can you add a new button???? Help please in detail
Just realised - change blank to self.
Actually, this script treats every page as a pop-up, which probably isn't a great idea. Anyone else have any scripting suggestions? Thx
Don't require help anymore. I can't believe I worked it out. If anyone else wants to know, within layer 6 add (for example):
homeButton.addEventListener(MouseEvent. CLICK, onClick);
(add this within the eventlisteners section for all buttons: i.e. for home, about us, etc..)
function homeonClick(evt:MouseEvent):void{
var u:URLRequest = new URLRequest
("index.html");
navigateToURL(u,"_blank");
}
add this to the functions section (for each button).
Hope this helps
This menu is really great. I can't add links though to the script at all. Usually I would just add
on (release) {
getURL("index.html");
}
to each of the menu buttons, but because of the actionscript, It doesn't seem to allow me to put that in anywhere. Sorry to be a pain, but I'd really like to use this menu as I've integrated it into my site, but obviously can't use it if the links won't work. Thanks for your time. Hellie
I love it, no links though.
I like it
10/10, vry nice