<p>In ActionScript, how can you test if an object is defined, that is, not null?</p>

Just test it against null.
```
```
var someObj:Object = getSomeObjectOrMaybeNull();
if(someObj == null) {
  trace("someObj is null!");
} else {
  trace("someObj is not null!");
}
```
```