Do we have to passin at least one DisplayObject to access the stage?

Well. Sometimes we want to get the querystring passed into a swf like: someswf.swf?a=1&b=2

But we have to use a DisplayObject.loaderInfo to access the parameters. This makes some functions in a configuration class very “weird”, something like:

public static function getParams(displayObject:DisplayObject):Object
{
  var param:Object = {};
  param = displayObject.loaderInfo.parameters;
  return param;
}

We HAVE TO pass a displayObject inside :frowning:

So this is the only way?..