Creating a flash and holding the last frame