I'd like to be able to generate a class that inherits from BitmapData at runtime. Is this possible in Actionscript 3? If so, what is the syntax?
views:
49answers:
2
Q:
Flex/Actionscript 3: Is it possible to generate a class at runtime that inherits from another class?
A:
I've never seen that, but you could probably mimic that sort of behavior with a static class that you can feed standard BitmapData objects into at runtime...
Jasconius
2010-03-30 17:38:18
+1
A:
I do not think that you will find yet a mature library to do that. There are two open source projects for dealing with ABC bytecode manipulation but they seems to be in infancy. You can take a look on at http://code.google.com/p/flemit/ and http://code.google.com/p/floxy/
Cornel Creanga
2010-04-06 08:01:02