SecurityError: Error #2122: Security sandbox violation: BitmapData.draw? help me

By mca_kkchaitanya | May 20, 2009

actionscript3

Hi all,

I am trying to garb the bitmap of the every frame in the flv

ActionScript Code:
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

actionscript3

Please reply at our Forum

2 Comments so far
  1. dandy September 16, 2009 3:06 am

    I’ve the same problem. anyone can help ?
    Regards.

  2. dwkd January 14, 2010 9:49 am

Leave a Comment

If you would like to make a comment, please fill out the form below.

Name (required)

Email (required)

Website

Comments

© 2007 ActionScript 3.0