Here is what I am trying to do. Not successful and gives out error. Is it possible to delay the return value, and chain functions such that 2nd one delays the return value?
a().b()
function a( )
{
var self=this;
setTimeout( function(){ return self },2000);
return null; //<<<<< this causes problem
}
function b()
{
trace("hello");
}