How can I use BitmapData.draw with NetStream.appendBytes?
I am using NetStream.appendBytes() to play a local video (no server involved) in Adobe AIR . I would like to use BitmapData.draw() to take a picture of the video output, but I am getting this error: Error #2123: Security sandbox violation: BitmapData.draw: cannot access null. No policy files granted access. Here is some sample code: package { import flash.display.Sprite; import flash.filesystem.File; import flash.filesystem.FileMode; import flash.filesystem.FileStream; import flash.media.Video; import flash.net.NetConnection; import flash.net.NetStream; import flash.net