Skip to main content
Known Participant
Nov 3, 2022 3:50 AM UTC
Question

Camera Motion Detection in AS3

Hi,

I'd like to try that camera motion detection. Like I want to control something

using my webcam. Is that possible to do in Animate?

If so, how do I link my webcam?

Caleb.

    This topic is closed to new replies. Start a new post to keep the conversation going.

    9 replies

    JoãoCésar17023019
    Community Expert
    Community Expert
    Nov 3, 2022 8:57 PM UTC

    Hi.

     

    If you Google for it, you will probably find some resources. For example:
    https://www.spikything.com/blog/index.php/2007/10/09/webcam-motion-detection-in-as3/

    https://www.leonardofranca.com/motion-detecting-webcam-with-adobe-flash/

     

    But if the results are too outdated, you can consider using the HTML5 Canvas document and searching for a good JavaScript library.

     

    Regards,

    JC

    Translate
    TheOriginalGC
    Community Expert
    Community Expert
    Nov 3, 2022 1:48 PM UTC

    What is it that you want to control? Character Animator (CH) has face and body tracking capabilities.

    Translate
    Known Participant
    Nov 3, 2022 4:52 PM UTC

    Oh I see. So, I'd have to use Character Animator. Okay. I'm trying to make like an interactive video game. I want the camera to detect my movement.

    Can you do Actionscript in Character Animator?

    Translate
    Known Participant
    Nov 3, 2022 8:36 PM UTC

    Let me clarify. I want to make an interactive video game using my webcam.

    Is that possible?

    Translate
    kglad
    Community Expert
    Community Expert
    Nov 3, 2022 1:01 PM UTC

    no, the camera in animate is a virtual camera, unrelated to any real camera (webcam or otherwise)

     

    https://helpx.adobe.com/animate/using/working-with-camera-in-animate.html

    Translate