Results 1 to 5 of 5

Thread: Webcam not working with adobe air

  1. #1
    Join Date
    Apr 2010
    Posts
    85

    Webcam not working with adobe air

    Hi mates,

    I am trying to take the webcam snapshots and saving this on my local desktop.I have written a code for capturing snapshot is working with flex but that is not functioning with the Adobe air at all. I am working with the Adobe Flash builder beta 2, what I am doing wrong . Is there any special and recommended configuration which is needed to use with the webcam with adobe air? Pleas e share your idea ...!!!

  2. #2
    Join Date
    Jan 2009
    Posts
    69

    Re: Webcam not working with adobe air

    I am not getting you properly, would you tell me something more about your problem. Actually, the code that you have created should be posted then after, we can suggest you something to get rid from this problem. You have to post the code here that you have written. Please specify the code for capturing the snapshot. And then we would suggest you that what settings are required according to the code.

  3. #3
    Dr. V Guest

    Re: Webcam not working with adobe air

    Actually, I am working with the Adobe Flash builder beta 2 as I have stated before. And about the code, I am using the below suggested code :

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                           xmlns:s="library://ns.adobe.com/flex/spark"
                           xmlns:mx="library://ns.adobe.com/flex/halo" generateComplete="init();">
        <fx:Declarations>
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
                import mx.controls.Alert;
                import mx.core.UIComponent;
                import flash.media.Camera;
                import flash.media.Video;
               
                private function videoDisplay_generateComplete() : void
                {
                    var camera:Camera = Camera.capCamera();
                   
                    if (camera)
                    {
                        videoDisplay.addCamera(camera);                   
                    }
                    else
                    {
                        Alert.show("Oops, Unable to find the camera.");
                    }
                }
               
                private function capture_click() : void
                {
                    var snap:BitmapData = new BitmapData(320, 240, true);
                    var snapBmp:Bitmap = new Bitmap(snap);
                   
                    snapBmp.width = 320;
                    snapBmp.height = 240;
                   
                    if(snapshotHolder.numChildren > 0)
                        snapshotHolder.removeChildAt(0);
                   
                    snapshotHolder.addChild(snapBmp);               
                    snap.draw(videoDisplay);               
                }          
        ]]>
        </fx:Script>
        <mx:HBox>
            <s:Panel title="Video">
                <mx:VideoDisplay id="videoDisplay" creationComplete="videoDisplay_generateComplete();" width="320" height="240" />       
            </s:Panel>
            <s:Panel title="Snapshot">
                <mx:UIComponent id="snapshotHolder" width="320" height="240" />
            </s:Panel>       
        </mx:HBox>
        <mx:HBox>
            <mx:Button label="reload camera" click="videoDisplay_generateComplete();"/>
            <mx:Button label="capture" click="capture_click();"/>  
        </mx:HBox>
    
    </s:WindowedApplication>

    Camera is plugged properly but unable to get anything inair, Please suggest me in this.

  4. #4
    Join Date
    Apr 2010
    Posts
    89

    Re: Webcam not working with adobe air

    I was watching a youtube video and made a right click on the video to reset the webcam configuration, the dialog box automatically got hanged and wouldn't allow me to reset my webcam again. This problem arises on both 32bit and 64bit linux platform . As a evaluation of such problem, working with an online broadcasting sites which works upon the flash player plugin wouldn't work for my machine.

    I can't work with the 'luvcview' with the webcam. This at least suggests me that the webcam works.Do you have any idea about this ??

  5. #5
    Join Date
    Dec 2007
    Posts
    765

    Re: Webcam not working with adobe air

    Yes ! This could not perform as usual you need . Because the configuration of both are separate for one and other 70-536 dumps . I found some article on different site written by a senior expert . I think, this query will be the absolute fix for you in this situation. The primary issue is associated with the below specified terms as :

    00:1d.0 USB Controller: Intel Corporation 82801CA/CAM 70-554 USB Controller #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801CA/CAM USB Controller #2 (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile 70-562 dumps PCI Bridge (rev 42)
    No TechArena No Experts, Know TA know Experts!

Similar Threads

  1. Webcam stopped working in Dell XPS M1530 webcam
    By Aminah in forum Portable Devices
    Replies: 8
    Last Post: 31-12-2011, 10:20 AM
  2. HP Pavilion dv6 webcam not working
    By Essien in forum Portable Devices
    Replies: 2
    Last Post: 22-05-2011, 08:32 AM
  3. Hp DV6 1360US Webcam not working
    By Mariah-Simpson in forum Hardware Peripherals
    Replies: 5
    Last Post: 24-04-2010, 10:47 PM
  4. TX1000Z webcam not working.
    By KAMANA in forum Hardware Peripherals
    Replies: 5
    Last Post: 27-12-2009, 02:34 AM
  5. Hp dv9500 webcam not working in msn
    By Quentin in forum Portable Devices
    Replies: 3
    Last Post: 11-12-2008, 12:45 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,033,614.58043 seconds with 16 queries