If I understand you right, you are having problems with "var
camera:Camera = Camera.getCamera();" for any camera?  or is your issue
you are trying to dynamic selected a camera?

Ok, first var camera:Camera = Camera.getCamera(); works in Flex 2 for
me.  You can check by going to my application that uses the Camera here,

http://renaun.com/flex2/BarcodeReader/BarcodeReader.html

If this page crashes for you, then you know its something with your
system/configuration/flash player...

If it doesn't crash then it could your code.  If you are trying to
access camera's dynamically I am not aware of the functionality to do
this.  I always right-click and go into camera settings and change it
manually.

Good luck,

Renaun



--- In flexcoders@yahoogroups.com, "m88e24" <[EMAIL PROTECTED]> wrote:
>
> Player version r15 (installed by the Flex builder install) 
> Flex 2 final
> Win XP Pro SP2 (up to date)
> 
> I may have multiple cameras connected to my PC and want to select the
> camera to use. I show a list of available cameras and uses the name to
> get a Camera instance. This always returned null. So I tried
> retrieving the default camera without an argument then use the name of
> that Camera instance to retrieve the same Camera instance by name.
> Thus to check if the fault is in the argument or the getCamera()
> method. This results in a player crash taking down the browser also.
> Very bad.
> 
> var camera:Camera = Camera.getCamera();
> camera = Camera.getCamera(camera.name);
>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to