PDA

View Full Version : Help converting the .as code into binary format


prabakaranz
03-10-2008, 01:47 PM
Is there a tool, to convert the as method which we have, to binary form.
I need it coz, i want to inject this method into all the SWF files i parse.

The objective, that iam supposed to do is

1.convert a .as function which checks for URL whether it is absolute or relative, then compile it into binary format and then inject it into the swf files which i parse and then redirect the calls to the predefined method to open the page related to the url.

2.Check the entire flash file for the different possibilities of opening a url and i need to proxy that call to the method which i have injected.

3. The method i have injected changes the url to the one which i want, then redirect the call to openUrl method or something similar to that, to open the webpage or clip related to the link.

I have no idea about flash and actionscript. Iam finding it very difficult to understand these stuff. Iam working in java.

So , Please provide me some inputs on how to achieve this.

Thanks in advance.
Prabakaran Srinivasan.

GordonG
03-10-2008, 02:50 PM
Hi Prabakaran,
There used to be a open source compiler for AS2 - MTASC - that I remember hearing about. Other than that, I can't help you.