Hello,
I'd tried to use the FlexPropertyPlaceholderConfigurer to pass custom flashVars parameters in the application context.
I am using Flex 3.5 and not 4.0 and I'm not shure if that works with 4.0.
In my case I wrote a workaround in an extension of FlexPropertyPlaceholderConfigurer.
Whould you like the take that in the next release?
PHP Code:// repair App parameters for Flex 3.5 and earlier
if (PARAMETERS in app)
{
_appProperties.setProperty(APP_PARAMETERS, app[PARAMETERS]);
//Add parameters as application properties
if (app[PARAMETERS] != null) {
for (var name:String in app[PARAMETERS]) {
_appProperties.setProperty(APP + name, app[PARAMETERS][name]);
}
}
} else {
_appProperties.setProperty(APP_PARAMETERS, null);
}


Reply With Quote