I remember reading a post on Flexcoders that said the r15 release had a problem when trying to get a camera by name.  Try checking out the latest release candidate 9.0.16.0 available on www.adobe.com.  

 

-Andy

 

_____________________________________

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com

 

Blog: http://www.cynergysystems.com/blogs/page/andrewtrice

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY 

 


From: [email protected] [mailto:[email protected]] On Behalf Of m88e24
Sent: Wednesday, July 12, 2006 8:07 AM
To: [email protected]
Subject: [flexcoders] Camera.getCamera(name:String) does not work and crashes the player

 

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);

__._,_.___

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





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to