         private var videoface:Video;
         private var cam:Camera;
         private var photo:Bitmap;
+        private var cameraid:String;
         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);
        }

        public function sendingSecurityError(event:SecurityErrorEvent) : void {
            trace("SecurityError: " + event.text + " " + event.target);
        }

        public function sentPhoto(event:Event) : void {


            trace("START ME UP");
            sendto = this.loaderInfo.parameters.sendto;
            cameraid = this.loaderInfo.parameters.cameraid;
            configureCamera(null);

            if (ExternalInterface.available) {
