Comparison of number or string is understandable. But how come when in flash AS3.0, we do : 

```
var a:TextField = new TextField(); 
var b:TextField = new TextField() ;
.....
.....
.....

if ( a==b)
{
......
}

```

comparison is being done ? 

Is their some Application-wide ID, that flash gives to each component instance. Or is it compairson of the strings ( comparing the whole path of each component ) 

thanks
V.