Access flashvars from a loaded swf

To access the flashVars from a swf loaded into another swf use:
var test:String = String(stage.loaderInfo.parameters.myFlashVars)