home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / kung_fu.swf / scripts / __Packages / com / KidFighting / objects / CShadow.as < prev    next >
Encoding:
Text File  |  2006-06-13  |  459 b   |  19 lines

  1. class com.KidFighting.objects.CShadow extends com.KidFighting.objects.CObject
  2. {
  3.    var ani;
  4.    var _x;
  5.    function CShadow()
  6.    {
  7.       super();
  8.       this.ani = _root.shadow_GUI.shadow.duplicateMovieClip("shadow" + _root.shadow_GUI.getNextHighestDepth(),_root.shadow_GUI.getNextHighestDepth());
  9.    }
  10.    function follow(aMc)
  11.    {
  12.       var mc = aMc;
  13.       this.ani.onEnterFrame = function()
  14.       {
  15.          this._x = mc._x;
  16.       };
  17.    }
  18. }
  19.