Here is a very basic example of SWFRenderer in action, as it only supports groups, shapes and outlines for the time being (basic fills, no fancy paints), the image on the right was produced by GraphicsRenderer, the one on the left by SWFRenderer (you can tell because it uses Flash's plugin

![]() |
You may be wondering about the code, so here it is
No extra nodes required for SWF rendering so far, but I guess as the renderer gets fancier it may support SWF only nodes. SWFRenderer accepts optional settings like background color and frameRate, but I'll show how to use them in a later post. There is a "side-effect" from switching to TransformSWF, that library is able to read SWF files by creating an internal model, which although it is a bit tangled at first (the SWF model that is), may enable importing SWF drawings into GraphicsBuilder's drawings ...

Keep on Groovying!