A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: reverse target path

  1. #1
    Junior Member
    Join Date
    Oct 2001
    Posts
    16
    If instance name 'xx' of MOVIECLIP B is embedded inside instance name 'yy' of MOVIECLIP A, what is the correct target path for a button inside 'B' to tell an object inside 'A' to 'gotoandplay'...? Basically, I want to know how to dictate actions coming from one movie that is inside another; i am having trouble identifying the target path which allows me to 'back-up and out' of the movie and tell it's parent what to do... Hope that makes sense. thanks.

  2. #2
    Senior Member
    Join Date
    May 2000
    Location
    Bombay, India
    Posts
    926
    Hi...

    you have mc A and MC B

    each in turn contain mcs A1 and B1

    now to talk from A1 to B1

    both A & B reside on the main timeline

    the path will be:
    _root.A.A1 (doSomeThing)

    similarly the other way round will be
    _root.B.B1 (doSomeThing)

    Cheerio

    RanTen

  3. #3
    Junior Member
    Join Date
    Oct 2001
    Posts
    16

    reverse target path

    yes, thanks, this makes sense. however, i need the following to happen -

    the straightforward path is:
    _root.allcontrol.content_a.contentbar

    and i need a button within 'content'bar' to tell 'content_a' to gotoandplay a series of frames. so, in effect, the controlling MC is 3 times removed from the main timeline and the command needs to travel back up the hierarchy of MCs to do it's thing. is this any clearer? thanks again.




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