Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以在 mxml 代码中检索 flashvar 参数,如果可以,如何?到目前为止,我一直在使用Application.application.parameter.name来获得我需要的东西。
Application.application.parameter.name
您可以绑定到它:
<mx:Label text="{Application.application.parameters.name}"/>
我相当肯定这是获得它的唯一方法 - 你必须使用那一点动作脚本。您希望如何在 MXML 中使用它?如果您发布一个您期望它看起来像的示例,我们可能会有更多想法。