A flying insect trap containing a light, a fan, and a heater is disclosed. A light controller controls the operation of the light, so that the light can turn off or blink when it is time to change the adhesive paper that traps the insects or the bait that attracts the insects.