Like this article? We recommend
Linking to a URL
Linking to a URL
In the final steps, you will add a code snippet that will create a link to a URL when the onstage text field is clicked.
- On the Flash stage, select the text field that reads “Go to URL.”
- With the text field selected, go to the Code Snippets panel and double-click the “Click to Go to Web Page” snippet in the Actions folder.
- Test the movie. Click on the text field. Your default browser should open and navigate to Adobe.com (the URL indicated in the code snippet). You can easily modify the code snippet to go to any URL you like by following the instructions in the comments that the code snippet created.
If you have any problems with any steps of this exercise, you can examine the codesnippets_complete.fla file to see a finished working version of the exercise.