Here is a link to another post on this forum where I describe setting up a ParamsProxy, which exposes the FlashVars to the rest of the application like any other data.
Setting up a ParamsProxy
http://forums.puremvc.org/index.php?topic=622.msg2781#msg2781Now if you want your other Proxies to have access to that data, the best thing to do is have them form a relationship with the ParamsProxy. While a Proxy can retrieve another Proxy, it's not the best way to go, since it is always possible you may register a Proxy that needs the ParamsProxy before the ParamsProxy has been registered. So make the ParamsProxy a constructor argument for Proxys that need to know the ParamsProxy:
public class SomeProxy extends Proxy
{
public static const NAME:String = "SomeProxy";
private var paramsProxy:ParamsProxy;
/**
* Constructor.
*/
public function SomeProxy( paramsProxy:ParamsProxy )
{
super ( NAME );
this.paramsProxy = paramsProxy
}
}
-=Cliff>