Using the Webcam

Hello everybody.
I've spent hours trying to create a simple Flex application
that displays the webcam video. And I can't get it right ?
Is that even possible ? And if so, can anyone give me a
script that does it ?
Thanks.

Hi Yann,
It is possible. Please take a look at the code below.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
creationComplete="this.onComplete();">
<mx:Script>
<![CDATA[
import mx.core.UIComponent;
import flash.media.*;
private var _cam
private var _mic:Microphone;
private var _cameraVideo:Video;
private function onComplete():void
this.createVideo();
this.runCamera();
private function createVideo():void
this._cameraVideo = new Video(300, 200);
var c1:UIComponent = new UIComponent();
c1.width = 300;
c1.height = 200;
c1.addChild(this._cameraVideo);
this.cntVideo.addChildAt(c1, 0);
private function runCamera():void
this._cam = Camera.getCamera();
this._mic = Microphone.getMicrophone();
this._cameraVideo.attachCamera(this._cam);
]]>
</mx:Script>
<mx:HBox id="cntVideo" />
</mx:Application>
Are you experiencing any other issues?
Radek

Similar Messages

  • How can i use the webcam in the VMware fusion?

    I am using Windows XP with VMware fusion in my MacBook( OS X 10.5.1). Everything is good except the webcam. I have no idea how can I use the webcam(built in MacBook). Can someone give me more information about that? Thanks a lot!

    Not sure I quite understood your question? However, I am running Win XP in VMWare Fusion an all the peripherals such as Bluetooth, IR Receiver and the webcam are identified as USB device and are therefore supported. No problem to use it with Messenger, Skype or Trillian. The only thing you have to do is to click on one of the small USB symbols in the lower right corner of the VMWare status line in order to enable it for the use in VMWare. That's it.
    Hope this helps to fix your problem
    Vitor

  • Using the webcam with MSN

    When I bought my Macbook I thought I would be able to use the built in webcam on MSN Messenger, but after three months I am still failing to find a way... Is it possible, or is the webcam only compatible with iChat?
    Thanks for you help!

    there are a few ways for ichat... such as a .mac account (you have to pay as well as the other person needs a mac with .mac account too), you can use AIM on ichat.. and the other person (PC user) just needs an AIM account as well... there is a chat program called skype.. which you both would need.. and another one that i know is using jabber in ichat.. there are many steps to set up jabber to function as msn and you get to use the webcam function

  • I can't use the webcam

    I've bought my i-mac 1 month ago; at the begenning all was working, but now, i can't use the webcam anymore. It works' (green light on) but the screen stay black with photo booth, skype or other software.I have repared the permissions, downlowed OSX 10.5.1 again, repared the permissions again.
    it doesnot work anymore.
    I have also restarted the SMC
    Thank's

    Welcome to Apple Discussions, jean-louis
    First, disconnect any peripherals, restart your Mac, and test again to see if you might have conflicts with other devices you have added to your system. To simplify troubleshooting, leave all unnecessary peripherals unhooked until you get your iSight working again.
    If the above does not resolve your problem, next try every suggestion re: Built-in iSight in the "How to Troubleshoot iSight" article.
    Be sure to include the checks for whether the problem is "application-specific" and "user-specific".
    If you need help creating a new user account to check whether your problem is "user-specific" during Troubleshooting, see this Help article.
    If iSight works with any app in any use account, iSight is NOT your problem. If this is the case and you post back for other suggestions you can try before you seek professional help from your Apple Service Provider, list which apps work with your iSight and which do not. Also tell us if the problem is EXACTLY the same in EVERYH user account you tried.%ensp;Finally, tell us whether you have added any software to your system since your iSight worked correctly.
    EZ Jim
    PowerBook 1.67 GHz w/Mac OS X (10.4.11) G5 DP 1.8 w/Mac OS X (10.5.1)  External iSight

  • Satellite A300-22F - Face Recognition can't use the webcam on Vista 64

    Hello everybody,
    I've got a big problem with the Face recognition tool and my operating system Windows Vista.
    Yesterday I installed Windows Vista 64bit on my new Sat. A300-22F Notebook because the preinstalled
    version of Windows was only 32bit and I've got 4gig of RAM.
    So, all drivers are installed and all works. The webcam driver with the webcam program works, too.
    But when I start the Face Recognition tool, an error appears that the webcam can't be initialised or that
    the webcam is in use and cannot be used at the moment with the program.
    So, no program uses the webcam. The webcam works with other tools. And in the settings of the face tool
    are the webcam still available, but without working.
    Anyone an idea?
    I've got the webcam drivers directly from Toshiba.
    Thanks.
    Greetings.

    Hi!
    Do you have start up programs that uses the camera like Skpye or MSN?
    Check this!
    Are you using the newest version of the Toshiba drivers and tools? Look on the Toshiba website for an update.
    Furthermore I would try to update the BIOS. You can find it on the Toshiba website:
    http://eu.computers.toshiba-europe.com => Support & Downloads => Download Drivers
    Bye

  • L655-S5154 Freezes when using the webcam

    I completely rebuild my laptop with the restore discs provided by Toshiba. I also installed all of the drivers that Toshiba support pointed me to. After the rebuild the laptop runs great except when I use the webcam. Whenever I use the webcam after about 3 mins the whole system locks up and you have to do a force restart to get it going again. After having this happen a few times I noticed that right before the unit freezes it makes a buzzing noise. If you end the webcam session when you hear that noise the unit doesn't freeze and it's functional until I shut it down. I used the drivers Toshiba told me to use, why is this happening only when I use the webcam?

    DEAD BATTERY!!!! Removed dead battery, performed without a flaw, replaced the battery, froze up... Who knew????

  • How can I use the webcam on my iPad 2 in the photon app

    I Have an ipad2 and use the photon app to access the webinar training my company provides I have been asked to do some traing but my iPad webcam does seem to work in the app is there a solution to this
    i also have an iPhone 6 if this helps
    many thanks Dot

    Hi Meg
    i use the photon app to access live training i have been asked to do some training and need to know if i can use the camera on my ipad 2 as a web cam  and also how can i set up a microphone within the app
    i cant  seem to find an external device for ipad nor  can i get the photon app to regognise the camera or microphone on my  ipad2
    is there a way to do this please

  • How to use the webcam and make work

    I have a NOTEBOOK with a webcam is a windows 7 32-bit and one day it crash and it been reboot back, but, every since the webcam it not working. what should I do to make it work.

    Hi Proboco,
    Please provide us the complete model of your system along with the operating system, so that we can assist you in a better way.
    How to locate model number:
    Notebook:
    http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&docname=c00033108
    Regards,
    =======================
    I am an HP employee.
    If my suggestion was helpful, you can thank me by clicking on the "Kudos" button!
    If my answer solved your problem, please feel free let the community know by clicking the "Accept as Solution" button!!

  • I can't use the webcam with iChat

    Hi all,
    The problem is:
    I can speak using the video with a person who is in Barcelona but I can't speak with another who's in London. My other partner, whos's in Barcelona, can't speak with him (I'm in Spain too). So the problem it's not from our system, it's from him. What could be the problem?
    He's using a broadband Internet conexion and a router. Could be a problem with the ports?
    That person who's in London can't speak with other people who's from his country.

    Hi Oleguer,
    I need this sort of info
    http://discussions.apple.com/thread.jspa?threadID=506836
    This list are some of the "normal" devices out there
    http://portforward.com/routers.htm
    I was wondering if you had a Thomson Alcatel Speedtouch modem/router combined device as theses are fairly popular on the Continent. They are also popular in Australia.
    The main problem when one person can not contact anybody is that they have not set up their Mac or their connection devices to alow iChat access to the internet.
    The second most common problem is that people use Port Forwrding or other NAT based port openings like DMZ or Port Triggering and there is conflict with the way their Buddies device is doing NAT.
    http://www.ralphjohnsuk.dsl.pipex.com/page15.html#CertainBuddy
    For this reason we suggest using UPnP where possible.
    The latest issue is that some newer modem and wireless routers that do MIMO or are called Pre-N devices are not liked by iChat
    MIMO stands for Multi In - Multi Out. The device my have more than one ariel to produce better wireless cover
    Pre- N are wireless devices attempting to predict the next stage in Wireless protocols. Currently we have 802.11b and 802.11g
    He should start here http://discussions.apple.com/thread.jspa?threadID=406147
    And here http://www.ralphjohnsuk.dsl.pipex.com/page16.html to see if he has set things up and eliminate possible problems (particularly updating from Panther.
    11:08 AM Wednesday; June 14, 2006

  • How can i use the webcamera Live! Ultra with Msn mesenger?

    hello i need to use this camera with msn messenger but is says that i cn only use it with yahoo msn , but on the box says that i can use it also with msn mesenger i need help fast !
    thx

    oh good noone replies this forums are said to answer questions? LOL i have been w8ing week .. noone replies im returning the cam to the shop..

  • How to use the webcam in Lenovo G505s series

    i am having a lenovo G505s(59-379862) with windows 7 64 bit.I have downloaded and installed the lenovo easycam drivers but i don't find any program appearing in windows from which i can click pictures or record videos.The camera works fine as i am able to use it in Burnout Paradise game.Please help
    Solved!
    Go to Solution.

    hi Aayushshank,
    Welcome to Lenovo Community Forums!
    Please to Download and Install this Software
    YOUCAM 
    IN12STW08WW5.exe
    119 MB
    Hope this helps
    Cheers!
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Not able to use the integrated webcam

    I have a HP Pavilion dv6t-6c00. I upgraded to windows 7 ultimate before which I had windows 7 home premium on which I could use the webcam but now it shows an error when I open cyberlink youcam "Warning, No webcam detected. Try plugging in a webcam into your computer now. If you are using an integrated camera, make sure that it is turned on". I've watched and tried all the steps except for the last step as the cyberlink youcam software doesn't allow me to click the configure settings. What should I do to turn on my webcam?
    This question was solved.
    View Solution.

    According to the message you have recently posted I would like to confirm that this could be a hardware issue and I strongly recommend you to immediately Contact HP Technical Support over the Phone for further assistance without any delay to get your Notebook diagnosed and serviced by an authorized HP Certified Engineer
    You can also Check your warranty Here to verify the warranty status
    Hope this helps, for any further queries reply to the post and feel free to join us again
    **Click the KUDOS star on left to say Thanks**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.
    Thank You,
    K N R K
    Although I am an HP employee, I am speaking for myself and not for HP

  • How can I use the MacBook Pro webcam with Windows XP apps under Parallel?

    Thank you in advance for your help with this matter.
    I have a MacBook Pro and I have just installed Parallel with Windows XP. I would like to use the webcam that comes with the laptop for applications that run under Windows XP (ex.: PalTalk).
    The application doesn't seen to recognize the camera. Do I have to load the drivers for this camera in XP? If so where can I find them and what is the process?
    Thank you again,
    Enrico

    You probably need to load the Boot Camp drivers that are on the Leopard DVD. Whether it works or not I can't say, but you may want to post your question on the Parallels forums, since it's not an Apple product, and if anyone has gotten it to work you'll find them over there.
    http://forums.parallels.com

  • How do I activate the webcam?

    Hi there, usual apologies if I'm repeating a question but I did a quick search and couldn't find anything - which of course is probably normal as Im rubbish on forums!
    I have a HP Touchsmart 130-1205 (i think) and I can get the built in webcam to work perfectly fine in Skype - fantastic. But is there any way I can just use it to record videos? Any help would be MUCH appreciated.
    Thanks!

    This document features instructions on how to use the webcam. Try clicking the third link at the top, "Opening HP TouchSmart Webcam."
    Please click the thumbs up button to say "Thanks!"
    Clicking "Accept as Solution" on a reply that solves your problem makes it easier for other people to find solutions.
    I am an HP employee.

  • How to get the webcam to work?

    Hi,
    As I don't have an instruction book for this computer, can anyone tell me how to get the webcam to work please?
    There is supposed to be something that pops up from the side of the screen, but I've left the mouse sit there for ages on all sides and nothing. Please assist me.
    Kit_e

    I refer you back to my original question.
    There used to be a bar at the side that popped up when you left the mouse sit there for a bit. It no longer pops up ... ie: it's disappeared and will not return ... this is what "started" the webcam for use as a webcam.
    I have no idea on how to use the webcam from any other place. There is no icon. There is no mention of it in the programs list. There is nothing. There is a webcam sitting there in the laptops lid, but I can't find where to "access it". Like I said there is no icon, nothing in the programs list.
    I want to be able to use it. You know, like you use a webcam. On the web, as a camera. No particular website or software that I have in mind.
    Thanks.

Maybe you are looking for