1 Reply Latest reply on May 21, 2007 2:41 PM by kglad

    Need a script upgrade to AS 2.0

    Level 7
      So I guess it's been a while since I've worked in Flash...

      I've been using this script from Flash to the Core for quite some time. I'm
      finally re-designing my site and found that one of my most used scripts doesn't
      work anymore. Anyone know how to do this in AS 2.0? What this does is play
      along the targeted timeline when the mouse is hovering. When the mouse leaves
      the hot spot, the timeline plays in reverse to the beginning. Here's the code:

      On the root timeline I use:

      my_mc.onEnterFrame = function() {
      if (fade) {
      } else {


      then I have a button where I use:

      on (rollOver) {
      fade = true;
      on (rollOut, dragOut) {
      fade = false;

      my_mc is a 15 frame MC that changes a shape's color (or something...)