Cin and Cout's equivalent in Actionscript 3?

Hey, I’ve coded for some time in C++, but I can’t find an easy and fast way in ActionScript 3.0 to type in from the keyboard. The output panel with the Trace(); command works great, but typing in? Any suggestions?