SnapShot is a web and desktop based Facebook application. It simulates a PhotoBooth like the ones you see on subway stations. Connect your webcam, change the colors and snap 4 pictures of you. Download them to your computer or upload them to facebook.
This application is beeing developed by João Belchior for portfolio purposes.
Enjoy & Share …
import flash.display.MovieClip;
import flash.events.MouseEvent;
import flash.net.navigateToURL;
import flash.net.URLRequest;
var _clickArea:MovieClip;
setClickArea();
function setClickArea():void
{
_clickArea = new MovieClip ;
addChild(_clickArea);
_clickArea.graphics.beginFill(0xff0066);
_clickArea.graphics.drawRect(0,0,stage.stageWidth,stage.stageHeight);
_clickArea.graphics.endFill();
_clickArea.alpha = 0;
_clickArea.buttonMode = true;
// CODE FROM GOOGLE ADWORDS
_clickArea.addEventListener(
MouseEvent.CLICK,
function(event: MouseEvent) : void {
flash.net.navigateToURL(new URLRequest(root.loaderInfo.parameters.clickTAG), "_blank");
}
);
}
This is one of my first motion track applications with webcam. I was inspired with the Optimus magma commercial were they add “magma” in post production. Here you interact with it in real time.
Sorry for the quality and length…