[Flashcoders] Web Cam question

2008-06-21 Thread Dave Mennenoh
Thought someone here may have some experience with this - my client has a 
Canon VB-C10 web cam. It's an older model not for sale anymore far as I can 
tell. From Flash, we'll just be opening a window to display the Java applet 
the camera uses. That is fine. However - what I'm trying to do is be able to 
get a current still image from the camera, as a jpeg, to use inside Flash as 
a thumbnail.


They supply a 'Glimpse' application that is somewhat what I need, but I 
can't see how to get an actual image format out of it.


Anyone have any experience with this camera or can maybe point me in the 
right direction?



Dave -
www.offroadfire.com
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Web Cam question

2008-06-21 Thread Dave Mennenoh
PS - given the camera is old, can anyone recommend a good web cam that can 
stream video, as well as post still images in modern file formats that Flash 
could grab? The camera(s) will be placed at various construction sites, so 
must have their own server, and be weather proof and such...


thanks


Dave -
www.offroadfire.com
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Web Cam question

2008-06-21 Thread Jason Van Cleave
for cameras (mac compatible) that don't have their own web server EvoCam is
pretty amazing


http://www.evological.com/evocam.html



On Sat, Jun 21, 2008 at 2:15 PM, Rich Shupe [EMAIL PROTECTED] wrote:

 Dave, are you asking for a way to do that entirely external to Flash? That
 is, Flash and BitmapData can grab stills from a video stream very easily. I
 am assuming you are asking about something else.

 However, if that's all you need, here is a quick example. You may be able
 to
 do away with Glimpse altogether.

 var vid:Video = new Video();
 addChild(vid);

 var cam:Camera = Camera.getCamera();
 vid.attachCamera(cam);

 stage.addEventListener(MouseEvent.CLICK, captureCamera, false, 0, true);
 function captureCamera(evt:MouseEvent): void {
var bmd:BitmapData = new BitmapData(vid.width, vid.height);
bmd.draw(vid)

var bmp:Bitmap = new Bitmap(bmd);
bmp.x = vid.width;
addChild(bmp);
 }

 There are some things to think about, though.

 1) Flash must be able to see the camera. Drivers may be an issue.

 2) Sometimes, only one application can have access to the camera. Running
 Glimpse at the same time as Flash may prevent Flash access. For example, on
 my Mac, Flash can only get a garbled still if iChat has the camera already.

 3) To answer your other question, just about any webcam will work in Flash.
 Just find the most current, reliable-name (for ongoing support), feature
 vs.
 price (pan, tilt, etc.) camera you like. A generalization, perhaps, but
 there's less of a compatibility issue than you might think.

 Rich
 http://www.LearningActionScript3.com

 On 6/21/08 1:03 PM, Dave Mennenoh wrote:

  Thought someone here may have some experience with this - my client has a
  Canon VB-C10 web cam. It's an older model not for sale anymore far as I
 can
  tell. From Flash, we'll just be opening a window to display the Java
 applet
  the camera uses. That is fine. However - what I'm trying to do is be able
 to
  get a current still image from the camera, as a jpeg, to use inside Flash
 as
  a thumbnail.
 
  They supply a 'Glimpse' application that is somewhat what I need, but I
  can't see how to get an actual image format out of it.
 
  Anyone have any experience with this camera or can maybe point me in the
  right direction?



 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders