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 <[EMAIL PROTECTED]> 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]


_______________________________________________
[email protected]
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
_______________________________________________
[email protected]
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

_______________________________________________
[email protected]
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