Join Paul Trani for an in-depth discussion in this video Using XML to create thumbnails, part of Creating a Portfolio Web Site Using Flash CS4 Professional.
So, currently what's going on with this file is that all of my thumbnails are…all hardcoded in the ActionScript.…So, with this first frame selected, you can see that I opened up my Actions…panel and I'm going to pin my code and I'll even close that as well.…If I scroll down, you can see all of these thumbnails are hardcoded with their…information and quite frankly, I don't want this. I want it to all come from the XML.…Okay. So, I'm going to do that and I'm going to really start with this first thumbnail…as they shell, if you will, to create all my thumbnails, because not only am I…going to pull all of the content from the XML, but I am going to end up deleting…all of these other functions. All right!…So the first thing I'm going to do is I'm going to create this new function and…this function is going to be called loadThumbnail.…
Right now, I'm just putting a call in to the loadThumbnail that I'm just about to make,…but know that that loadThumbnail function is going to be called once all of 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.