還沒有加入互動
希望不久的將來可以放入一些互動
import flash.display.BitmapData;
var map :BitmapData = new BitmapData(320,240,true, 0);
var cam:Camera=Camera.get();
//cam.setMode(320,240,10,true);
webcam.attachVideo(cam);
_root.createEmptyMovieClip("fake",this.getNextHighestDepth());
onEnterFrame=function()
{
map.draw(webcam);
var clr=map.getPixel(webcam._xmouse,webcam._ymouse);
trace(clr.toString(16));
}
沒有留言:
張貼留言