That's interesting thanks. My application is at www.nottingham.ac.uk/xerte. 
It's open-source. I currently use the old actionscript interpreters from Elvis 
Mehmedovic, which work well enough. All the object oriented code is in the 
engine swf file - the script I want to execute at runtime needs to be able to 
talk to all the classes in there, and the objects they produce. It doesn't 
really need to be partiualrly fast, and the users this is targetted at don't 
need a full on OO language - just a lightweight scripting language. I'm just 
exploring alternatives. I'd love the Flash player to natively support runtime 
interpretation - but you guys will all tell me for lots of good reasosn why 
that's a bad idea! I do understand those reasons, but there are lots of reasons 
why it's a good idea too! One of the things that the interpreter I use doesn't 
support is function declarations, which I'd love to have. Of course, you can 
compile swfs, load them up and call the code in them, which works well enough.

Interesting thread, thanks,

J

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nicolas Cannasse
Sent: Tuesday, November 25, 2008 8:58 AM
To: Open Source Flash Mailing List
Subject: Re: [osflash] Runtime Interperters (was RE: Adobe Alchemy)

Julian Tenney a écrit :
> This mght seem like a funny question, but is it possible to execute 
> actionscript at runtime, from code loaded from, say, xml files?

While we're at it, you can also use haxeScript for that, which is a 
untyped subset of haXe which is 99% similar to ActionScript :

http://code.google.com/p/hscript/

It contains both a parser, that will parse a code string into a data 
structure that can be analyzed/manipulated, and an interpreter that is 
able to execute the code.

It works for Flash 6-8, Flash 9-10, Javascript, PHP and Neko (all 
supported haXe platforms in fact).

Best,
Nicolas

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to