[osflash] Create AS3 classes for pre-AS3 swf assets (without Flash IDE)
g99k at hotmail.com
Sun Sep 4 08:28:32 EDT 2011
Hi everyone, I've got the following problem:
I'd like to publish an old eComic to Android. It contains a number of vector images and 2 lines of AS1 code : a stop() command and a nextFrame() button.
I made this with my old copy of the Macromedia Flash 5 IDE. I don't own a newer version of the Flash IDE.
While I can use Adobe Flex to repackage the .swf as an Android .apk, the file gets picked up by the Adobe Air interpreter on the Android system which strips all pre-AS3 code from the movie. Without the stop() and nextFrame() commands, the movie can't be read as a comic anymore. Without an AS3 class being associated with the movie, it seems that I cannot issue these commands from the Air wrapper either.
I cannot define classes in the old Flash 5 IDE, only linkage names. I can use the haXe comiler to create AS3 classes, but they are not associated with the image assets.
Is there any open source software which I can use to automagically or manually create AS3 classes for old assets in an existing .swf?
If not, does anyone know another solution for my problem (preferrably open source or free as beer)?
Many thanks in advance.g99k
More information about the osflash