Convert AS2 script to AS3

can anyone please convert _root.choose script to AS3 for me? I can post all the script for you.