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.
就像标题说的那样,是否可以在加载后将数据发送到我的 Flash 电影?
更具体地说:我有一部带有图像的 Flash 电影,从外部我希望能够通过发送 fe 来更改它。'?color=FF00FF' 到电影。
有没有办法在闪存中捕获这个变量?
是的。调查flash.external.ExternalInterface类。
是的,您可以,但有几种可能性取决于您希望如何输入该变量。如果您使用 Javascript,请检查允许 JS 和 AS3 之间通信的 ExternalInterface 类,但您也可以通过您的 url 发送变量。你的输入法是什么?