Every level will have its own root timeline.
   
  If u have a nested movie Clip mc2 a a particular level say level0, with a 
hierarchy as level0.mc.mc1.mc2 , the movieClip mc2 can address a variable at  
_level0 root timeline as _level0.variable or _root.variable,either way its okay.
   
  Now, the same movieclip mc2 will address a variable at _root of level2 as 
_level2.variable.
   
  So,_root is absolute for a particular level. If various nested movieClips at 
differnet levels need to inteact with each other then,
   
  1) for the same level _root is the main timeline.
  2) for different level, for eg. level 2,_level2 is the _root timeline of that 
level.
   
  Pleas correct me if I am wrong anywhere...
   
  regards,
   
  Arindam
  
Mike Dunlop <[EMAIL PROTECTED]> wrote:
  I thought _root. was used relative to the object you are in, e.g. if 
you are in a movieclip _root is the main timeline of that movieclip 
and the only way to address the absolute root timeline from nested 
clips was to use _level0.

Is that not correct?

Thanks - MD


.............................................
Mike Dunlop
// Droplab
[ e ] [EMAIL PROTECTED]


On Jan 15, 2007, at 8:13 PM, Arindam Dhar wrote:

> hi,
>
> Scope wise there should not be any problem as u can address 
> anything on root timeline from any timeline as _root.somevariable 
> or _root.somefunction().
>
> Would u like to post the code?
>
> regrads,
>
> Arindam
>
> Mike Dunlop wrote:
> Hello,
>
> In my button that is nested inside of a mc, i am able to move the
> main timeline to different points but when trying to call a function
> that lives on the root timeline like the following:
>
> _level0.myFunctionName();
>
> Is not working. Is this some type of scoping issue?
>
> .............................................
> Mike Dunlop
> // Droplab
> [ e ] [EMAIL PROTECTED]
>
>
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
>
> 
> ---------------------------------
> Meet your soulmate!
> Yahoo! Asia presents Meetic - where millions of singles gather
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


                
---------------------------------
 
 Real people. Real questions. Real answers. Share what you know.
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to