I use Flash 8's External Interface API to pass variables back and forth between HTML and Flash. Here's a sample of the HTML:
Obviously, I could send a several variables separated by some special character, send it to an array and split it on that character to get more variables, but it seems there may be an easier way. Like, with FlashVars, which allows you to separate the variables with "&".
Please respond if you have specific experience with Flash's externalInterface API. Thanks.