wa ha ha ha ha
August 4th, 2003, 12:46 PM
hi all!
I have a problem about my script
I am doing a image slide which moves from right side of the screen to the left side of the screen at all time. The Slide is about 1000 pixel, within the Image Strip I have 5 images that are buttons. I want to be able click on the image and make the slide to stop.
//In the strip moive clip I have:
onClipEvent(enterFrame){
this._x -= 5;
if(this._x <= - 550){
this._x = 600;
}
else if(_global.click == 1){
this._x -=0;
trace(_global.click);
}
}
//In the buttons I have:
on(press){
_global.click = 1;
}
It seems right to me, but it just won't work!
Can someone help!!! THANk yOU some MUCH!!!:bu: :bu: :bu:
I have a problem about my script
I am doing a image slide which moves from right side of the screen to the left side of the screen at all time. The Slide is about 1000 pixel, within the Image Strip I have 5 images that are buttons. I want to be able click on the image and make the slide to stop.
//In the strip moive clip I have:
onClipEvent(enterFrame){
this._x -= 5;
if(this._x <= - 550){
this._x = 600;
}
else if(_global.click == 1){
this._x -=0;
trace(_global.click);
}
}
//In the buttons I have:
on(press){
_global.click = 1;
}
It seems right to me, but it just won't work!
Can someone help!!! THANk yOU some MUCH!!!:bu: :bu: :bu: