Prepare the cream for the filling and frosting. To do so, heat the milk with the flour in a saucepan. Once dissolved and free of lumps, remove it from the heat and leave to rest for 20 minutes. In a bowl, beat the butter, gradually adding the granulated sugar and vanilla, and beat well.