- Impact
- 0
hello I am trying to recreate something i purchased but i am having trouble understanding how to re-create the effect that the designer made.
he was able to make a slide show of imgages appear in a main screen.anyway thats the problem im having.
i have access to the script. this is what it says.
onClipEvent (load) {
// accel = 0.6;
// rate = 0.2 ;
accel = 0.6;
rate = 0.03;
_root.pos = this._x;
// start position
}
onClipEvent (enterFrame) {
xkoord2 = _root.pos-_root.press*_root.width;
x = x*accel+(xkoord2-_x)*rate;
_x += x;
if (Math.abs(_root.xkoord2-_x)<1) {
_x = _root.xkoord2;
}
}
where it says enter frame am i supposed to put the name of the image?
he was able to make a slide show of imgages appear in a main screen.anyway thats the problem im having.
i have access to the script. this is what it says.
onClipEvent (load) {
// accel = 0.6;
// rate = 0.2 ;
accel = 0.6;
rate = 0.03;
_root.pos = this._x;
// start position
}
onClipEvent (enterFrame) {
xkoord2 = _root.pos-_root.press*_root.width;
x = x*accel+(xkoord2-_x)*rate;
_x += x;
if (Math.abs(_root.xkoord2-_x)<1) {
_x = _root.xkoord2;
}
}
where it says enter frame am i supposed to put the name of the image?
Last edited:















