A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: MoiveClip Moving the Main timeline

  1. #1
    Junior Member
    Join Date
    Mar 2008
    Posts
    4

    MoiveClip Moving the Main timeline

    Ok, In my Moive I have 7 Scenes In Scene 7 I have a Movie clip the a button in frame 1 that when Pressed Tells the Movie clip to gotoAndPlay(2) when the MoiveClip is over I want it to tell the main timeline in Scene 7 to gotoAndStop(2) in frame 2 and I have not making this happen, is there somthing I need to know here is how the code is in my MovieClip on frame 20(the end of the clip) my Scene name is fun

    _root.fun.gotoAndStop(2)

    any help ???

  2. #2
    Senior Moment
    Join Date
    Mar 2004
    Location
    MN, USA
    Posts
    369
    ...since you only want it to advance 1 frame, you could use:

    _root.nextFrame();

    Otherwise, it'd be:

    _root.gotoAndStop("fun", 2);
    Victory belongs to "The Murray"!

  3. #3
    Junior Member
    Join Date
    Mar 2008
    Posts
    4
    I will try that thank you very very much

  4. #4
    Junior Member
    Join Date
    Mar 2008
    Posts
    4
    Ok, ReNaeNae the _root.nextFrame() worked, but for some Reason the _root.gotoAndStop("fun",2) did not work is there somthing else I need to be looking for ??

  5. #5
    Senior Member
    Join Date
    Mar 2008
    Location
    England
    Posts
    159
    It depends what flash player you have got if you ahve got mx2004 then _root.gotoAndStop("fun","2") wouldnt work
    Thanks
    Rhys

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