hello,
I want to show you the following code :
mc1._x=0;
mc1._y=0;
var rakom:Number = 1;
var i:Number;
for(rakom>0; rakom <5; rakom++){
i=rakom;
}
mc1.onEnterFrame=function(){
if( _currentframe>20 && _currentframe<40){
mc2._x=100;
mc2._y=100;
mc2._alpha=20;
mc2.gotoAndStop(i);
//trace(i);
}
else{
mc2._x=200;
mc2._y=200;
}
}
so I have 2 movie clips, and 2 variables, and 40 images on the timeline,
and actionscript code on a separate layer, my question is :
Why the (i) variable return (3) all times ?