In case Flash no longer exists; a copy of this site is included in the Flashpoint archive's "ultimate" collection.

Dead Code Preservation :: Archived AS3 works from wonderfl.net

flash on 2010-12-27

@author David Ochmann
Get Adobe Flash player
by casinpiu 27 Dec 2010
    Embed
/**
 * 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);
        }