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


Please Help Members By Posting Answers For Below Questions

what is the purpose of the break statement? : Adobe flash

592


How many menus will you find on the menu bar?

505


what should be inferred by a variable named birthplace_str? : Adobe flash

488


What are the ways in which actionscript's code can be protected?

470


which two statements about device fonts are true? : Adobe flash

453






How to make synchronous data calls in actionscript?

457


How to play a movie clip?

514


what is generally considered the ideal group size for usability testing? : Adobe flash

457


what is vector graphic animation? : Adobe flash

479


you are creating a form that will fade out when the user submits it. What must you do to with the text fields to ensure that text entered by the user will fade out? : Adobe flash

453


where is the data pulled by a load variables function stored? : Adobe flash

488


How to write a program to create custom list in actionscript?

459


How many methods for depth are available?

461


which of the following is not a typical host application for the flash player? : Adobe flash

470


What will replace flash?

456