_root in a movieclip

  • R123
  • Born
  • Born
  • R123
  • Posts: 3

Post 3+ Months Ago

hello,

I have just taken frames from the main timeline and placed them into a movieclip that is in another movie clip. What do I do with all the actionscript references to _root (how to I change them to now go through two movieclip levels and then to _root)?


Thanks
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • IceCold
  • Guru
  • Guru
  • User avatar
  • Posts: 1254
  • Loc: Ro

Post 3+ Months Ago

this._parent -> to access the parent movie
this._parent._parent -> to access the parent of the parent movie :D
that would be:
_root.mc1.mc2.myMC;
then, in myMC, this._parent.var1 = something -> it changes var1 from _root.mc1.mc2

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 19 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.