
I am trying to garb the bitmap of the every frame in the flv
var myBitmapData:BitmapData = new BitmapData(320, 240); myBitmapData.draw(vid); if(prevBitmap.compare(myBitmapData)==0) { trace(frameCount+“ same Frame \n“); sameframeCount++; } prevBitmap.dispose(); prevBitmap=myBitmapData.clone(); myBitmapData.dispose();
It works fine when I run locally but
when I place in web, I am getting SecurityError: Error #2122: Security sandbox violation: BitmapData.draw
any workaround?
Please help me to solve this problem.
thanks in advance
If you would like to make a comment, please fill out the form below.
I’ve the same problem. anyone can help ?
Regards.
Here is a fix for you
http://www.thebluepipe.com/Developer/tutorials/as3/Crossdomain-Video-Snapshot-Fixing-BitmapData-draw-Security-Sandbox-Violation.html