Sequenced clicking

K here’s a tough one.
Trying to emulate trick birthday candles. Say i have 8 movieclips of the candles that when clicked on they’ll animate like they’re being blown out. but as the playhead advances within the movieclip they re-light. The only way that they will all stay “blown out” is if they are clicked on in a pre-determined sequence. And once they are i can set another action there, like a simple trace. Basically does anyone have an idea on how to accomplish this or some sort of simple example just using simple shapes?
Greatly appreciate it!