I’ve grabbed some recent .abc binaries from the Mozilla Tamarinrepository. The ESC project is moving along quite nicely apparently, as this version is able to compile a lot more constructs. For example, it has enough namespace support to let scripts access objects located in other packages (see the sample code on the “Eval UI” tab in the demo.)
I’ve tweaked the way those binaries get injected within the player, which fixes a few bugs (such as chunks of bytecode getting GC’d before they have a chance to run..woops.)

Anyway, give it a whirl. I’ve finally included the es4eval.swc file too. I’ve another little project that builds on this stuff that I’ll blog about soon.

Will be nice if As3 Eval will show mx_internal, private and protected members and accessors from loaded SWF file. Looks like only using byteArray we can get these properties, because describeType method cannot provide that information. Any suggetion how can I use it?

Haven’t seen any updates on this fantastic project in a while… Any chance you’re interested in dropping it in a git repo or on Google code (or something) so that we can all collaborate? I’d be interested in contributing.

Ok, I’ve pulled out the Loader method for executing arbitrary bytecode, and tested that I can build and load an SWF with the arbitrary code loaded in. I’ve got the basic bytecode I’ll need to generate a method that can instantiate a generic class using X arguments.

My next task is to get arguments (Class, Array) in and a return value (Object) out. Any ideas?