Passing value to initiate different actions

Hi,

I’m working on an instant win game in flash, which has serveral differnent “games” the user will play, based upon the info they have entered into an html/asp page.

For example, it is already decided, once the enter their id and game piece number, whether they have won or lost. So, I need to know how that info can be passed to my flash movie, in order for it to decide which frame to play.

Say frame 1 has a “winner” movie to play, and frame 2 has a “loser” frame to play.

Can anyone help me with this? As far as I can see, I need to use the <embed>/paramaters in the html to pass the parameter/value to the flash game, then in flash do something like, If this value is passed…do this…etc.

Hope this makes sense. I appreciate any help on this.

Thanks!