If you’re like me, you like ActionScript 2.0. And you like creating classes with AS 2.0.
And sometimes when you’re working on a class, you make changes to the code, and you republish to test your changes…and WHAM!
Nothing’s changed.
So, I figured (correctly) that Flash is storing a compiled version of all your classes, essentially caching them so (in the event that there are no changes to the code), Flash can use the cached, pre-compiled version without having to recompile the class.
In theory, that’s all well and good. However, what’s not so good is that it doesn’t always detect properly when your file gets changed.
This has been driving me up the wall, because I’d have to close Flash, close my .as files, reload Flash, reset the class linkages, etc, etc, to get it to re-compile the class file. Time being of the essence, I rooted around in the ol’ Local Setting/Application Data folder, and found a directory inside of the Flash MX 2004 Classes directory named ‘ASO’. And in this folder are all sorts of files, named namespace.classname.aso.
Did a quick search online, found this on Kirupa…sure enough, .aso files are pre-compiled Flash classes.
Yay.
End result - if you’re running into this problem, delete your aso folder, and you should be good to go. Or, if you prefer, just delete the specific .aso files that you are trying to test, so that the unchanged classes don’t need to be recompiled.
Share me:
These icons link to social bookmarking sites where readers can share and discover new web pages.