A movie element will have its own set of variables, independent of the variables in the parent movie. The value of each variable will persist, even when the movie stops or loops.
Objects in flash do not have a center position, and they do not have velocity or
acceleration. 3D Flash Animator makes these features available by exporting two flash objects for each movie element. The first flash object controls the position and velocity,and the second flash object controls the center.The second object also contains the frames of the movie element.
When you use a script to control the position of movie element, or to show or hide the element,then you should use the 'element' function to get a handle to the first flash object.
element("my child movie").x = 100;
element("my child movie").y = 100;
element("my child movie").show();
But when you are using a script to control the playing of frames, such as playing or stopping a movie element, then you must use the "movie" property to get a handle to the second object.
element("my child movie").movie.stop();
You must also use the "movie" property to gain access to the variables of the movie element.
element("my child movie").movie.variable_name = "value";
Main movie
The main movie is available from any script using the variable 'root'.
You can access any of the main movie's variables, or control the frames of the main movie.
root.variable_name = "value";
root.play();