A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: [CS3] linking from a button in a movie clip to new scene

Threaded View

  1. #4
    Junior Member
    Join Date
    Aug 2006
    Location
    Portugal
    Posts
    28
    Movie Clip(MC) to Scene

    _root.gotoAndPlay("label");

    If you want to go to others scene without being the first one just make a label in the scene you want to go and past it to part of the code that say "label"


    Scene to MC

    The Movie clip must be in the TimeLine

    mcname.gotoAndPlay("label");

    PS: "mcname" is the Movie Clip instance name


    MC 1 to MC 2

    This is if you want to go from a MovieClip to other Movie Clip that is on the same scene. Put this code on the Movie clip 1 and put in "mcname" the MovieClip 2 instance name

    _root.mcname.gotoAndPlay("label");

    PS: "mcname" is the Movie Clip 2 instance name

    My best regards
    Last edited by Yue Sasuke; 05-10-2008 at 06:09 AM.

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