1 Reply Latest reply on Mar 10, 2008 11:46 AM by brian914

    Backwards counting for loop

    brian914 Level 1
      Somehow the following is crashing my Flash player. If I run it that way, it tells me that something is causing the player to run slow. Is there anything wrong with this? I feel like I have used a for loop like this before.

      for(var i:Number = numOfPortfolioPieces - 1; i > -1; i--){
      this.portfolio_subnav["p_btn_" + i].enabled = true;
      fFadeInPortfolioSub.push({target:this.portfolio_subnav["p_btn_" + i], _alpha:100, time:animationTime6, trigger:triggerTime1, ease:"linear"});