Examples on commitment - AS3