ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Web Related  >>  Flash Action Scripting
 
 


 

 
 HTML DHTML interview questions  HTML DHTML Interview Questions
 XML XSLT RSS interview questions  XML XSLT RSS Interview Questions
 Flash Action Scripting interview questions  Flash Action Scripting Interview Questions
 SOAP interview questions  SOAP Interview Questions
 WML interview questions  WML Interview Questions
 Web Related AllOther interview questions  Web Related AllOther Interview Questions
Question
What is the difference between _root and parent?
 Question Submitted By :: Swati
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is the difference between _root and parent?
Answer
# 1
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 ?    13 Yes 1 No
Devendran
 
  Re: What is the difference between _root and parent?
Answer
# 2
_root is used to access outer Movieclip.

_parent is used to access Moviclip inside having the 
moviclip.
 
Is This Answer Correct ?    6 Yes 4 No
Murali
 
 
 
  Re: What is the difference between _root and parent?
Answer
# 3
_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 ?    1 Yes 0 No
Chiranjeevi
 

 
 
 
Other Flash Action Scripting Interview Questions
 
  Question Asked @ Answers
 
Can you organize layers as in photoshop?  3
How do you start a graphic animation at a specific frame?  3
Is it possible to create document or folder from flash? if yes then how?  2
there are two text fields on stage both are having same properties but still one is coming blurred y and how could u resolve it?  3
what is the use of depth? how many methods for depth are available?  2
difference between _root and _level  4
what is use of preloader? What are the diff var use for creating preloaders? Wipro7
what are the different design patterns available in flash?  2
what is the use of new property condensedwhite in text?  2
How to download Flash object embeded in HTML Page? Siber1
what is the other way of using Inheritance in flash?  2
What is the difference between _root and parent? MBT3
Difference between shared lib and shared objects  3
 
For more Flash Action Scripting Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com