Triac connected CFL or Incandescent bulb or Electronic ballast tubelight FLASHES
You need a snubber—a resistor and capacitor, at least, to filter out transients and noise. A MOV wouldn't hurt, either. See page 7 of the Fairchild data sheet for the MOC3021, where they show this circuit:



You need to add the RS and CS shown on the right there. (If things are extremely noisy, they also have another example circuit in Figure 13 that filters things even more.)