Backwards counting for loop
somehow following crashing flash player. if run way, tells me causing player run slow. there wrong this? feel have used loop before.
for(var i:number = numofportfoliopieces - 1; > -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"});
}
for(var i:number = numofportfoliopieces - 1; > -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"});
}
i figured out. sorry poste, problem in different place , seems work backwards count loop.
More discussions in ActionScript 1 and 2
adobe
Comments
Post a Comment