Flash tutorials
Home 3D (2) Actionscripting (66) Animation (100) Audio (4) Drawing (7) Full flash sites (4) Getting Started (15) Navigation (25) Special Effects (54) Text Effects (38)

Top Flash Menu

19.12.2006, 18:59    Total views: 82267
Page:  1  2  3

Step 23

Go back on the main scene (Scene 1).



Step 24

Create a new layer and name it Invisible Button 1. Select it and create the Invisible Button, over the first button in menu. See the picture below.



Step 25

Take the Selection Tool (V), and click once on the Invisible Button to select it. Aftetr that, open the Action Script Panel (F9), and paste this script:

on (rollOver) {
_root.mouse_over_home_mc = true;
}

on (rollOut) {
_root.mouse_over_home_mc = fstartlse;
}

on (release){
getURL("http://www.flashvault.net/", "blank");

}

Step 26

Insert a new layer and name it AS (Action Script).



Step 27

Click on the first frame of layer AS, and in A.S. Panel paste this scritp:

_root.home_mc.onEnterFrame = function() {
if (mouse_over_home_mc) {
_root.home_mc.nextFrame();
} else {
_root.home_mc.prevFrame();
}
};

We're done!

Repeat this steps for every other button in menu.

Cheers!

Download source file (.fla)

Previous:  Menu Animation
Have questions about this tutorial?
Visit our friendly Community Forums!
Digg it! Add this tutorial to del.icio.us! Furl it! Add this tutorial to reddit! Spurl it! Add this tutorial to technorati!

Top tutorials

1. Advanced full flash site - Part 1
Total views: 225454

2. Water effect
Total views: 169464

3. Photo slide show
Total views: 157319

4. High-tech city animation
Total views: 154657

5. Special Picture Effect
Total views: 148643

Related links