You can use the FlashVars object. If you use the SWFObject then just add your variables with the so like so.myVar etc. I don't have example here.