In the javascript in the html you add the variables here:

'movie', 'mymovie?var1=this is var1',

In your movie you get the variable using this:
var myVar:String = loaderInfo.parameters["var1"];