Hi all, 

i'm new to action script, and working on a project that involves using
multiple cameras in a single .swf i seem to be able to retreve the
Camera.names and Camera.names.length which give me the names and
number of cameras attached to my local computer but i can't seem to
specify which Camera i want when i use Camera.get() to attach the
video to each camera i know i have to use Camera.get(index) but i
don't know what i'm doing wrong.

this.cameranameslength = Camera.names.length;
this.cameraNames.text = Camera.names;

//this retrieves the names and number of cameras  

localCamera1 = Camera.get(index,[0]); 
        localCamera2 = Camera.get(index,[1]);
        localVideo.attachVideo(localCamera1);
        localVideo2.attachVideo(localCamera2);
        play()

// i can't specify each camera to a specific video feed.

i'm getting a bit lost now can anyone help.

willburforce






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