Working on improving: not working currently.
Example:
Code:
sprite.addEventListener(MouseEvent.MOUSE_DOWN,onDown);
sprite.addEventListener(MouseEvent.MOUSE_UP,onUp);
function onDown()
{
sprite.startDrag();
}
function onUp()
{
sprite.stopDrag();
}
No comments:
Post a Comment