You can create functionality (in flash memory) for rendering each frame to a BitmapData object and then send it as a JPEG to the (local) service (via URLLoader or via TCP / IP sockets), which saves them as images in a file, and then converts them into a movie when all frames are rendered.
EDIT: you can use the AS3 Core Lib part ( https://github.com/mikechambers/as3corelib ) to convert BitmapData to a JPEG file (in memory).
source share