Join Paul Trani for an in-depth discussion in this video Dynamically loading an image, part of Creating a Portfolio Web Site Using Flash CS4 Professional.
One thing you might want to consider when optimizing your site is determining…what information is important and needs to be seen immediately, and then what…information can be loaded later.…Take, for instance, this design. What I want the user to see, initially, is, of…course, JOHN DOE, the text, as well as the navigation, but the background can be loaded later.…So really, I don't want this background to be part of the Flash file.…So what I am going to do is I am just going to turn off that content layer.…
I am going to select that graphic, and I am just going to delete it.…So I am going to replace that graphic with a UILoader component that's going to…dynamically load an image.…So the first thing I need to do is go out and find my image.…So I am going to go to Exercise Files/ Assets/design/and I'm going to …select this images folder, and I am just…going to Copy all of these images, but most importantly, I need this first…image, background1.jpg.…
So I am going to be aware of this filename, and I am going to put it in the…
- Optimizing and publishing a Flash web site
- Designing a professional photo or video portfolio
- Adding button interactivity
- Adding functionality to portfolio thumbnails
- Displaying content with XML
- Adding audio to portfolio presentations
Skill Level Intermediate
Q: While following along with the course, I encountered the following error in Flash CS4:
1120: Access of undefined property content_mc.
What is causing this error?
A: Flash is looking for something (the content movieclip) with the instance name “content_mc” but it is not finding it. Select the content movieclip on the stage. In the Properties panel give it an instance name of “content_mc”. Make sure there are no spaces before or after. That should resolve the error.
Q: What is the best strategy for integrating 720/60P HD video into a website? Would creating a blank page that opens in full HD resolution be the best way to view the full quality of the HD video file?
A: A video file that large would just be unreasonable for most users to open. These settings are a good place to start: 600x400is
Bitrate level: 1,000kbps
Bitrate Encoding: VBR These are just recommendations, and can be modified to preference. Also keep in mind that in Flash, one of the buttons that can be added is a full screen button, which is part of the skins.