You're welcome guys - I'm glad you found it useful (and hope that it works as expected).
It would be great to see how it is implemented in practice. I have some ideas, but I have another big project to finish-off first (the Stencyl book)!
I love to find solutions like this, but I have a steep-learning curve ahead - even though I am a fairly competent AS3 coder, and haxe nme is heavily based on AS3, my main task ahead is understanding how it all integrates with Stencyl.