views:

15

answers:

1

In flex, How can I check if a component exists?

+1  A: 

If you have a reference to it, you can just use

var component:MyComponent = new MyComponent();

if (component) {
  // statements
}

This seems rather simple and obvious, though. If you want to get more specific, please rephrase the question.

Robusto