Join Paul Trani for an in-depth discussion in this video Linking to a web site, part of Creating a First Web Site with Flash Professional CS5.
Eventually you are going to want to add functionality to link out to other web…sites or web pages.…And this project is no difference because I do have this button, as I scroll…over, this "follow me on Twitter" button.…So I am just going to go ahead and select that button and for this button I…want it to link out to a Twitter page.…The first thing I need to do is go to the Properties panel and give it a…unique instance name, so I call it twitter_btn.…
Okay for this button, what I want to do is want to go to the Code Snippets panel.…So go the Window > Code Snippets. It happens to be right back here and…if I open up the Actions folder right there at the top is Click to Go to Web Page.…Perfect. That's exactly what I want.…I will just double-click it.…It adds it in that first keyframe right there in my Actions layer below all my…other functionality and gives me a comment as well as instructions on how to…sort of customize this.…
So here is my Twitter button.…It's listening for a click and then it fires off this function and now all I…
- Understanding web design
- Creating buttons and web graphics in Photoshop
- Formatting text with the Text Layout Framework
- Using the Timeline
- Creating a custom looping animation
- Loading images in a gallery
- Creating invisible buttons
- Adding music and video to a site
- Customizing video playback controls
- Optimizing and publishing a web site
Skill Level Beginner
Q: I followed all the steps and suggestions in the "Adding a progress bar" video, but when I add the progress bar to my web site, I can’t remove it once the index.swf file loads up. The progress bar remains on the homepage and the rest of the pages. How do I make it disappear once the site loads?
A: To make it disappear, just make sure the progress bar is only in frame 1. If it’s on its own layer, then right-click on the 2nd frame in that same layer and select "Insert Blank Keyframe." That will make it disappear.
Q: Despite following the steps in the "Adding a progress bar" video, I cannot figure out how to keep the progress bar from appearing on a movie that has finished loading. How can I make the progress bar disappear?
A: Just add the red line below to the preloader.fla file. This will make the progress bar invisible: