Thanks for your respons, redmile!
I seem to have the same problem with your second solution as with my own. And I think I have figured out why. The compare function fails from time to time, and I have realized that when my text element (containing the clock value that gets compared) is animated out of view, it is no longer updated, and therefore wont animate in the next time. I have done some tests and it seems like whenever the text element is not visible in the viewport (behind something else or alpha set to 0) it's not updated. I've created a "data text element" to be compared instead of the actual element being animated, and this works, but also has to be visible. Alpha set to 0 = not updating, alpha set to 0,1 = updating. Is this a system bug or supposed to be like this? I'm running Xpression Designer v.8.0 build 4106.
#XPression