In the bowl of an electric mixer fitted with the whisk attachment, beat egg yolks, gradually adding sugar, until mixture is thick and pale yellow. Beat in flour. Scald milk, and add in dribbles to egg mixture, reserving 1/2 cup. Place mixture in a clean pot over high heat, and stir vigorously until mixture boils and thickens. If it seems too thick to pipe, add reserved milk. Remove from heat. Using a hand whisk, beat butter into egg mixture, one tablespoon at a time.