문제

I simply need to play a video using the FLVPlayback control, but also need to generate BitmapData from it so I need to load a policy file but cannot find any way to do it! It seems so simple, but it am going nowhere fast.

I have tried loading the policy file like this:

Security.allowDomain("*");
Security.loadPolicyFile("PATH");

but that did nothing (although I can tell in the network events it is loading the file). It still gives me a sandbox error when I try to access the BitmapData.

도움이 되었습니까?

해결책

I ended up fixing this by not using the FLV Playback control.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top