Viewers: in countries Watching now:
Through several hands-on tutorials, instructor Todd Perkins shows how to best build dynamic, streamlined sites using Flash CS3 Professional. Learn how to create custom keyboard shortcuts, apply advanced text techniques such as animating scrolling text with custom easing controls, and using advanced animation techniques. Flash CS3 Professional Beyond the Basics covers many challenging features, including adding complex interactivity to a Flash CS3 project and getting Flash content on a phone. Exercise files accompany the tutorials.
The next step towards creating our reflection is taking all of that data in our bitmap data object that we created in the last movie, and actually turning it into a bitmap. We'll take a look at doing that in this movie. If you're following along, I'm working in 06_Bitmap.fla in the Chapter 08 folder in the Exercise Files folder. Let's select the first keyframe in the actions layer and open the Actions panel by pressing Option+F9 on the Mac, or F9 on the PC. Right below our bitmap data variable, let's create a variable called reflection and the datatype will be bitmap. We'll give it a value in just a second.
And right below where we type videoData.draw type reflection = new instance of the bitmap class and in the parentheses we'll pass in our video data object. Now what that does is it actually creates a new bitmap image using all the information stored in our bitmap data object. So now our reflection is actually a bitmap. So let's go to the next line of code and type addChild. We'll add our reflection object to the stage, so type reflection.
And then we'll test the movie to see it on the stage using Command+Return on Mac or Ctrl+Enter on the PC. Notice that there's a white box at the top left of the Preview window. I'll close the Preview window now. That white box may seem like a glitch, but it's not. It's actually the first frame of our video. If you're using a different video, you may see a black box or some other image but for now, we've taken all of the data inside of our video, put it inside of a bitmap, and now we've added that bitmap to the stage. Next we'll take a look at animating a reflection so that it plays along with the video.
There are currently no FAQs about Flash CS3 Professional Beyond the Basics.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.