AS2 OOP: Class File Management
         by senocular

ASO Files
One final word about Classes and class files in Flash. This concerns certain files with an .aso extension. These files exist in an aso subdirectory of the Classes folder within your LocalData directory (as see in your global classpath list by default - not the one in the Flash install directory). What these files are, are "caches" of your class files. Being the slick application Flash is, to improve performance in publishing your movies, it creates temporary pre-compiled versions of your external classes every time you test or publish your movie. Then, the next time you test or publish, it can reuse those pre-compiled aso versions without having to recompile the original .as files (assuming they didn't change) saving time and allowing for a faster publish.

Sometimes things don't always go as planned and its possible that a newer version of your class will go ignored in favor of a cached aso version. This can happen if using shared files between 2 computers or in the case you do something like replace a current version of a class with an older one (one with a timestamp that would make it look older than the aso and therefore appear not to need to be recompiled). If this is in fact the case, simply delete your aso folder forcing Flash to recompile all class files from scratch assuring that the newest and shiniest files are used.

 

 




SUPPORTERS:

kirupa.com's fast and reliable hosting provided by Media Temple.