Help shadows

Help

i try to put a shadows to a movie clip but i want to use a fonction for calling it for any movie or object.

Can you help me

dont double post. edit is ur friend