As3 Eval updated

I’ve grabbed some recent .abc binaries from the Mozilla Tamarin repository. 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.

Explore posts in the same categories: web, actionscript, eval

4 Comments on “As3 Eval updated”

  1. ken larkin Says:

    Hi,
    Please is there any chance you could contact me regarding explaining how the signing works in your code. It gives me a signature but I cannot verify it in actionscript or .NET. It may be encoding or something simple.

    Thanks in advance,
    Ken

  2. Noemata Says:

    Thanks for making the swc binary available! I was able to build the lib after peeking inside. I presume you’re excluding some of the actionscript files because they present build/runtime issues?

  3. Peter Halacsz Says:

    hi,
    this is a very amazing tool. I’ll try to integrate to our flash app. User could extend the app by scripting.

    Security should be considered. Now the byte code is Loaded as a child of the main app so if I have a static function that destroys something in the app, a script will be able to call this.

    Could you please help me to think about the next solution: my app is running in a domain. I put some kernel code in a child domain. The kernel can use the app domain.

    Then I load the compiler as a separeted domain and load the compiled byte code as a child of this.

    I haven’t found nothing similar to this.

    peter

  4. nuigroup Says:

    Question: would it be possible to have a Flash SWF running in standalone to load a “Class.as” file and then compile it into a SWF in which the parent SWF loads?

    I’m looking to build an open source AS3 compiler in Flash and see if there is a better way for application deployment… mainly in development scenarios.

    The compiler would not need to debug much… just show an error if something is wrong with the data being compiled.

    Thanks for this awesome lib… keep up great work

Comment: