Ming offers various language bindings, fortunately one of them is Java, problem is that Ming is currently on 0.4beta but the java extension is on 0.3. Another problem that I found (which was quite annoying) is that the java extension declares all its classes in the default package, somehow making Eclipse & Maven complain while importing the classes. Lastly that extension is built using a Makefile, which may be understandable from the point of view that it is really old code and that it has some native code too.
So the first task was putting ming-java up to date, rolling an Ant based build, even enabling native compilation through the cpptasks from ant-contrib; also moved the classes to net.sf.ming package so no more import conflicts. The code seems to be tied to linux but I believe it may be possible to compile the native library for other OSes.
On the Groovy side, there is a new extension called graphicsbuilder-ext-swf which is responsible for converting from Groovy to SWF, the really good news? you can use the same syntax, the same nodes, nothing has changed
This extension has put into evidence some pain points in the API that may also help in making groovy2svg (might as well finish the other side too, right?). Right now it supports transforming basic shapes and color fills, more to come later.Keep on Groovying!