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.
这次我需要从 actionscript itemRenderer 中更改移动应用程序的视图。我无权访问 navigator.push(view) 功能,所以我卡住了。我应该向应用程序发送一个事件来做到这一点吗?感谢帮助。
从渲染器调度事件;并确保它起泡。您可能希望调度包含来自渲染器的数据的自定义事件。在视图中侦听该事件并在侦听器中进行相关更改。