Compile swf to support policy file