actionscript example of singleton was added