Wednesday, January 7, 2015

TUTORIAL - MENU BUTTON


We can create a Main Menu that contain action of:

a) A button that navigate from one page to another.

Step 1:


Create/ Insert a button by selecting Windows > Common Libraries > Button.


Step 2:

Add Actionscript to the button by either pressing F9 on the keyboard or by adding it through the Actions panel. Then, type the script like below:

To move to Next Frame:

Or

To move to Previous Frame:

b) A button that navigate from one scene to particular frames on different scene.

Step 1:

Create a button like Step 1 above.

Step 2:

Add Actionscript to the button by either pressing F9 on the keyboard or by adding it through the Actions panel. Then, type the script like below:
# Where scene2 is Scene’s Name and 20 is Frame’s Number.

c) A button that navigate users to the webpage:

Step 1:

Create a button like Step 1 above.

Step 2:

Add Actionscript to the button by either pressing F9 on the keyboard or by adding it through the Actions panel. Then, type the script like below:

# Watch the tutorial of MAIN MENU BUTTON in here.


0 comments:

Post a Comment