incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raju Bitter <rajubit...@googlemail.com>
Subject Re: Red Tamarin ( Rocking Flex on CLI )
Date Sat, 21 Jan 2012 10:10:25 GMT
Adobe already has server-side JavaScript, which they actually call
"Server-side ActionScript", probably for marketing reasons (why would
you want to call JavaScript ActionScript?):
http://help.adobe.com/en_US/flashmediaserver/ssaslr/WS506b356fe242b04e73085b151300e983f4e-8000.html
"Server-Side ActionScript is Adobe’s name for JavaScript 1.5. Flash
Media Server has an embedded Java-Script engine that compiles and
executes server-side scripts. This Server-Side ActionScript Language
Reference documents the Flash Media Server host environment classes
and functions. You can also use core Java-Script classes, functions,
statements, and operators. For more information, see the Mozilla
JavaScript documentation at
http://developer.mozilla.org/en/JavaScript.

Server-Side ActionScript is similar, but not identical, to
ActionScript 1.0. Both languages are based on ECMAScript (ECMA-262)
edition 3 language specification. Server-Side ActionScript runs in the
Mozilla SpiderMonkey engine embedded in Flash Media Server.
ActionScript 1.0 runs in AVM1 (ActionScript Virtual Machine 1) in
Adobe® Flash® Player. SpiderMonkey implemented the ECMAScript
specification exactly and Flash Player AVM1 did not. The biggest
difference between Server-Side ActionScript and ActionScript 1.0 is
that Server-Side ActionScript is case-sensitive."

We should probably be careful to call real ActionScript 3.0 on the
server "server-side ActionScript" then. I wonder what motivated Adobe
to not use Tamarin/ActionScript within the Flash Media Server, but
JavaScript instead, does anyone know?

Mime
View raw message