A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: attachMovie, then goto frame?

  1. #1
    Member
    Join Date
    Apr 2006
    Posts
    49

    attachMovie, then goto frame?

    I'm attaching a movieClip, and need it to then go to a specific frame.

    Here's my code to load the mc:

    Code:
    this.attachMovie("mcSpecialists","mcSpecialists",10);
    Now, what's the trick to get me over to frame 90? Thanks!

  2. #2
    Senior Member Alluvian's Avatar
    Join Date
    Jun 2006
    Posts
    967
    var tempmovie = this.attachMovie("mcSpecialists","mcSpecialists",1 0);
    tempmovie.gotoAndStop(90);

    or

    tempmovie.gotoAndPlay(90)

  3. #3
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    mcSpecialists.gotoAndStop(90); // should get you there

  4. #4
    Member
    Join Date
    Apr 2006
    Posts
    49
    Thanks Gents, both work great.

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