views:

49

answers:

2

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?

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
+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