Flash ASO Caching problems

When you work with AS 2.0 and classes you have to be aware of the fact that Flash MX 2004 (Pro) uses some kind of caching. When a AS 2.0 class is compiled an ASO-File is generated which is located “SYSTEM_HD/Documents & Settins/USERNAME/Local Settings/Application Data/Macromedia/Flash MX 2004/en/Configuration/Classes/aso”. There can be problems if you are working on a network drive which is mentioned this Flash Technote.

I work a lot with classes and came to another problem. A bigger project won’t compile with no error message or warning. In the timeline I had only:

_root.app = new App();

In my App-class I import and use several classes. By commenting out step by step every class I got the class which caused the silent error.
The class which caused the problem was probably compiled wrong or incomplete so the whole application won’t compile with any error message.
I got it working by deleting my aso files (the one who caused the error should be enough).
Took me quite some time to figure this out so my hint: if your project won’t compile and you have no idea why first delete the aso files.

There is also a tool for deleting the aso files and for accessing common (nested) folders of flash or other flash-related functions called Flashtray Tools. To run the Flashtray software you need do install the Mircrosoft .NET 1.1 Framework.

Comments are closed.