Multiple Webcams in Flash AS3

Hi,
So I have seen other people with this problem and with all my
searching haven't found a solution on the web. I am trying to set
up an array of webcams feeding into flash at the same time but cant
get it to recognize more then one usb cam at a time. Since the
flash camera class is based on the drivers list instead of the
camera I can only get it to recognize different camera types. My
thought is that since it is returning an array of names maybe it is
a multidimensional array and can be given a second ID some how but
I havent found anyway to do it. Any help ideas would be much
appreciated. Below is what I have thus far.
Thanks
Dave
var video1:Video = new Video();
var video2:Video = new Video();
trace(Camera.names);
var cam1:Camera = Camera.getCamera("6"); //Forces it to
select the USB CAMERA
var cam2:Camera = Camera.getCamera("6"); //This is where
being able to specify 6,1 would be helpful
cam1.setMode(800,600,30);
cam2.setMode(800,600,30);
video1.attachCamera(cam1);
video2.attachCamera(cam2);
video2.x=320;
addChild(video1);
addChild(video2);

IS this what your trying to accomplish its done in flash but I am trying to figure out HOW
I am really fustrated tyring to figure out how it done.
I know it can be done I use to broadcast my cam on that website, but I want to make my own website and do it for myself. I know it flash cause when I load up the flash player on my desktop it says show.  settings have the allow and deny buttons, drop down menu you select which webcam you want for which webcam is installed I can have more screen shots of what they have created many someone know how it was done.

