Baseahoy is a project mainly written in ActionScript, it's free.
Basecamp desktop notifications - made simple