short answer: YES
use redtamarin
http://code.google.com/p/redtamarin/
redtamarin allows you to run AS3 code on the command line as well as on the server side
you will have your own API for accessing the file system, sockets, standard streams (stdout / stderr / stdin), information about the operating system, etc.
Now it depends on what you need to do on the server side.
If you need to access databases, redtamarin does not have an API for this (in a future version).
But you need to do CGI, start your own HTTP server or socket server, yes, redtamarine can do it all.
change
proof here http://www.burrrn.com
this website is fully programmed with ActionScript 3.0 for the backend
- he runs the program ABC (ActionScript Bytecode) as CGI
- processes HTTP verbs GET / POST / PUT / DELETE / etc.
- It connects to 5 CouchDB databases.
- all navigation, pages, etc. generated by adding code to templates and then displaying HTML pages
- it processes form data, makes a RESTful API in JSON / XML, and also performs basic / digest authentication
- and much more
All this, again, in ActionScript 3.0 with redtamarin as the runtime
so I can definitively answer yes
zwetan
source share