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"});
}

i figured out. sorry poste, problem in different place , seems work backwards count loop.




More discussions in ActionScript 1 and 2


adobe

Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support