Hey Luciano,

Actually the .names only returns an array with cam's.. flash makes that array at the start of the swf.

But like Anthony Lee said.. setMode is a method to give the preffered size and framerate you want to grab the video. Although the result might differ a bit because it will be compared with the native modes the cam offers. Only add is: When given another argument of true you will prefer searching the right size over framerate.

For info check : http://www.flash-communications.net/technotes/setMode/index.html

This shouldn't give any troubles.. you first have to do a Camera.get(); though... just for "is the plug in" question :-D
Tested with different browsers, computers, cams?

Best regards,

Dennis
Isioux

----- Original Message ----- From: "l u c h y x" <[EMAIL PROTECTED]>
To: <[email protected]>; <[email protected]>
Sent: Tuesday, March 13, 2007 8:08 PM
Subject: [Flashcoders] flash.media.Camera.setMode Freeze SWF


Hi list!.
Does anybody here know why calling Camera.setMode freeze the movie ?
I know that calling Camera.names will trigger a new scan for camera devices
on the machine but what Camera.setMode really do ?
Any idea to make this action run smoothly ??.

Thank's

--
Luciano Bustos - Luchyx
----------------------------------------
r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to