Join Paul Trani for an in-depth discussion in this video Loading an external image, part of Creating a First Web Site with Flash Professional CS5.
Now you don't necessarily want to import all of your images into your Flash project.…You really just want to import the main content and then keep optional…information and optional content external from the file.…That's going to make your initial file size smaller and only load in the images…as the user requests them, and that's what I want to do here.…Notice as I scroll through to this Portfolio section I have this empty frame right here.…So what I want to happen in this dynamically I want to load an image in this area.…
Okay that frame is actually a part of the Portfolio bkgd, so I will just double…click on that movie clip and come in here.…So right in this area this where I want to load in that image, so I going to…rename layer 1 to be loaded image.…That's where my image is going to go, and in order to load an image in here,…I am going to use a component.…So let me just move this up some and right in this area, if I go to Window >…Components, I can check out all of the components available that I can add to my project.…
- 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: