Basic event technics with Adobe AIR