Passing flashvars-style parameters to a loaded SWF
问题 I have a Flex 3 app (player v9) which loads a Flash SWF (AS3, also player v9) and needs to dynamically pass it a collection of parameters which are known at run-time. These are parameters that are normally passed via the flashvars element in an HTML page. The embedded movie accesses these parameters via the loaderInfo.parameters object. I've tried using SWFLoader and Loader classes with no success in param-passing. Relevant details: It's a local program, and cannot rely on query string