First of all, I'd start with something a little simpler. Perhaps a nice picture viewer or paint program or something, just to get your feet wet.
Or if you want to go the AIR (= Flash, Flex) route, check out this thread:
http://supportforums.blackberry.com/...s/td-p/1542493. Note that AIR won't run on a Torch, but will probably be supported on BB10.