Well, plastic is permeable. One way would be to just soak the plastic in a solution containing the flavorant. Provided the flavor molecule is soluble in the polymer, it will diffuse into the plastic along the concentration gradient... and then diffuse out again when it's placed in your mouth. It is the same effect that you may notice if you store tomato sauce in a plastic food storage container.... even after removing the sauce, the plastic is still tinted red. This is because hydrophobic lycopenes and carotenes in the sauce permeated into the equally hydrophobic polymer.