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)

Modern orange button

23.12.2006, 11:45    Total views: 32384
Page:  1  2  3

Step 19

Go back on the main scene (Scene 1), create a new layer and name it Invisible Button. After that, create the Invisible Button over the our button. See the picture below.



Step 20

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


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

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

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

Step 21

Insert a new layer and name it Action. Click on the first frame of layer Action, open the Action Script Panel (F9), and paste this script:

_root.tutorials.onEnterFrame = function() {
if (mouse_over_tutorials) {
_root.tutorials.nextFrame();
} else {
_root.tutorials.prevFrame();
}
};

We're done!

Enjoy!

Download source file (.fla)

Previous:  Button Effect
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: 225776

2. Water effect
Total views: 169739

3. Photo slide show
Total views: 157592

4. High-tech city animation
Total views: 154983

5. Special Picture Effect
Total views: 148811

Related links