I’d like to automatically generate ActionScript classes for a flash client side of one of my projects. (These projects have a formal way of describing my models that is already used to generate SQL and a admin interface).
Now, the ActionScript should/could be compatible with ActionScript 2 and 3. Is there a description of a maximal common subset of features available somewhere?
I think you will be stumped right of the bat, because AS2 and AS3 declare there classes/packages differently.
If you are looking to create Classes from templates, then I would suggest using FlashDevelop. It has a get templating system.
ActionScript 2 Class/Package example:
ActionScript 3 Class/Package example:
But this is all just syntax. There are a lot more fundamental deferences between the languages than just formatting. There is also a different way of thinking.