Working with the bitmap class


show more Working with the bitmap class provides you with in-depth training on Web. Taught by Todd Perkins as part of the Flash CS3 Professional Beyond the Basics show less
please wait ...

Working with the bitmap class

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 c...

Working with the bitmap class
Video duration: 1m 39s 5h 21m Intermediate

Viewers:

Working with the bitmap class provides you with in-depth training on Web. Taught by Todd Perkins as part of the Flash CS3 Professional Beyond the Basics

Subject:
Web
Software:
Flash Professional
Author:
please wait ...