it needs an instance name.
if it's not a movieclip or button, right click the object > click convert to symbol > select movieclip > ok > in the properties panel enter an instance name, eg square_mc.
then on the timeline that contains the movieclip or button you can use:
this.square_mc to reference the movieclip. from other timelines there are also ways to reference the movieclip