Fuel cap not on tight will NOT cause a flashing CEL - flashing indicates a more severe problem like spark knock or misfire. Best to retrieve that code and be gentle when it is flashing if you must move it.