Similar Messages

  • Multiple USB webcams in Flash Player 10

    How to set up multiple USB webcams for flash player 10 on OSX Leopard? There is only one item appearing in the player's webcam list as "USB Video Class Video" although I have 3 cameras attached on my mac. (Macbook Pro 2,4 GHz Core 2 Duo)
    When I use VMWare with Window XP SP3, the system detects all my webcams and I see 3 webcams in the player's list but I only get one cam's signal as clicking on each list item.

    IS this what your trying to accomplish its done in flash but I am trying to figure out HOW
    I am really fustrated tyring to figure out how it done.
    I know it can be done I use to broadcast my cam on that website, but I want to make my own website and do it for myself. I know it flash cause when I load up the flash player on my desktop it says show.  settings have the allow and deny buttons, drop down menu you select which webcam you want for which webcam is installed I can have more screen shots of what they have created many someone know how it was done.

  • Other problems with loading Captivate files into Flash AS3 project

    I have a Captivate file done with Captivate 3, published to
    Flash player 9 that is being loaded into Flash AS3. The captivate
    is a simple recording of some mouse clicks in a browser. I am
    displaying the playbar along the bottom, and its buttons all work
    fine except for the progress bar, where you can drag the knob and
    scrub back & forth in your presentation.
    This progress bar is not working as it should. I see the
    mouse cursor change to a hand, but when I click I cannot drag the
    knob to control the progress bar. The other buttons in the playbar
    do work (replay, pause, play, back, forward).
    This is a unique problem in that it is only happening when
    viewed in IE (7) when loaded into my Flash AS3 project. When viewed
    in Firefox in my project, or as a standalone SWF, or as a SWF
    simply embedded onto a plain HTML page, it works just fine.
    Does anybody have any insight?
    Another thing I notice with loading Captivate files with AS3
    is the the amount of output messages it displays. Rather annoying
    (unless this is a "feature" I've yet to be aware of - heh)

    Hi,
    I know exactly how you feel, there is simple answer; replace
    Captivate for Camtasia Studio 5 at techsmith.com. The weight on
    those shoulders will be gone! You'll smile more, be more
    socialable. One Happy Person.
    I am very happy person ;)
    Kind Regards,
    Boxing Boom

  • How to load html page or website in flash as3

    hi
    how to load html page or web link (www.google.com)  in flash as3.
    please help me...

    Use the navigateToURL function...
    var url:String = "http://www.wherever.com";:
    var req:URLRequest = new URLRequest(url);
    navigateToURL(req);
    OR in one line...
    navugateToURL(new URLRequest("http://www.wherever.com"));

  • Controlling External Captivate 5 swf using flash AS3

    Hi,
    I have created a basic Flash AS3 interface in which I am trying to control the navigation (next slide / previous slide) of an external captivate 5 swf which I have added using a loader, but i cant work out the solution.
    My code is currently as follows:
    import flash.net.URLRequest;
    var Xpos: Number = 96
    var Ypos: Number = 94
    var my_loader:Loader = new Loader();
    my_loader.load(new URLRequest("content.swf"));
    my_loader.x = Xpos;
    my_loader.y = Ypos;
    addChild(my_loader);
    stop();
    nextBut.addEventListener(MouseEvent.MOUSE_UP,gotonextframe);
    function gotonextframe(event:MouseEvent){
    MovieClip(my_loader.content).rdcmndNextSlide();
    Any help would be much appreciated,
    thanks
    Dez

    Thats perfect, thanks for the reply, much appreciated!
    I guess you have tried:
    rdcmndRewindAndStop
    Set to 1 to rewind and stop the project.

  • How to get this PHP list in Flash AS3?

    Hi,
    I have the following PHP code (downloaded from net) which builds a list of all the files in a "MyPics" folders:
    PS php can build a list of all the files in a folder so you don't have to type them all out like that, plus it makes updating a sinch all you have to do is put a pic in the folder and it will be added to the list.
    PHP Code:
    <CODE>
    <?
    //this function goes through the defined directory and makes a list of all the files
    function parse_dir($dir,$level){
        $dp=opendir($dir); //opens the directory for reading
        while (false!=($file=readdir($dp))){  //runs until no more files
            if ($file!="." && $file!=".." && $file!=".htaccess"){  //so you don't get all the default folders
                $countervar=$countervar+1;  //just a counter for numbering the path names
                if (is_dir($dir."/".$file)) parse_dir  //recurses the subdirectories
    ($dir."/".$file,$level+1);
                else print "&path".$countervar."=".$dir."/".$file;  //pieces together something flash can read
    $start_dir="pathToMyPics";  //put the name of the folder with all the pics here
    $level=1;
    parse_dir($start_dir,$level);
    ?>
    <CODE/>
    The above php will output something like this
    &path1=pathToMyPics/pic1.jpg&path2=pathToMyPics/wowWhatAWierdPicName.jpg
    call the php in flash( loadVariables("fileListPHP.php") ) and viola you get easy to use paths to all you pictures.
    I am not able to understand the code to write on FLASH AS3 frame. Please help.
    Thanks.

    In AS3 you want to use the URLVariables class.  Search Google using "AS3 URLVariables tutorial" and you should find what you need to get going.  Here's one result from that search...
    http://www.metah.ch/blog/2008/01/using-urlvariables/

  • Running multiple instances of Flash IDE CS(6)

    I have a build machine compiling my fla files by running Flash.exe from command line and supplying a JSFL file as a parameter. I want to run multiple instances of Flash IDE in order to enable concurrent builds on that machine otherwise there's only one thread running on a build machine which is a resource waste.
    So, is it possible to run multiple instances of Flash IDE? Maybe there's a kind of command line switch? I have Flash CS6, but there shouldn't be that many differences with CC, isn't it?

    I dont think you can run multiple instances of flash both in CS6 and CC.
    -Sujai

  • Convert Flash AS3 to JAVA .Jar-file?

    Hello All,
    in the old old version of Director, you could export a .JAR
    file from your project. If you stayed within the programming that
    the exporter supported.
    I wonder, as I have seen some "Java to Flash as3"-converters,
    if anything is out there for the opposite?
    Cause I need something to make a JAR file for some simple
    functionality in JAVA, and I thought Flash could aid me..?

    Can someone answer?

  • Installing multiple versions of Flash Player

    I am running Windows 7 x64, and curently have Google Chrome running in addition to IE 8.  Has anyone installed multiple versions of Flash Player to support both browsers...IE and Chrome?
    Thanks in advance.

    Yes, there are two Flash Player versions; one is the ActiveX for Internet Explorer, and the other one is the plugin for all other browsers, e.g. Firefox, Chrome, etc.
    Just go to the FP download page with each browser type, then do the install. IE will install the ActiveX, the other browser will install the plugin. (Once you install the plugin, it will work for all non-IE browsers.)

  • Create a toc from adobe flash as3?

    hi guys
    i wante to create a completely toc in adobe flash as3? is there any way to do this?
    for example i want to create a toc file with full size logo (photo form toc information)
    or change duration location with slide title
    i want also another questiion about sdk folder in adobe captivate, i found some swc file in this folder, but i want documetion to use this swf file in custome development,
    thank

    Hi
    Please elaborate a bit more as you want users to download pdf from your site or print site page as pdf etc
    If its regarding documents then you can add add df documents in your site and then link them to pages where users can download the pdf, if you are referring to print page then you can provide information for ctrl+p/cmd+p , or add html code for print shortcut.
    https://forums.adobe.com/message/6319543
    Thanks,
    Sanjit

  • Flash as3 code in Cap 7

    I would like to add a flash AS3 movie and buttons in my Cap project that would goto certian slides. I've looked everywhere to find  some code that would help me on my way, but no luck. Can anyone here help?
    THanks

    If you create a new widget in Captivate it will supply with the code to access Captivate. This should get you there.
    http://www.infosemantics.com.au/widgetking/category/captivate-variables/

  • Best way to interface flash AS3 with CF

    Does anyone know of any good examples of how to interface
    Flash AS3 with Coldfusion?
    Thanks!!!
    Carlos

    Unfortunately the camera does something with flash media, which could confuse the question. Do you mean that you want to use this camera for creating Adobe Flash Video content? If that's the case I would argue to use its 720p/24p mode, that would give you 24 fps 1280x720 movies that ought to work nicely in Flash, and could scale to smaller 16:9 sizes better than say a 1080i video would. You could use 720p/30p too if you want it a little smoother.
    If you have Studio 8 installed on the machine you're using, you can export straight from FCP to FLV, by choosing the Export to FLV option in the Export using QuickTime Conversion dialog.

  • Loading Flash AS3/XML into Flex 3

    I'm seriously at a loss.
    I'm loading a Flash AS3 SWF into Flex via SWFloader and it
    will not load the xml data the file normally loads. The Flash file
    is fairly basic and loads XML data from a local file.
    I've tried all sorts of scoping within the Flash file
    pointing to the xml file just in case but still nothing. What do I
    need to do to get this file to read the XML through Flex 3?
    <mx:SWFLoader x="9" y="14" width="140" height="90"
    source="swfs/sponsors/top_sponsors.swf"/>
    The xml file is in the same directory.

    The migration of this file to proper AS3 is brutal. It would
    be easier to just rewrite the whole thing in flex. Screw it.

  • Liquify Bloat effect in Flash as3

    I am looking for a technique to create a Liquify Bloat effect as in Photoshop. I need to create some tool which makes a person's face look a bit broad or you can say make him fat. The Liquify Bloat tool in Photoshop does almost the same of what is required but I was not able to find a technique to replicate it in Flash AS3. I have tried using the Perlin Noise and other liquify effects but not able to get what is required. I think it might be achievable by using the Perlin noise as shown here: http://www.erikhallander.com/dev/as3/more_perlin.html But Not sure what should be the perlin parameters for the required effect.

    I think PixelBender is the right approach for your needs: http://www.adobe.com/devnet/pixelbender.html
    I don't have an example right now, but I've already seen a few filters doing exactly what you want.

  • Detecting multiple webcams

    There's a lot of old posts about this, but no solutions. Does anyone know a way to detect multiple webcams? It appears that JMF can't do this, but maybe someone has come up with another way? I'm trying to switch between 2 usb webcams.
    Thanks!

    What type of scanner do you have? Did it come with software or are you just using Image Capture? I've a Canon printer/scanner and use the supplied software to preview and select the item that I want to scan at any given time. Never used Image Capture before...
    Clinton

Maybe you are looking for

  • Stolen iPhone, updated to iOS 7

    Hello everyone. Two days ago, my iPhone was stolen. Fortunately, I had updated my software to iOS 7, which I hear has upgraded its security features. I'm not sure if there is a way around it, but I believe that you need a person's Apple ID password t

  • Send 480i to TV

    Hi, I have a 2008 iMac using mini-DVI to HDMI adaptor, feeding that to HDMI A/V receiver, and then HDMI to S-Video converter to old TV. Is there a way to output 480i and still have the iMac screen look right? I have to mirror to get video to TV, othe

  • Embedded Ogg Theora

    Hi everybody, I'd like to use embedded videos under Linux (Debian 4.0). I created an Ogg Theora movie which plays fine in RealPlayer 10.0.9.809. When embedding it in a pdf using the movie15 latex-package (mimetype=video/ogg, externalplayer=false, inl

  • Db_stat performance -  will it depend on database size ?

    Does db_stat have to trawl through the database to get its information or is BerkeleyDB clever about maintaining the information ready for db_stat to just query and return ? We're running db_stat (from a perl program as it happens) and finding that f

  • Physical SQL contains apostrophe

    In OBIEE-11g, how can we escape apostrophe in physical SQL. For example a filter that contains member name(Amy O'Brien) is being sent as 'where member_name ='Amy O''''Brien'. The four quotes are leading to mismatch of the conditiona and hence not ret