Variables?

Is there a way to make a global variable, I want 1 movieclip to assign a variable then move to another clip and pick up that variable? is there a global or what is the best way to accomplish this?