Introduction to Flash MX Tutorial > Add animation and navigation to buttons > Add button navigation |  |

Add button navigation

You use the `getURL` action to add navigation to a button that opens a Web site.

1 | Choose Edit > Edit Document or click Scene 1 to return to the main movie.
2 | On the Stage, click Button 1, the right button.
3 | In the Actions panel, choose Actions > Browser/Network and double-click `getURL`.
4 | In the URL text box, type any complete URL, such as http://www.macromedia.com.
5 | In the Window pop-up menu, select _blank to launch a new browser window when the user clicks Button 1.
6 | Save your file, then choose Control > Test movie. Click Button 1 to go to the Web site you specified in step 4.
7 | Close the browser and the SWF file, and then return to the Flash authoring environment. If desired, you can select Button 2 on the Stage and repeat steps 3 through 7 to link it to a different Web site, then repeat the steps for Button 3. When you finish linking the buttons, close the Actions panel.