iostream71
Programmer
this is how i've been doing slides:
make a MC with whatever inside it. and have this for the actionscript
onClipEvent(load){
_x=-100;
_y=0;
targetX=-50;
targetY=0;
speed=3;
}
onClipEvent(enterFrame){
_x += (targetX - _x)/speed;
}
my question is, sometimes the sliding is choppy, like my computer is lagging. was wondering if maybe the constant enterframe part was taxing my computer somehow? i dunno
make a MC with whatever inside it. and have this for the actionscript
onClipEvent(load){
_x=-100;
_y=0;
targetX=-50;
targetY=0;
speed=3;
}
onClipEvent(enterFrame){
_x += (targetX - _x)/speed;
}
my question is, sometimes the sliding is choppy, like my computer is lagging. was wondering if maybe the constant enterframe part was taxing my computer somehow? i dunno