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
Why is flash being discontinued?
which text anti-aliasing property setting will result in the smallest swf file size? : Adobe flash
How to start a graphic animation at a specific frame?
Hi All, I am new in flash so please help me, When I make a website on Flash & when we wright code on buttons in AS2[CODE: on(release) gotoAndStop ()], we found when we click twice on a button the page automatically switch. (means, code do not work properly). Thanks,
What is meant by vector graphic animation? What is the use of pre-loader?
How to write a program that shows the usage of data types?
what is not a benefit of using macromedias pre-built ui components? : Adobe flash
Can you explain what are the changes presented by actionscript?
which two sets the x position of the instance my_mc to that of the mouse cursor? : Adobe flash
Write a program to create custom list in actionscript?
How to write a program to create custom list in actionscript?
What does reference means in actionscript?
How to add event listeners in mxml components. Name the as3 components?
How to create scrolling gallery in portfolio?
it seems that most recommendations for using fill flash talk about using -1.3 to -1.7 stops of flash compensation. This seems like very little flash (compared to the ambient exposure). Would not -.5 or -1 stop be better? : Adobe flash