Join Paul Trani for an in-depth discussion in this video Importing an image, part of Creating a First Web Site with Flash Professional CS5.
You will eventually find yourself wanting to import imagery rather than created in Flash.…And that's what I want to do now is I want to import a nice cloud image and that's…going to go in the background.…So the first thing I need to do is create a new layer.…So in my Timeline panel, I'll click New Layer and I'll just call this clouds.…Now I do want this to be in the background, so I'm going to just click and drag…this layer to the bottom, and that it will appear behind everything else.…Now with that layer selected, I can go ahead and go to File > Import and import…it directly to the Stage.…
Now before I select my file it happens to be this cloud's JPEG file which is…already kind of a crunched down if you will.…Notice that if I had just to open up this dropdown list, you can see all the…various file types that you can import.…And these are sort of the most popular audio, video, and imagery formats, and…Flash can take them all.…In this case, again it just happens to be JPEG.…I'll click Open, and here's my graphic.…
- 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: