                 trace(err.name + " " + err.message);
             }
 
-            if (ExternalInterface.available) {
-                ExternalInterface.call('cameraman._droppedPhoto');
-            }
+            this.callback('droppedPhoto');
         }
 
         public function sendPhoto() : void {


        public function sentPhoto(event:Event) : void {
            var url:String = event.target.data;
            if (ExternalInterface.available)
                ExternalInterface.call('cameraman._sentPhoto', url);
        }

    }

                trace(err.name + " " + err.message);
            }

            this.callback('tookPhoto');
        }

        public function dropPhoto() : void {
