This is not a "must-do-exactly-how-I did" tutorial, I don't even pretend it's a best solution:)
Just sharing my thoughts;)
Capx is pretty well-commented, I hope.
This is my first tutty, and English is not my native, so.. I hope it's at least readable :)
Here's a DEMO
Feel free to use it, if you find it useful :)
Any feedback much appreciated.
// Fixed the capx, should work now.
Capx requires latest beta r154 an Personal License.
I can add a capx for a free version, however, just let me know if you guys need one.