Passing parameters into flash?

Hi,

Is it possible to pass parameters into a flash file from html? Therefore manipulate the way the flash file looks when it is opened.

I have a project where there are many products where each links to a US map (made in flash to make it look good). And when a user clicks on a state, it takes him/her to the vendors in that state that sell that product.

The problem is I have to create one map for each new product as I cannot pass parameters from when someone clicks a product name on the webpage and it takes you to the flash map… If I can for example pass the commodity name in to flash, then I can use one map to link to vendor information.

I don’t know if I’m clear enough but it would be great to figure this out as it is a pain to go back and *** new map for every new product. Thank you.

http://www.macromedia.com/support/flash/ts/documents/flashvars.htm =)