Join Paul Trani for an in-depth discussion in this video Optimizing a web site, part of Creating a First Web Site with Flash Professional CS5.
Optimization is a very important step with any web site or any web content for that matter.…We want to make sure our content looks really good and is as small as possible,…and that's what I want to do here.…I want to go ahead and optimize this site, but first I need to check and see how…large it is and figure out which files or which graphics are the largest in it.…So, I'm going to go to my Publish Settings and I'm going to click on the Flash…tab and from there, this is where most of my optimization happens, but what I…want to do first off is I want to generate a size report to see how large…everything is and just see what is included in this file.…
So, I'm going to go ahead and select Generate size report and I can click OK.…Now, anytime I do a Test Movie, what happens is in my Output panel, you can…see this size report.…This is also a TXT file that I get to put in the same folder as my SWF file,…but in here you can see this is my index.swf Movie Report, some of them…metadata, which is what this is here, that gets included, and then I can start…
- 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: