home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 136
/
MOBICLIC136.ISO
/
pc
/
DATA
/
BLA136
/
BLA136_01
/
BLA136_01.swf
/
scripts
/
__Packages
/
mx
/
utils
/
Delegate.as
Wrap
Text File
|
2011-07-20
|
541b
|
25 lines
class mx.utils.Delegate extends Object
{
function Delegate(f)
{
super();
this.func = f;
}
static function create(obj, func)
{
var _loc2_ = function()
{
var _loc2_ = arguments.callee.target;
var _loc3_ = arguments.callee.func;
return _loc3_.apply(_loc2_,arguments);
};
_loc2_.target = obj;
_loc2_.func = func;
return _loc2_;
}
function createDelegate(obj)
{
return mx.utils.Delegate.create(obj,this.func);
}
}