|
|
|
|
|
Powerful green flash button |
|
Date: 9.2.2007, 1:54 Total views: 114017
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) { _root.submit.nextFrame(); } else { _root.submit.prevFrame(); } };
We're done!
Test your Movie (Ctrl+Enter).
Have a nice day!
Download source file (.fla)
|
|