Using the Camera Object in Flash

There is an option in Flash that allows users to capture the data coming from a web cam attached to the computer and broadcast it using Flash.

This video requires Adobe Flash Player.

Visitor Comments »

 

Is the Flash player smart enough to use 2 cameras at once? If I create 2 instances of a camera in the code (MyCam1 and MyCam2) could I then assign the Logitech cam to MyCam1 and the iSight to MyCam2?

 

Comment by Karl Soule | May 1, 2009 @ 7:49 am

 

saaweeeeet.
You have great tutorials. including the ones I’ve seen on Lynda.com
Thanks

 

Comment by Jimmy | May 1, 2009 @ 10:51 am

 

[...] Tom Green – Using the Camera Object in Flash CS4 [...]

 

Pingback by Friday Wrapup | Layers TV Posted | Contest Winner | Layers Magazine | May 1, 2009 @ 1:00 pm

 

I actually did just think of a question though. After you set this up so it’s a live feed.. how would you actually put this on a hosting site such as dreamhost or oneandone.com so people could go directly to a webpage?

 

Comment by Jimmy | May 1, 2009 @ 1:47 pm

 

I don’t see where I can put in a video element. This is not something I can do with my CS3 at this time since I can not find the video element.

 

Comment by Brian | May 3, 2009 @ 11:40 am

 

TypeError: Error #1006: attachCamera is not a function!

 

Comment by john | May 19, 2009 @ 12:09 pm

 

ok, another flash version. alright :)

 

Comment by john | May 19, 2009 @ 12:13 pm

 

Hello,

This is an excellent post. But I have a query, instead of using the webcam, is there any way to capture the screen of the swf file and allow the user to save it as an image.

 

Comment by Steve | July 26, 2009 @ 3:29 am

 

This is a great bit of information. Love your vids but my question is one of real world application. Can it be used to stream video from say a home computer to others on the web. How would one add audio to this feed so that your mic is streamed as well. I have an old basic cam that doesn’t have a built in mic.

 

Comment by Alex | August 25, 2009 @ 2:03 pm

Leave us a comment

Comments RSS | TrackBack URI

Back to Top

 
 
Advertisement
Creative Suite Tutorials
  1. Photoshop Photoshop
  2. Illustrator Illustrator
  3. Indesign Indesign
  4. Dreamweaver Dreamweaver
  5. Fireworks Fireworks
  6. Premiere Premiere
  7. Flash Flash
  8. After Effects After Effects
  9. Lightroom Lightroom
  10. Acrobat Acrobat

Get the latest tips, tricks and news delivered straight to your inbox.

From our Partners
Subscribe to Layers Magazine
 
 
 
  • Back to the Layers Magazine Homepage
  • Creative Suite Tutorials
  • Layers Magazine
  • Reviews on top products
  • Layers Magazine Reader Forums
  • Subscribe to Layers Magazine