New Feature: Playlist Center! Pick a topic and let our playlists guide the way.

Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Introduction to Virtual Camera

From: Animation Tips and Tricks with Flash Professional

Video: Introduction to Virtual Camera

If you use some other programs, you will know that there are different ways of handling animation space. And Flash, there's no way of being nice about it; it's fairly crude. It doesn't have any kind of visual camera, or a system for moving through the space. It's all flat, it all happens in one layer, there is no real 3D or even 2.5D space in it. There are some options starting to creep in, where you can spin symbols around, but nothing that you could do with the actual Stage itself. There are some third-party developers who have worked on this, and this is a really great Web site by Bryan Heisey. I hope I am pronouncing his name right.

Introduction to Virtual Camera

If you use some other programs, you will know that there are different ways of handling animation space. And Flash, there's no way of being nice about it; it's fairly crude. It doesn't have any kind of visual camera, or a system for moving through the space. It's all flat, it all happens in one layer, there is no real 3D or even 2.5D space in it. There are some options starting to creep in, where you can spin symbols around, but nothing that you could do with the actual Stage itself. There are some third-party developers who have worked on this, and this is a really great Web site by Bryan Heisey. I hope I am pronouncing his name right.

Basically it's a virtual camera all done in ActionScript and Flash. And this does allow you to move this object which you can see here on your Stage, and what gets rendered out is what you see inside the rectangle. So if you rotate the rectangle, you rotate the rendered image. And here is another example that he has created for us. So you can do big rotations and camera zooms; you can blur the object and it will blur the rendered image. There are some things to bear in mind about this.

I've set up this file, and this is just a demonstration. So if you want to play with this I would say go to Brian's Web site, and you can download it from this link here: VCAM AS3. there is an older version here for ActionScript 2 if that one isn't compatible with you. So what I have done is set up, from a previous animation that we have done, here's a sample of the Stage, so let me just switch that off. So here's what's happening on the Flash Stage, and I've built a little vCam, a virtual camera, using his tool.

So to see the result let's go Control> Test Movie>Test, and as you see, this is what's exported. Now it's not matching the frame rate because of all the gradients; that's to be expected. The next step in this solution would be to export say an AVI, or a PNG sequence, and what will happen when you do that is this; pretty much nothing. The exports doesn't recognize the virtual camera, so Bryan recommends the solution is to export an MOV file, and then you get this. The first frame on this test render that I did was definitely weird, but the rest of the shot seems to work fine.

Now he recommends you then convert this into a different format, so this is up to you. I haven't taken this any further, but this is definitely something that you might want to look into. Whether or not it works for you is completely dependent on your skill set in terms of taking these MOV files, and doing a conversion into either an AVI or a video format. So the other thing to bear in mind, of course, if you're exporting to a SWF file, and you're not using a lot of gradients, and it's a fairly simple project, then this might be ideal for you as it is.

I did notice, however, that -- I did a couple of little quick passes with this. I want to guide in at that different layer that I created, so again here's the scene. Now notice the little man walking in, and his mouth is smiling, and everything there is fine, and then he goes, ooh. So when I did this particular shot I just framed in using the little blur on the camera. So I am going to Control>Test Movie>Test. Now watch his mouth; it's flickering. And so there is definitely the potential for some odd behaviors, again, depending on your individual scene, and the complexity of your scene. So something in there is reacting poorly to the virtual camera.

So how would I do a shot like this in Flash? And we'll be covering this in the rest of the course. I don't use the virtual camera because of those limitations, unfortunately. I'd love to able to use it. So when I do these kind of shots, what I do is I just -- actually no camera layers at all. And I go View>Pasteboard. All I am seeing on the Stage is -- there is no spillage around the edge of the screen. And if I wanted to do those kind of shots, I do them backwards. So essentially I would move the object on the Stage, and then scale it, position it, rotate it. And now I've got to switch pasteboard off, of course, because I need to have access to the corners to rotate it; to do these kind of things.

Essentially it's doing it backwards, and you can get all the same effects, but it can be confusing. So it's something that I've gotten used to doing, and we will be covering some of these tricks in this course. So let me just quickly apply a classic tween here, and there we have the basics of a camera zooming out and rotating. Not as easy to do, or as intuitive to do, as using a virtual camera would have made it, but nevertheless we can work around it. So understand about the virtual camera, know about its limitations, but we're going to move on and pretty much ignore it. But I want you to know about it so that it actually works for you.

Show transcript

This video is part of

Image for Animation Tips and Tricks with Flash Professional
Animation Tips and Tricks with Flash Professional

46 video lessons · 13223 viewers

Dermot O' Connor
Author

 
Expand all | Collapse all
  1. 6m 35s
    1. Welcome
      1m 4s
    2. Using the exercise files
      51s
    3. Common keystrokes and shortcuts used in this course
      4m 40s
  2. 1h 24m
    1. Understanding video versus SWF
      2m 30s
    2. Overview of shortcuts, extensions, and setup
      6m 27s
    3. Understanding linear and radial gradients
      2m 39s
    4. Overlapping and animating the colors
      3m 53s
    5. Lighting a scene
      10m 24s
    6. Creating lens flares
      10m 40s
    7. Animating ripples
      7m 2s
    8. Creating a gradient globe
      11m 41s
    9. Creating a gradient bottle
      10m 26s
    10. Applying gradients to a character's eye
      10m 2s
    11. Applying gradients to a character's skull
      8m 49s
  3. 56m 53s
    1. Tweening a circle to a square
      10m 9s
    2. Using thumbnails
      4m 39s
    3. Animating a magic carpet jump
      10m 12s
    4. Setting up a magic carpet walk cycle
      7m 41s
    5. Animating a magic carpet walk cycle
      9m 33s
    6. Shape tweening hair
      3m 50s
    7. Intro to overlapping hair
      1m 57s
    8. Animating overlapping hair
      8m 52s
  4. 1h 8m
    1. Animating waves
      8m 7s
    2. Animating clouds
      7m 48s
    3. Animating a flame
      11m 38s
    4. Animating an explosion
      9m 1s
    5. Adding in-betweens to the explosion
      4m 36s
    6. Adding explosion clusters
      6m 43s
    7. Optimizing the explosion
      7m 30s
    8. Animating smoke with particles
      12m 45s
  5. 32m 18s
    1. Introduction to staggers
      1m 5s
    2. Animating a simple stagger
      5m 8s
    3. Animating a diving board
      6m 15s
    4. Animating a tremor
      5m 56s
    5. Animating a scream
      7m 12s
    6. Refining the scream
      6m 42s
  6. 47m 49s
    1. Introduction to Virtual Camera
      5m 4s
    2. Animating parallax
      6m 9s
    3. Animating a crane shot
      6m 26s
    4. Animating a zoom and rotate shot
      9m 30s
    5. Animating a track shot
      11m 0s
    6. Lighting a 3D shot
      9m 40s
  7. 19m 48s
    1. Animating a cross dissolve
      6m 10s
    2. Animating a wipe
      3m 34s
    3. Animating a fadeout
      10m 4s
  8. 20s
    1. Goodbye
      20s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold

Are you sure you want to delete this note?

No

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.