# Position WebCam (Camera) on the stage? Multi-interaction Application, AS3

**URL:** <https://forum.kirupa.com/t/position-webcam-camera-on-the-stage-multi-interaction-application-as3/256801>\
**Category:** flash\
**Created:** [April 7, 2008, 2:46pm UTC](https://forum.kirupa.com/t/position-webcam-camera-on-the-stage-multi-interaction-application-as3/256801 "2008-04-07T14:46:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scank](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@Scank](https://forum.kirupa.com/u/Scank)\
**Post date:** [April 7, 2008, 2:46pm UTC](https://forum.kirupa.com/t/position-webcam-camera-on-the-stage-multi-interaction-application-as3/256801/1 "2008-04-07T14:46:10Z")

</div>

Hi all,

making an app where you can drag and drop items onto your own image (webcam)…probably is pretty simple to do but Im having some trouble!

So far, I can get the webcam to display on run-time, butI cant seem to position it to the right side of the app. I have my shapes already positioned on the left, and the webcam display covers the shapes because its also on the left! Anyone give me any ideas how I can position the webcam display? This is a snippet of code that I think will need changing somewhere 🙂

public function CameraExample() {

```
        stage.scaleMode = StageScaleMode.NO_SCALE;
        stage.align = StageAlign.TOP_LEFT;
        
        var camera:Camera = Camera.getCamera();
        if (camera != null) {
            
            trace ("camera present "+camera.name);
            camera.setMode(400,400,10);
            camera.setMotionLevel(15);
            camera.addEventListener(ActivityEvent.ACTIVITY, activityHandler);
            video = new Video(camera.width, camera.height);
            video.attachCamera(camera);
            addChild(video);

```

Thanks for reading!
