FlashVars

Hey,
Ive found a bunch of tutorials on how to embed a FlashVar but I havent seen any that show the how the flash file reads it (the actionscript). can someone give me a simple example with the HTML embed section and very basic actionscript that reads it? It be a great help.