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.
在 flex 中,如何检查组件是否存在?
如果你有它的参考,你可以使用
var component:MyComponent = new MyComponent(); if (component) { // statements }
不过,这似乎相当简单明了。如果您想更具体,请改写问题。