Everybody! This is important. In a few days, these forums will be moving over to using the totally sweet Discourse platform. To ensure this migration happens smoothly with no loss of content, these forums are currently in a read-only mode. I do apologize for the inconvenience.

There is never a good time to turn the forums off for an extended period of time, but I promise the new forums will be a billion times better. I'm pretty sure of it.

See you all on the other side in a few days, and if you have any (non-technical) questions, please e-mail me at kirupa@kirupa.com. For technical questions, try to find a tutorial that corresponds to what you are looking for and post in the comments section of that page.

Cheers,
Kirupa

Results 1 to 3 of 3

Thread: ON Rollout-question

  1. #1

    ON Rollout-question

    I created an image slideshow that starts its animation on mouse rollover/dragover.

    When the mouse rolls out, and rolls over again the mc starts from the beginning instead of starting off at the frame where the mouse rolled-out last.

    Is there an easy way to tell the movieclip to start from where the mouse last rolled out?

    Main time line: 1st frame: still image
    Main time line: 2nd frame: scrollbar component targeting my image slider movie clip.


    Right now the button that targets my image slide show has the following code assigned to it:

    on (rollOver, dragOver) {
    gotoAndPlay(2);
    }
    on (rollOut, dragOut) {
    gotoAndStop(1);
    }

    Thanks to all the genius actionscripters.

  2. #2
    billystar
    n/a
    posts
    Guest
    can you post a link? from the sound of it you dont need to use scrolbar... simply have the slideshow in a movie clip and then put a stop command on frame 1 of the movie clip (stops slideshow playing)...then have:

    on (rollOver, dragOver) {
    _root.yourmoviename.play();
    }
    on (rollOut, dragOut) {
    _root.yourmoviename.stop();
    }

    this will pause the movie...

    hope this helps im no expert but...

  3. #3
    Thanks for your great advice!

    It works BUT I would like the movie to jump back to frame 1 (main timeline (still image) on rollout/dragout. And THEN when you rollover the button that targets the animated slideshow mc it should start where it last left off/paused (on last dragout).

    I would greatly appreciate your help.

    Unfortunately I don't have a link to it but would you mind me e-mailing the file to you?

    Ant help would be great! Thanks a lot!
    Dada

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012