home *** CD-ROM | disk | FTP | other *** search
/ Champak 108 / jogo-disk-108.iso / Games / rush_hour.swf / scripts / __Packages / ChildCar.as < prev    next >
Text File  |  2010-05-15  |  377b  |  24 lines

  1. class ChildCar extends MovieClip
  2. {
  3.    function ChildCar()
  4.    {
  5.       super();
  6.    }
  7.    function onPress()
  8.    {
  9.       this.theparent.onPress();
  10.    }
  11.    function onRelease()
  12.    {
  13.       this.theparent.onRelease();
  14.    }
  15.    function onReleaseOutside()
  16.    {
  17.       this.theparent.onRelease();
  18.    }
  19.    function onLoad()
  20.    {
  21.       _root.adjustDepth(this);
  22.    }
  23. }
  24.