It is important to understand the yellow flashing lights are simply warning drivers that the bus is approaching a stop. Drivers can still legally pass a bus with yellow flashing lights and some will even do it. You need to assume that those drivers will always try to pull a stunt like that. That means you need to wait a safe distance from the edge of the road and wait for the red flashing lights. Keep your attention on the vehicles to your left and to your right and cross when you know its safe to do so.