Flex4 中获取 FlashVars方式传递的参数 Working with flashvars in FlashBuilder4(flex4)Before flex4, to get the flashvars, you should do following:
var params:Object = FlexGlobals.topLevelApplication.parameters; var title = params.title;