//javadoc inherited
protected void addEnterEvents(
DOMOutputBuffer dom,
CanvasAttributes attributes) throws ProtocolException {
Script forwardTask = getTaskForEvent(attributes, "onenterforward",
EventConstants.ON_ENTER_FORWARD);
Script backwardTask = getTaskForEvent(attributes, "onenterbackward",
EventConstants.ON_ENTER_BACKWARD);
// It is assumed that if the forward and backward tasks are the same,
// then the 'script' is the same. Ideally we should be checking that
// this event is associated with the same asset.