Read variable in Flash from a URL

Does anyone know how I can pass a variable from a url into Flash and then access that variable in actionscript to use in a condition?