add flash effect.