Eval used to do the trick in as2.. Quick search found me this

http://eval.hurlant.com/


On 11/22/08 11:28 PM, "Julian Tenney" <[EMAIL PROTECTED]>
wrote:

> This mght seem like a funny question, but is it possible to execute
> actionscript at runtime, from code loaded from, say, xml files?
> 
> 
> From: [EMAIL PROTECTED] on behalf of Don-Duong Quach
> Sent: Sat 22/11/2008 00:04
> To: Open Source Flash Mailing List
> Subject: Re: [osflash] Adobe Alchemy
> 
> I don't know about the nitty gritty details about bytecode generation from the
> scripts, but I guess at some level that has to happen in the runtime or via an
> emulation layer.  But in plain terms, you could run a script from another
> language against the flash runtime in the same manner that for example Ruby
> would run on Java's vm like in JRuby.   The main difference is that the with
> Alchemy you can run the standard Ruby interpreter and not have to build your
> own interpreter from scratch.
> 
> In Scott's Lua example he had what looked like a prompt running in a swf and
> copy and pasted in code which executed in real time.  What's max/msp?
> 
> 
> On Fri, Nov 21, 2008 at 3:24 PM, Niels Wolf <[EMAIL PROTECTED]>
> wrote:
>>> > Since those interpreters are written in C, Scott was able to get them
>>> running
>>> > in flash.
>> 
>> Ok.. Here starts my confusion.. Running in flash? You mean generate avm2
>> bytecode from it not like emulating comodore games in flash...?
>> 
>>> > Then pasted in
>>> > updated code to do animation.
>> 
>> Real time? Real time code update? Like max/msp?
>> 
>> Sorry.. I am just wondering.
>> 
>> Niels
>> 
>> --
>> Niels Wolf
>> Department of Interactive Media
>> 
>> MediaCatalyst
>> Keizersgracht 268-270
>> 1016 EV Amsterdam
>> The Netherlands
>> 
>> t. +31 (0) 20 626 2976
>> f. +31 (0) 20 626 4026
>> m. +31 (0) 634 658 783
>> 
>> www.mediacatalyst.com <http://www.mediacatalyst.com/>
>> 
>> 
>> _______________________________________________
>> 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.


Niels Wolf

-- 
Niels Wolf
Department of Interactive Media

MediaCatalyst
Keizersgracht 268-270
1016 EV Amsterdam 
The Netherlands

t. +31 (0) 20 626 2976
f. +31 (0) 20 626 4026
m. +31 (0) 634 658 783

www.mediacatalyst.com

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

Reply via email to