Powerful green flash button

Date: 9.2.2007, 1:54    Total views: 153187
Page:  1  2  3

Step 21

Go back on the main scene (Scene1), create a new layer and name it Invisible Button.

Step 22

Select the Invisible Button layer and create the Invisible Button over the our button. See the picture below.

Step 23

Take the Selection Tool (V), click once on the Invisible Button to Select it, open the Action Script Panel (F9) and enter the following Action Script Code inside the Actions panel:

on (rollOver) {
_root.mouse_over_submit = true;

on (rollOut) {
_root.mouse_over_submit = fstartlse;
} on (release){
getURL("http://www.flashfridge.com/", "blank");

Step 24

Create a new layer above the Invisible Button layer and name it A.S. (Action Script). Then, click on frame 1 and enter the folowing Action Script code inside the Actions Panel:

_root.submit.onEnterFrame = function() {
if (mouse_over_submit) {
} else {

We're done!

Test your Movie (Ctrl+Enter).

Have a nice day!

Download source file (.fla)

Previous:  Animation
  Digg it! Add this tutorial to del.icio.us! Furl it! Add this tutorial to reddit! Spurl it! Add this tutorial to technorati!