A Flash Developer Resource Site

Results 1 to 1 of 1

Thread: Gotoandstop help --- please !

  1. #1
    Junior Member
    Join Date
    Apr 2007
    Posts
    9

    Gotoandstop help --- please !

    hi peeps,

    I'm having trouble with something that should be simple ( probably just me )

    in my scene I have 10 frames , each frame is stopped and runs a separate movie within each frame. the movie on frame 1 is called "movie1" and has 40 frames within it. On frame 10 on the main timeline ( root ) I have a button called "gohome" (in the instance name) that I would like ( once clicked ) to take the user to frame 20 within "movie1" movie on frame 1 ( I have labelled frame 20 "new" ).

    I thought the script should look something like this

    gohome.onRelease = function() {
    _root.movie1.gotoAndPlay("new");
    }

    but It won't do anything,

    If i do

    gohome.onRelease = function() {
    _root.gotoAndStop("start"); <--- btw "start" is frame 1's label
    }

    then it works, in as much as it plays "movie1" but i am trying to start the movie half way through on the users second time round.

    Please help it's driving me nuts.

    Thanks

    ps , posted in flash 8 forum aswell but realised i am using flash mx pro 2004 - so re posted here




    PROBLEM SORTED ----------- THANKS









    .
    Last edited by tozstyle; 02-28-2008 at 11:03 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