Need Help understanding as3 please

I feel tired and defeated, when it was just as2 I could jumble up some code and just make things work, I can do it with php but not with as3, it just trows errors into my face accompanied by descriptions which I cant make use of to solve the problems.

While I do realize the problem lies within the keyboard and the chair, Im need to ask for help. Im doing a project for one of my classes and we have to use as3.

I just want to take a xml file, read it, use that information to place a image on teh stage in wich you can click and have a box appear beneath it with some text. I need it to be a bit more complex but just this would make me happy.

As3 is going to murder me with the import requirements I can never figure out neither what nor when should I import stuff. Please help me out, if you are a Steam member and want to help me build this I would be very grateful and we could work out something as a free game or something.