YY - I think traffic lights came in in the 1930s, but that story dates from the 1960s when gates at railway crossings were being replaced by raising barriers and flashing lights. The sign at the crossing read "Do not cross while red lights are flashing"