# Internal flash bit

**URL:** <https://forum.inductiveautomation.com/t/internal-flash-bit/28393>\
**Category:** Ignition\
**Tags:** ignition80, perspective\
**Created:** [September 19, 2019, 3:45pm UTC](https://forum.inductiveautomation.com/t/internal-flash-bit/28393 "2019-09-19T15:45:20Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [September 19, 2019, 6:31pm UTC](https://forum.inductiveautomation.com/t/internal-flash-bit/28393/4 "2019-09-19T18:31:26Z")

</div>

It’s a _tiny_ bit convoluted, but you can just use a style class for this, too:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/6/6f8404f3c97d88ed6a777ecf355b8cfff746715b.png)  
Set the duration appropriately, then add a stop at 49% with the same color as your 0% state.  
Then add a stop at 50% (and 100%) with the alternate color.

The animation will take 1s to transition through all your steps - so half the time, it will be trying to transition from step 0 to step 49 - but since they’re the same, nothing will happen. Then, after 50% of 1s has elapsed, it switches to the 50% style (and the new background color). Then it tries to “transition” between that style and the 100% style - so as long as they’re the same, there will only be a single “transition” frame between animation loops.

---

_[View the full topic](https://forum.inductiveautomation.com/t/internal-flash-bit/28393)._
