What is the difference between _root and parent?

Answers were Sorted based on User's Feedback



What is the difference between _root and parent?..

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

What is the difference between _root and parent?..

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

What is the difference between _root and parent?..

Answer / kavimani

_root to specify a absolute path.

_parent to specify a relative path to MovieClips.

Is This Answer Correct ?    15 Yes 2 No

What is the difference between _root and parent?..

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

What is the difference between _root and parent?..

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

What is the difference between _root and parent?..

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

What is the difference between _root and parent?..

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

What is the difference between _root and parent?..

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

What is the difference between _root and parent?..

Answer / ashisk

Get some Flash Interview Questions From Here...

Is This Answer Correct ?    4 Yes 8 No

What is the difference between _root and parent?..

Answer / prabakaran

_root is refernce root timeline of movieclip


_parent is refernce current movieclip or object

Is This Answer Correct ?    0 Yes 7 No

Post New Answer

More Flash Action Scripting Interview Questions

the f601/n6006 had a special control to set the fill-flash option on the body; is there a similar way to set fill levels on the f90x/n90s and sb-28 combo? : Adobe flash

0 Answers  


which method is best for removing an object(e.g.,Myobj) from memory? : Adobe flash

0 Answers  


What is the main purpose of actionscript?

0 Answers  


Tell me what is the main purpose of actionscript?

0 Answers  


which of the assumptions cannot be made when developing an application for intranet deployment? : Adobe flash

0 Answers  






when should one generally use the post method instead of the get method? : Adobe flash

0 Answers  


Explain what does the void function and object contain in actionscript?

0 Answers  


How we can create a scrolling gallary in a portfolio,what is the script?

2 Answers  


what is use of preloader? What are the diff var use for creating preloaders?

10 Answers   DreamOrbit Softech, Redim Software Technologies, Wipro,


Write a program that shows the usage of data types?

0 Answers  


which two panels can be used to change the label text of a button component? : Adobe flash

0 Answers  


Explain what are the changes presented by actionscript?

0 Answers  


Categories