Skip navigation

Creating buttons

Creating buttons: Creating a First Web Site with Flash Professional CS5
Creating buttons: Creating a First Web Site with Flash Professional CS5

Join for an in-depth discussion in this video Creating buttons, part of Creating a First Web Site with Flash Professional CS5.

Resume Transcript Auto-Scroll
Skill Level Beginner
2h 45m
Duration
502,163
Views
Show More Show Less

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: 

"function contentLoaded(evt:Event):void { //Optionally change to a clip holder and set progressbar visibility. addChild(contentLoader); progressbar.visible = false; }"

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start My Free Month

Start your free month on LinkedIn Learning, which now features 100% of Lynda.com courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month

You are now leaving Lynda.com and will be automatically redirected to LinkedIn Learning to start your free trial.