just changed

CODE:
  1. delete __instance;

to

CODE:
  1. __instance = null;

link to the as3 templates

http://xperiments.lennel.org/AS3templates.tar