[quote="Steven":286exb5f]Make a little white sprite, with a private variable for its opacity time.
Now with a start of layout event set the sprite to 0,0, set its width and height to the screen.(not necessary, just tidier for your layout.)
private variable being 0 set the opacity to 0.
If the pv is greater than 0
-set opacity to 100
-set pv to clamp(whitesprite.value('privatevariable') - 100 * timedelta, 0, 100)
Now, when you want to trigger the flash set the pv to 10 or so.[/quote:286exb5f]
I did this exactly, except I kept using the all-white-layer-visibility for the flash itself. I tried the sprite stretched across the screen and then set to 0 opacity -- but it seemed to drop the frames per second more than using the layer version.
Either way, thanks for the timer code. That'll be really useful in a bunch of places!