Basic actionscript issues

hi guys,

just getting lessons actionscript at school. Now i have some issues during the assignments;

where do i need to put the AS? on the first frame of the root timeline, on the MC itself, or in the first frame of the movie?

i made a dragable MC, but i can drag it even when i’m outside of that MC?

these are the things which won’t work for m o far. so if anybody can give me some quick help :slight_smile: