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 builder (flex) 并希望将值分配给视图中的变量并在其他视图中使用该变量。但问题是当我在一个视图中定义例如一个数组时,它在其他视图中是未定义的,我不能在我的函数中使用该变量的值。解决方案是什么?
您必须创建一个引用,该视图在另一个视图中有您的变量。确保您的变量是公开且可绑定的。