Join Paul Trani for an in-depth discussion in this video Adding functionality to thumbnails, part of Creating a Portfolio Web Site Using Flash CS4 Professional.
Once you have your buttons in place, you can begin to work on what happens when…these buttons are selected, or when these thumbnails are select.…So when you click on a Cafe buena thumbnail, I want to load that image into this…large area, and then replace the text to down here.…So I am going to jump into my portfolio.fla, and…I am going to select that ActionScript, that first frame there, and I am going to go …to Window and open up my Actions panel, and I am going to pin my code by…pressing that button there.…
So here I have my code, which loads in that Thumbnail image for the…basketball.jpg and the cafebuena.jpg.…What I need to do is add another EventListener in here and I need to add an…EventListener that listens for the click,…But I need to do that once this thumbnail loader is created.…So I actually need to make it right inside of this thumbloaded function.…
So right in here, I'll just hit Return a couple of times, just before that…closing curly brace, I need to add an EventListener.…So thumbLoader.addEventListener. If it highlights for you, you can hit Enter and…
- 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.