             return;
         }
 
-        _video = new Video(_camera.width, _camera.height);
-        _bitmap = new Bitmap(new BitmapData(_camera.width, _camera.height, false));
-        _video.attachCamera(_camera);
-        addChild(_video);
+        attachVideo();
     }
 
     public function getCameraName () :String

            return; // throw exception?
        }

        _bitmap.bitmapData.draw(_video);
        if (_video.parent != null) {
            removeChild(_video);
            addChild(_bitmap);

     */
    public function setMode (width :int, height :int, fps :Number, favorArea :Boolean = true) :void
    {
        clearSnapshot();
        removeChild(_video);
        _camera.setMode(width, height, fps, favorArea);
        attachVideo();
    }

    public function takeSnapshot () :void
