Export SWF runtime to video

I’ve always wanted a way to export SWF runtime data to video. I totally dig the Processing library that makes this possible. Is there a solution for Flash yet?