Start learning with our library of video tutorials taught by experts. Get started
Viewed by members. in countries. members currently watching.
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 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 + video_mc.height * 2; Now if we didn't reflect our bitmap image, multiplying the video's height by 2 would move our reflection down too far the registration point of our reflection movie clip is now at the bottom left because we've flipped it vertically when we set the scale y to negative one, we'll have to compensate for that by moving the reflection down twice the height of the video movie clip.
Let's test movie to see this in action. Command+Return on the Mac Ctrl+Enter on the PC. So the reflection's registration point is at the bottom left because we flipped it vertically. So he had to move it down twice the height of the video movie clip. Let's close the window and our reflection's working. However it would look a little bit better if we turn down the alpha just a little bit, so it looked more like reflection instead of just a copy of the movie clip. So let's go down to the next line and type reflection.alpha = .75; Now you can put in any value between 0 and 1 here, whatever you like as far as the reflection movie clip, but this will just make the reflection a little bit transparent.
Let's take a look at it. Command+Return on the Mac, Ctrl+Enter on the PC And there's our reflection with the little bit of transparency Feel free to adjust that value as you like. In the next movie we'll add the finishing touches to our reflection by applying a mask and a bland mode to the reflection.
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.