Flash (AS3) to PHP issues

Hi there,
I’m new to flash and more so to PHP. I’ve been struggling with some tutorials at getting this to work. Source files are attached with php included.

Right now, I’ve been struggling with having AS3 send something simple to PHP where it would only return it. However, I cannot for the life of me get this working.

I was getting an ‘undefined’ error or return. Though now it appears as though nothing happens. If a kind person could take a look at the AS, php and Flash and give me some guidance on where I’m going wrong. You’ll see that everything is heavily commented out so that I can follow my own work as to what is supposed to be going on. As well as tons of prior attempts commented out.

thanks for any and all assistance,
jc
http://www.filedump.net/index.php?pic=register1303403370.zip