Hello,
I am trying to inject an allowDomain call to an swf.
What i have currently is:
class AllowDomainHax {
function AllowDomanHax() {
}
public static function main() {
//System.security.allowDomain("*");
getURL("javascript:alert('foo')");
}
}
I compile it with mtasc like:
$ mtasc -version 9 -swf allow_domain.swf -main -header 400:250:20
allow_domain.as
and then combine:
$ swfcombine -o charts_xd.swf -T allow_domain.swf charts.swf
Also tried other combine methods but neither seems to make it work
fully - I either just get the alert (-T is in this group) or I don't
but the original swf works.
Any idea what might be wrong?
--
Best Regards
Piotr Jaroszyński