Following these instructions to make a beautiful menu for your home page :
1.make a button for the head of menu.Then paste this script for the button :
| CODE | on (rollOver) { tellTarget (sub) { gotoAndPlay(2); } }
|
2.Make some other buttons and insert it under the main button.when mouse pointer rolls over the main button they'll be appear. give the "Come in-blur in effect for the first submenu button at frame 2.(Duration should be from 2 to 7).At frame 17 give"Fade-burn out"effect(Duration from 17 to 22).
OK.part 2 was for the first subMenu button.Here we go for 2nd submenu button
3.Insert 2nd button just under the 1st one.The effect are as the same of 1st button.but Durations should be From 3 to 8 and 16 to 21.
4.3rd button like 1st and 2nd submenu buttons.(Duration from 4 to 9 and 15 to 20).
5.For the 4th submenu button Duration should be from 5 to 10 and 14 to 19.
Now you made 4 submenu button.So :
6.Select Rectangle tool and draw a rectangle as fit as submenu buttons and Fill it with "None".It should cover all buttons.Paste this code for the shape :
| CODE | on (rollOut) { nextFrameAndPlay(); }
|
7.Now Group all submenus and the shape you made as a sprite and name it "sub".Then paste this code for it :
| CODE | onframe(1) { stop(); } onframe(13) { stop(); }
|
|