Advanced Digital Cartography

The class hub for Geog 411 at the world-famous George Mason University.

Wednesday, March 18, 2009

Hyperlinks

Adding hyperlinks to Flash buttons is pretty easy.

1. Create your button.
2. Click on the instance of the button on the stage and edit its actionscript.
3. With "Script Assist" turned on (click the "Script Assist" button in the script window), double-click on "on" under the "Movie Clip Controls."
4. Select the "Event: Release" checkbox. Then under the "Browser/Network" functions, choose "getURL." In the fields presented, enter the url you'd like to open (in the form "http://myurl.com"), then select a window for it to open. If you'd like to pop-up a new window, choose "_blank."
5. That's it.

0 Comments:

Post a Comment

<< Home