Skip to main content
Known Participant
July 13, 2013
Question

Security sandbox violation: BitmapData.drawWithQuality with StageVideo

  • July 13, 2013
  • 0 replies
  • 664 views

Hi,

i got a local mp4 file in air 3.8 latest beta. when i play it with stageVideo i can't draw the stage anymore EVEN if i remove the StageVideo!!

[Fault] exception, information=SecurityError: Error #2123: Security sandbox violation: BitmapData.drawWithQuality: app:/yourApp.swf cannot access null. No policy files granted access.

I'm fighting with this stupid issue for 1 week now and i tried everything.

My path is local and relative from the app so no file://

i tried removing hte stageVideo with this game.

                              nc_stagevideo.connect(null);

                              nc_stagevideo.close();

                              nc_stagevideo = null;

 

                              ns_stagevideo.close();

                              ns_stagevideo.dispose();

                              ns_stagevideo = null;

 

 

                              stagevideo.removeEventListener(StageVideoEvent.RENDER_STATE, onRender);

                              stagevideo.removeEventListener(NetStatusEvent.NET_STATUS, onStageVideoStatusEvent);

                              stagevideo = null;

still can't draw the scene. That only happen on mobile. (i only tested IOS with an iphone 4 and ipad 1 , both with ios 5.1)

Anybody got an ideas ?

This topic has been closed for replies.