Hi everyone!

I have really hard (I think) question.
How to map LED 2 different colours on the same button changing in specific situation?

Let me explain what I'm trying to do.
Button M is mapped as play/pause for deck A. When loaded and paused is solid green, when play is on green flashing. Also on the same button I have mapped track end warning in red colour. When warning is triggered it on flash red once for a second. I want flashing green to change to flashing red when track end warning is triggered.

hope this make sens

Thank for all help