Ext.getCmp not working in extjs
===

I am using Ext.getCmp for finding one extjs component in tab panel. some times it is not working an returning undefined.

    var currComp = Ext.getCmp('myId'); //Id is generated by me on creation

Is any other method exists? to find one Component if i know its id?