home *** CD-ROM | disk | FTP | other *** search
/ ftp.novell.com / 2014.06.ftp.novell.com.tar / ftp.novell.com / forge / camtasia.msi / Cabs.w1.cab / camtasia_player_ext.swf9 / scripts / __Packages / com / techsmith / ui / ButtonBase.as < prev    next >
Text File  |  2009-08-17  |  771b  |  28 lines

  1. class com.techsmith.ui.ButtonBase extends com.techsmith.ui.Component
  2. {
  3.    function ButtonBase()
  4.    {
  5.       super();
  6.    }
  7.    function onRollOver()
  8.    {
  9.       this.dispatchEvent({target:this,type:com.techsmith.events.Events.MOUSE_ROLL_OVER});
  10.    }
  11.    function onPress()
  12.    {
  13.       this.dispatchEvent({target:this,type:com.techsmith.events.Events.MOUSE_PRESS});
  14.    }
  15.    function onRelease()
  16.    {
  17.       this.dispatchEvent({target:this,type:com.techsmith.events.Events.MOUSE_RELEASE});
  18.    }
  19.    function onReleaseOutside()
  20.    {
  21.       this.dispatchEvent({target:this,type:com.techsmith.events.Events.MOUSE_RELEASE_OUT});
  22.    }
  23.    function onRollOut()
  24.    {
  25.       this.dispatchEvent({target:this,type:com.techsmith.events.Events.MOUSE_ROLL_OUT});
  26.    }
  27. }
  28.