Enable flash on SM2, fix crossdomain.xml issue