|
Subject:
|
How Do I Use 'OnClick' in Flash?
|
|
Posted By:
|
Lucy
|
Post Date:
|
12/2/2003 6:24:59 AM
|
Hi there
I'm a complete newbie to flash so please forgive me if this is a really basic question.
At the moment i've got an html page with the following graphic and href: <a href="#" onClick="menuChange('urlhere')">BANNER GRAPHIC</a>
I've imported this graphic into Flash MX, made it into a button and want it to do the same as the above.
Does anyone know the code i'd use in ActionScript to do this? Also, i'd like to put an ALT tag on my button in flash so that when the mouse rolls over, some text appears.
Thanks in advance
Lucy
|
|
Reply By:
|
ExxWhyZee
|
Reply Date:
|
1/25/2004 10:59:12 PM
|
hello there, make a button out of that text, or the image, and then ya can edit that button. when the mouse is over it. which is the over selection, ya can put text there with it. so when the mouse is over the button, text should appear. the code to use for the button:
on (release) {
//Goto Webpage Behavior getURL("http://www.macromedia.com","_self"); //End Behavior
}
:End code "http://www.macromedia.com" is page to "_self" is target, can be taken out
*-*ExxWhyZee*-*
|