Laan's steps..

Feed Rss

Working with flashvars in FlashBuilder4(flex4)

07.02.2009, flex, by .

Before flex4,  to get the flashvars, you should do following:

  1. var params:Object = Application.application.parameters;
  2. var title = params.title;

But in flex4:

  1. var params:Object = FlexGlobals.topLevelApplication.parameters;
  2. var title = params.title;

Remember that!

Working with flashvars in FlashBuilder4(flex4) 有1条回应

  1. 看看

    回复

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>