How can i check variables that are in a separate movie?

Is there any way to have a variable set in one movie, and then have it checked in a separate movie? For example: I want a variable in a certain movie to set to “true” whenever the movie reaches a certain frame. The second movie will be looping on the first frame, checking to see if the first movie’s variable is true. If it is, it will go to another frame, if not it will loop. My question is what the syntax is to check a separate movie’s variable’s status.