|
I only have one camera, so I never tried
it. I’ve got flash player 9.0.16, but it looks like the error is
still happening (although I found a workaround). I changed my code to: var arr: Array =
Camera.names; trace(arr[0]); camera =
Camera.getCamera(arr[0]); trace(Camera.getCamera(arr[0].toString()));
… and it returned null every time. I also started playing with it and did
this… trace(Camera.getCamera("0")); camera =
Camera.getCamera("0"); …and it gave a valid reference to the
camera. Try using the string representation of the camera index, instead
of the camera name. Looks like this is still a bug in the
player, but this could be a hack-ish workaround for it. _____________________________________ Andrew Trice Cynergy Systems, Inc. Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf
Of Jeremy Lu
On 8/8/06, Andrew
Trice <andrew.trice@ I am assuming that
localVideo and localVideo2 are instantiations of the Video class. Instead
of using attachVideo, try using: localVideo.attachCa localVideo2. You shouldn't need the
play() function. Here is an example using the camera on my blog (only
uses one camera though): http://www.cynergys Hope that helps. -Andy ____________ Andrew Trice Cynergy Systems, Inc. Blog: http://www.cynergys Email: andrew.trice@ Office: 866-CYNERGY From: [EMAIL PROTECTED]ups.com [mailto: flexcoders@yahoogroups. Hi all, -- 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
YAHOO! GROUPS LINKS
__,_._,___ |
- Re: [flexcoders] Camera.get([index]); useing mutiple camera... Jeremy Lu
- RE: [flexcoders] Camera.get([index]); useing mutiple c... Andrew Trice
- Re: [flexcoders] Camera.get([index]); useing mutip... Jeremy Lu
- [flexcoders] Re: Camera.get([index]); useing m... willburforce82

