Ok I am new to heavy actionscripting. However there must be a way to do this.

What I am looking to do is pull five variables from javascript link into flash when it first loads then make them gloabal variables. After the user completes the flash there will be a link that will use those five variables in a url.

For instance www.mysite.com.var1var2var3var4var5

I have a pretty good idea how to do that once I have the variables in flash, but I do not know how to get them from the html, javascript or the link, that calls the flash. Does this make sense?

Please someone point me towards the right direction.

Thanks for the wisdom.