home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
csi.uticak12.org
/
csi.uticak12.org.tar
/
csi.uticak12.org
/
flashVideo
/
ArtProject.swf
/
scripts
/
__Packages
/
mx
/
utils
/
Delegate.as
Wrap
Text File
|
2010-12-15
|
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);
}
}