with this you can output your processing code through a swf file:
http://code.google.com/p/process…