Each type of widget includes a set of functions, in addition to those described in “Rich UI widget fields.”
fadeIn (duration int in, callback EffectCallback) fadeOut (duration int in, callback EffectCallback)
myButton.fadeOut(1000, null);
focus()
For example, a button in focus is highlighted, and the user's pressing the ENTER key is equivalent to the user's clicking the button. Similarly, a text field in focus (if not read only) includes a cursor so that the user enters data by typing a printable character without first tabbing to the field.
The user can press TAB repeatedly to cycle through the available fields. With each keypress, the focus moves either to the next application field or to a field on the browser; for example, to the web address field.
myButton.focus();
morph (duration int in, callback EffectCallback, morphFunction MorphFunction )
myButton.morph(1000, null, myCustomMorphFunction);
resize (width int in, height int in, duration int, callback EffectCallback)
myButton.resize(100, 100, 1000, myFunction);