This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > May 2005 > flash button.... help plz!!!!!!!1





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author flash button.... help plz!!!!!!!1
thisismichelle

2005-05-02, 11:19 pm

:confused;
Hi....... does anyone know how 2 add hyperlinks 2 flash buttons in flash mx? plz help!
k31

2005-05-03, 7:20 am

Michelle,

Hello. The assumption is that you know how to add/assign an action to an
object such as a button in Flash... If not reply to this.
You will need to add the action script for the button. You can do this by
either selecting (from the menu bar) Window > Actions (keyboard shortcut F9) or
from the property inspector the arrow on the right below the help settings.
In the actions panel there are several sub menu options... select the Actions
> Browser/Network option

Select getURL ...
enter in your Uniform Resource Locator (URL)
You should see something like:

on (release) {
getURL("http://www.macromedia.com", "_self");

}


I hope that helps.

Keith



thisismichelle

2005-05-03, 7:20 am

hey ...im sorry but how do i add an action to an object?
k31

2005-05-03, 7:26 pm

Michelle,

OK ... With the arrow tool selected, select the object (in this case the
button) and then you will assign the action script "getURL"
To assign the action, go to Window > Actions and with the following action
script options listed select Browser/Network and from the submenu select getURL.

if needed I will upload a tutorial onto my webserver to demonstrate
Keith


thisismichelle

2005-05-04, 4:19 am

hey..... i did all that but an error came up saying:
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 1: Statement must appear
within on handler
{getURL("http://www.macromedia.com", "_self");}

Total ActionScript Errors: 1 Reported Errors: 1"

.............by the way thanks 4 ur help so far.........

thisismichelle

2005-05-05, 7:26 am

Keith,
do u know of anyway way to hyperlink flash buttons pages in a frontpage website that im making?

michelle

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews