What is the difference between _root and parent?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / murali
_root is used to access outer Movieclip.
_parent is used to access Moviclip inside having the
moviclip.
| Is This Answer Correct ? | 28 Yes | 11 No |
Answer / kavimani
_root to specify a absolute path.
_parent to specify a relative path to MovieClips.
| Is This Answer Correct ? | 15 Yes | 2 No |
Answer / kannan ks
_root - root timeline of the current swf.
_parent - the object containing the current object.
| Is This Answer Correct ? | 11 Yes | 2 No |
Answer / chiranjeevi
_parent is used to access the parent display
objects/properties of a MovieClip/Button. its something like
the relative path to the current MovieClip/Button. _root is
like the absolute path irrespective of the location of the
current MovieClip/Button.
| Is This Answer Correct ? | 12 Yes | 4 No |
Answer / sathees
_root = Main Gate Key
_parent= Inner Room Gate Key
_root is the direct access.
_parent is reference of one outer movieclip
| Is This Answer Correct ? | 8 Yes | 1 No |
Answer / dinesh anand
_root is used to acess movie clip or button which is placed
in the stage.
_parent is used in the child to acess the parent movie clip.
E.G: fruits is a movie clip inside this there is an another
movie clip named apple.
if we want to acess the fruits movie clip from apple movie
clip we use _parent.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / hariram
_root is the head tag for all inside the parent tag and
child tags.but _parent is the particular limitedtag only.
| Is This Answer Correct ? | 3 Yes | 3 No |
Answer / prabakaran
_root is refernce root timeline of movieclip
_parent is refernce current movieclip or object
| Is This Answer Correct ? | 0 Yes | 7 No |
a button instance is named circle_btn. Actionscript is placed on the main timeline so that the button is clicked a movie clip instance named rec_mc s width is changed to 100? : Adobe flash
which actionscript method should be used to bring a component from the library to the stage? : Adobe flash
which actionscript classes are used to play flv formatted video? : Adobe flash
What is EventFlow.?
How many methods for depth are available?
What is the use of pre-loader?
what is the downside of macromedia ui components making extensive use of ingeritance and encapsulation? : Adobe flash
Hello! I would like to learn the technique (I don't know if there is a name for it) used by Stu Campbell (a.k.a. Sutu) in his flash comic book Nawlz for animating the image of whale in episode one. The the three tutorials that the artist made explain the basic scenario of the working process but they do not at all go into coding and such.
the value of a variable of timeline scope will persist until? : Adobe flash
What is the main purpose of actionscript?
What will replace flash in 2020?
Can you organize layers as in photoshop?