Throwing a picked up Shape

Im doing my platform game and I want to know in ActionScript how to get a character to pick up an item and throw the same item.

how do I do that? whats the code?