Since intensive string concatenation with JS crashes the JS-engine in Notes, I moved the concatenations to the formula-engine in Notes, which is more or less rock solid.
>> Download Demo Application
The problem now, is that the mouse pointer "blinks" (between hourglass and regular pointer) when the button(s) are clicked with JS. *d'oh!*
In the flash, you can't see the mouse pointer blinking as much as it does in the app.
I'll do my best to find a perfect solution, but I'm not sure the right idea will pop up. Suggestions are appreciated :)
If you're downloading/running the demoapp:
The new demo-form is called DemoAnimation_formula.