 
             trace("START ME UP");
             sendto = this.loaderInfo.parameters.sendto;
+            cameraid = this.loaderInfo.parameters.cameraid;
             configureCamera(null);
 
             if (ExternalInterface.available) {

        private var videoface:Video;
        private var cam:Camera;
        private var photo:Bitmap;
        private var sendto:String;
        private var movieSize:Point;



        public function sendingIOError(event:IOErrorEvent) : void {
            trace("IOError: " + event.type + " " + event.text + " " + event.target + " " + event.target.bytesLoaded);
            this.callback('errorSending', 'IO error: ' + event.text);
        }

        public function sendingSecurityError(event:SecurityErrorEvent) : void {
            trace("SecurityError: " + event.text + " " + event.target);
            this.callback('errorSending', 'Security error: ' + event.text);
        }

        public function sentPhoto(event:Event) : void {
