A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: GotoAndPlay action in MC being ignored

Hybrid View

  1. #1
    Senior Member
    Join Date
    Jul 2000
    Posts
    373

    GotoAndPlay action in MC being ignored

    This is really strange. I've got a movie clip and at the final frame of the clip, I have an action to make it go back but to a frame label and I've tried a number of different versions of the GotoAndPlay action and none work. They're all being ignored and I don't get it. Here's what I've tried:

    this.gotoAndPlay("32");

    this.gotoAndPlay("start");

    gotoAndPlay(32);

    gotoAndPlay("start");
    Adam Bell
    dzign@datatv.com
    --
    Over 90% of all websites
    suck......
    Join the minority.

  2. #2
    Eternal Newbie
    Join Date
    Apr 2006
    Location
    Bitter cold Hell of the crappy NW
    Posts
    392
    Try putting it into a handler of some sort. I did this before, and don't remember the exact coding, so forgive me on that. You want something like a check and balance:

    Code:
    if (myClip._currentframe == 32){
        myClip.gotoAndStop("start");
    }

    ~MoN
    If I am wrong, please just correct me and move on.. there is no need for all that pointing and laughing! ~MoN

Tags for this Thread

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