What is the difference between _root and parent?
Answer Posted / devendran
The super parent for all the movieClip is _root
but using the _parent you can get particular MovieClip's parent.
For example you are having one Movie Called MovieHolder_mc
and MovieHolder2_mc on Stage, and inner1_mc inside the
MovieHolder_mc. Now you can access the MovieHolder in Two Ways
_root.MovieHolder2_mc (Direct access)
to get this from the innerMovie
inner1_mc._parent._parent.MovieHolder2_mc
| Is This Answer Correct ? | 50 Yes | 7 No |
Post New Answer View All Answers
what are the properties can be used to control the order in which the user can tab through the elements in a flash movie? : Adobe flash
which actionscript method should be used to bring a component from the library to the stage? : Adobe flash
How to create scrolling gallery in portfolio?
How to make synchronous data calls in actionscript?
which code should be added to create a second blue square to the right of the first? : Adobe flash
How to add event listeners in mxml components. Name the as3 components?
which actionscript classes are used to play flv formatted video? : Adobe flash
which of the following is most likely a class constructor? : Adobe flash
can some organizations block flash movies from being received through the internet? : Adobe flash
tell the difference between indexed array and associative array? : Adobe flash
what is the key advantage of using loadvars instead of loadvariables? : Adobe flash
Do you know what are the different primitive data types used in actionscript?
what should be inferred by a variable named birthplace_str? : Adobe flash
how does an xmlsocket server know when a received message is complete? : Adobe flash
What is meant by vector graphic animation? What is the use of pre-loader?