swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Swftools-common] swfcombined swf not working


From: Piotr Jaroszyński
Subject: [Swftools-common] swfcombined swf not working
Date: Tue, 9 Feb 2010 00:25:31 +0100

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]