No, I don't think that's the issue. I have no problems downloading the video using URLLoader, which does the crossdomain check. Problem is when I do this:
stream = new NetStream(connection);
// ... snip ...
video = new Video();
stream.appendBytes(videoByteArray as ByteArray); // videoByteArray is taken from URLLoader downloaded content, i.e. the video
As you can see NetStream doesn't know anything about the video, it doesn't know anything about the server, so it can not take something from crossdomain.xml.
As far as I've read, it's imposible to do what I'm doing: simply Flash security won't allow to take contents of anonymous stream (i.e. stream started with play(null)).
So my question is: how do I download video first and then play (instead of streaming) it in some other way? I couldn't find such API on NetStream itself.
Have you found a solution to make Bitmap.draw() work with NetStream.appendBytes()? I ran into the same problem and couldn't find a solution.
No, my conclusion was that it is imposible due to security sandbox restrictions. We ended up prestreaming part of video using NetStream and then simply unpausing it.