Basic question - reference a variable

what is the syntax to reference a variable that was defined in a movie clip?

i want to put an instance of the movie clip on the stage and reference a variable that’s defined in it.

i know this is probably very simple, i just can’t figure it out or find it anywhere.