add flash event defines