Place this inside your html.
Then if you are using the default HTML publishing you need to set up your SWF to take the variable. In this example I’m looking for a variable called ‘transition’
The important lines are:
param name=”FlashVars” value=”transition=”+gup(“transition”)
Inside the flash this can be accessed with:
var sTrans:String = String(stage.loaderInfo.parameters.transition)
Then you can get variables from the URL string: