Buh? I'm not following you. The SRD says that Flaming weapons deal 1d6 on a HIT. Nothing about "when damage is done, add 1d6 fire damage." Therefore, a Flaming weapon merely must contact the target for fire damage to be added. The weapon itself does not have to do any damage.