Following my last post on 9-Slice items, here comes another nice one on Bitmap.draw() and the security sandbox.
Many people know the solution to this one, but i just found myself looking for it for too long, so here it goes
If you want to take a snapshot of a running Video object, you can't, you'll be alerted by the flash player that you are violating
the sandbox security. So how do we do it?
Easy as pie
video.attachNetStream( null );
bitmapData.draw( video );
video.attachNetStream ( myNetStreamObject );
Three very simple lines of code but that are hard to come by.