flash on 2010-12-27
@author David Ochmann
/**
* Copyright casinpiu ( http://wonderfl.net/user/casinpiu )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/pgDX
*/
package
{
/**
* @author David Ochmann
*/
import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.display.PixelSnapping;
import flash.display.Sprite;
import flash.events.Event;
import flash.filters.ColorMatrixFilter;
import flash.geom.Point;
import flash.geom.Rectangle;
import flash.media.Camera;
import flash.media.Video;
import flash.utils.setTimeout;
private function initCamera():void
{
mCamera = Camera.getCamera();
mCamera.setMode(mGridWidth, mGridHeight, 24);
}
private function initVideo():void
{
mVideo = new Video(stage.stageWidth, stage.stageHeight);
mVideo.attachCamera(mCamera);
}