home *** CD-ROM | disk | FTP | other *** search
/ Hentai Interactivo 50 / HENTAI_50.iso / hentai_dou_01_01.swf / scripts / frame_1 / DoAction.as < prev   
Text File  |  2008-08-13  |  297b  |  17 lines

  1. function glideToMouse()
  2. {
  3.    _Y = _Y + (_parent._ymouse - _Y) * 0.2;
  4. }
  5. this.onMouseDown = function()
  6. {
  7.    this.onEnterFrame = this.glideToMouse;
  8. };
  9. this.onMouseUp = function()
  10. {
  11.    this.onEnterFrame = null;
  12. };
  13. this.onRelease = function()
  14. {
  15.    this._xscale = this._yscale = 100;
  16. };
  17.