The UI for this reminds me a lot of Scratch from MIT.
I am so freaking proud.
This might change your idea: http://day.scratch.mit.edu/
Edit: Here's my old Actionscript library in case anyone is interested. https://github.com/trun/flashblocks
It was presented at JSConf last year: http://blip.tv/jsconf/jsconf2011-dethe-elza-5942746
Waterbear isn't a language like Scratch, it's a toolkit to create a Scratch-like visual programming interface to any language you like. There is active development on wrappers for Javascript, Java robotics, and Arduino.
It's not finished yet, but it sure beats MIT's attempt to port Scratch from Squeak Smalltalk to Adobe Flash...