dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Is this the right code to talk to another movie clip?

  1. #1
    on (release) {
    _parent.gotoAndPlay(15);
    }

    I have a movie clip (let's call it A) on the main time line. Within that movie clip is another movie clip (let's call this B). I have a button in B that needs to tell A to gotoAndPlay(15). Is the above code correct?

    Thanks.

  2. #2
    Moderator enpstudios's Avatar
    Join Date
    Jun 2001
    Location
    Tampa, Fl.
    Posts
    11,282
    Yes, but you could also use:

    Code:
    on (release) {
       _root.A.gotoAndPlay("framelabel");
    }

  3. #3
    Thanks, I guess that Flash seminar is paying off. I just named them A and B for the e-mail.

    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