Running a red light means the light is red and the vehicle has yet to pass the marked limit line, or enter the cross walk. If the light is red but you enter the crosswalk or pass the limit line prior to it turning red then technically you didn't run a red light and you will not be ticketed, nor will the camera take a picture of your plate--even if you are driving through the intersection and the light is red.
Just break the plane before red and you'll be good. And most of all, if it was raining and your traffic lights stop working and you come to an intersection where you have a flashing yellow, please don't stop. Just drive through with caution. The intersecting light will have a flashing red and those there will only be allowed to go when they see that it's clear. If you're at the flashing red, don't treat it like a stop sign and just stop and go. Wait until it's clear and then proceed, because again, the people with the yellow must not stop. Only a dork will stop. Unfortunately these rules are things people don't know.
I've never seen a flashing yellow light. The only flashing yellow light I've seen are like if you're coming around a turn and it's just a warning light telling you there's a traffic light ahead.
I also don't know where it is that you live, but where I live, you must treat a flashing red light like a stop sign. It even said so in the drivers handbook. Plus if a traffic light has a flashing red, the rest of the intersection will as well. I've never seen it where one direction will have a flashing yellow and the other flashing red or whatever you're talking about.