Look at this page, which even includes an ASP example:
http://www.permadi.com/tutorial/flashVars/index.html
then in Flash make sure you're looking for the variables in
the main time line. You would say:
var vars:Object=this.loaderInfo.parameters;
and that would give you an object variable, vars, that has
each of the things set up in flashvars.