Preheat your oven to 375
In a medium sized bowl, use a hand mixer to combine the cream cheese, sugar, and vanilla, whipping until smooth and creamy.
Put cream cheese mixture into a piping bag, or a ziptop bag, and snip 1 corner.
Spray a cooking sheet with cooking spray or line with parchment and spray that with cooking spray
Roll the crescent dough out onto it
Pipe a little cream cheese mixture onto the left hand top corner, to make the "stars" portion of an American flag, and use a spatula to smooth it out. Gently push your blueberries into the cream cheese mixture in the top left corner, (don't smush them, but embed them in the mixture and dough so they stay put), forming the blue portion of the flag. Note: If you want less of the cream cheese mixture you can just press the blueberries into the dough, and pipe a little cream cheese mixture around the blueberries.
Next, make some line indentations into the dough to help you evenly space the stripes for your flap. I used the handle of a wooden spoon, and just pressed lightly. You want 7 "red" strips, and 6 white, starting with red at the top.
Take your jam, and put it in a piping bag, or in a ziplock and snip off a corner, and pipe it in straight lines into those indentations you made.
Then pipe the cream cheese mixture onto the alternating lines, and around the blueberries, if you didn't put some down first.
Bake for 10-13 minutes, until edges are golden brown.
Let cool, then slice and enjoy