Reflecting the video


show more Reflecting the video 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 ...

Reflecting the video

The next step to making our video reflection is to place and actually reflect our bitmap copy of the video. If you're following along, I'm working in 08_Reflecting.fla in the Chapter 08 folder in the Exercise Files folder. Let's select the first keyframe of the actions layer and open the Actions panel by pressing Option+F9 on the Mac or F9 on the PC. Find the line of code where we add the reflection to the stage. Mine is on line 11. Below that code we'll make reflection be reflected. What that means is we'll turn the reflection upside down.

To do that type reflection.scaleY with a capital Y = -1; And this will make the reflection be upside down. And now the registration point instead of being at the top left will now be at the bottom left of the reflection bitmap. So now what we have to do is align it with our video on the stage. So on the next line type reflection.x = video_mc.x; And below that we'll set the Y position of our reflection.

Type reflection.y = video_MC.y + vid...

Reflecting the video
Video duration: 2m 41s 5h 21m Intermediate

Viewers:

Reflecting the video 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 ...