[osflash] Runtime Interperters (was RE: Adobe Alchemy)
niels.wolf at mediacatalyst.com
Mon Nov 24 00:55:38 PST 2008
Eval used to do the trick in as2.. Quick search found me this
On 11/22/08 11:28 PM, "Julian Tenney" <Julian.Tenney at nottingham.ac.uk>
> This mght seem like a funny question, but is it possible to execute
> actionscript at runtime, from code loaded from, say, xml files?
> From: osflash-bounces at osflash.org 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 <niels.wolf at mediacatalyst.com>
>>> > Since those interpreters are written in C, Scott was able to get them
>>> > 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 Wolf
>> Department of Interactive Media
>> 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
>> osflash at 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.
Department of Interactive Media
1016 EV Amsterdam
t. +31 (0) 20 626 2976
f. +31 (0) 20 626 4026
m. +31 (0) 634 658 783
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the osflash