I have an swf for my application for which i do not have the source code. Now i want to override the functionality of a method (say doIt()) in a class (say MyClass.as).
Is there any way to achieve the classloader functionality that similar to the tomcat classloading functionality for java files.
i.e Tomcat's classloader searches the WEB-INF/classes directory before the WEB-INF/lib/*.jar. That means my original code is in lib folder, and the orerriden code is in the classes folder. In this case, tomcat will see the classes folder first, if my class does not exist in this folder, then it looks for the lib folder.
Can we achieve the same class loading functionality in Flex. The overall idea is to change the functionlity of a feature without touching the original swf and by creating an external swf and by calling it.
Any public class that exists before a SWF is loaded supercedes the version
in the SWF. You will have to make sure all class dependencies match up
version-wise otherwise you may get verify errors.
Use SWF de-compiler.. and get the source of your SWF.. i think this will simplyfy your JOB...!
Can u please eloberate more on this. Like how externally call newer version of class. I should not change code in the existing swf.