A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Controlling mc's in a different movie

  1. #1
    Junior Member
    Join Date
    Sep 2002
    Posts
    10

    Controlling mc's in a different movie

    I've got a movie that loads with loadMovie. What I need help with is manipulating the mc's in the loaded movie from the original movie. Both timelines are one frame, (all actionscript). I'm using Flash MX, I'd appeciate any help. Thank you.

  2. #2
    Member
    Join Date
    Mar 2003
    Posts
    32
    Is this a relative path question? Cause if it is; When u create a movieclip in root named SomeCoolMovieClip then its path will be _root.SomeCoolMovieClip. if u want to make a movieClip in that movieClip; try
    _root.SomeCoolMovieClip.createEmptyMovieClip("even CoolerMovieClip", someCoolDepth);

    Now u can control that movieClip from the root by addressing it as SomeCoolMovieClip.evenCoolerMovieClip.alpha = 10 (for instance), u could adress it from inside of SomeCoolMovieClip via evenCoolerMovieClip (since it is it's direct child). Any movieClip can call it by using its full path (_root.someCoolMovieClip.evenCoolerMovieClip).

    i hope this is a little clearer.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center