as i see in most of the flash actionscript, i saw a lot of function using _root.*** and i just wanna know what the main function for this?? Thanks.
_root what the use of this?
_root.something calls an object or variable in reference to the stage rather than the movie clip it is called in. For instance, if you had a MC called "wheel" and another called "car", In order to control one with another, actionscript in the "car" MC would have to declare _root.wheel.play(); in order for the wheel to hear it. Just writing play(); would make the car MC play.
You can see it as a movieclip that is the stage and contains all other movieclips.
