MoreMotion Face API

Class AnimatedButton

Object
   |
   +--AnimatedButton

class AnimatedButton


Represents an Animated Button. This class wraps an HTML IMG element with the following attributes. Four images should be supplied for Normal, Mouse Over, Mouse Down and Disabled modes of the button.

 <img 
src="button/images/normal.gif"
mo:type="AnimatedButton"
mo:props="
normalSource : 'button/images/normal.gif',
mouseOverSource: 'button/images/mouseover.gif',
mouseDownSource: 'button/images/mousedown.gif',
disabledSource : 'button/images/disabled.gif'
"
/>

Defined in Buttons.js


Field Summary
 HTMLELement img
          The HTML IMG element object
 Object props
          AnimatedButton Properties Object.
 
Constructor Summary
AnimatedButton(node)
           
 
Method Summary
 void setDisabled(value)
           Sets the disabled status of this Button object.

Field Detail

img

HTMLELement img

props

Object props

Constructor Detail

AnimatedButton

AnimatedButton(node)

Method Detail

setDisabled

void setDisabled(value)

MoreMotion Face API

Copyright 2002 - 2011, MOR YAZILIM
Documentation generated by JSDoc on Thu Mar 3 18:19:14 2011