You can use a regular bug remover on the glass which will dissolve fly remnants safely which can then be washed off. If you do not have a bug remover, you can use white vinegar on glass, but do not use this on paint.