2 Replies Latest reply on Aug 8, 2006 10:10 PM by

    Playing the Timeline in reverse

      Hi I'm playing around with Flash MX Profesional (v 7.2) and am having dificulity getting my timeline to play backwards.

      my code is :

      // This script takes the user to the previous page when the prevPage_btn is released
      prevPage_btn.onRelease = function (){
      gotoAndStop(20);
      for (var i = 20; i >= 1; i--)
      prevFrame();
      };

      Things to consider:
      The timeline plays fine from frame one to frame 20.
      I have a sound file attached to the timeline and the sound file plays using the prevPage function but the animation does not play.
      If i set a breakpoint and step through the For loop the animation works fine.

      I don't get it???
      Any ideas?