One reason the animator API is overly complex is that "start" is overloaded.
Attribute names should always be nouns (width, height, opacity, ...) and never verbs (start, enable, ...). Your earlier statement about changing its attribute name from "start" to "autostart" or "autorun" would conform to this noun bias. In addition, past tense event names shouldn't be used since they don't provide additional functionality and are inconsistent with existing present tense event names:"onclick", "onmouseover", .... Also having a past tense implies a present tense, which if I understand things correctly doesn't exist -- there aren't separate "pause" and "paused" states. Norman Klein Author: Laszlo in Action There is no precedent or standard within Laszlo to use past tense with "on+attribute" events; its "onclick" and not "onclicked". The current event names are: onstart, onpaused and onstop. To be consistent this should be changed to: onstart, onpause, and onstop, and this also results in less changes. I think its a bad idea to use past tense in the event names. > Events: > > It seems it would also be nice if we could have the tense of the events > agree. We currently have `onstart`, `onpaused`, `onstop`. If we don't use > `started` as an attribute, we could make these be `onstarted`, `onpaused`, > and `onstopped`. But perhaps that is going too far? > > > Your comments solicited. > > >
