How to put an instance name in AS?

Good day!

How to put an instance name of a movie clip or buttons in the action script form not in the properties?

your help is greatly appreciated