wrapping common flash events