Imagine this scenario (it\'s really just a scenario):
The answers above seem to be deprecated.
Create a new CustomEvent.
var data = { x:20, y:30, rotationY: 60 },
end = new CustomEvent('MOTION_FINISHED', { detail: data });
this.dispatchEvent(end);
It seems to only allow the property 'detail' to pass parameters though. I've also read 'bubbles' and 'cancelable' properties are available, but you didn't mention those in your question.
To retrieve your parameters:
function _handler(e){
var x = (e.detail && e.detail.x) || 0;
}