onno
November 10th, 2002, 11:09 AM
I did a slider, but it doesnt work fine, does anybody can tell me why?
this is the code i use
for up slider:
--------------------------------------------------------------------------------
on (rollOver) {
if (_level0.instance1.slider._currentframe >= 12) {
_level0.instance1.slider.stop();
}
else {
_level0.instance1.slider.play();
}
}
on (rollOut) {
_level0.instance1.slider.stop();
}
--------------------------------------------------------------------------------
for down slider:
--------------------------------------------------------------------------------
on (rollOver) {
if (_level0.instance1.slider._currentframe < 12) {
_level0.instance1.slider.gotoAndPlay(23 - _currentframe);
} else {
_level0.instance1.slider.play();
}
}
on (rollOut) {
_level0.instance1.slider.stop();
}
--------------------------------------------------------------------------------
i attached the FLA file to let you know what i did
thanks :cowboy:
this is the code i use
for up slider:
--------------------------------------------------------------------------------
on (rollOver) {
if (_level0.instance1.slider._currentframe >= 12) {
_level0.instance1.slider.stop();
}
else {
_level0.instance1.slider.play();
}
}
on (rollOut) {
_level0.instance1.slider.stop();
}
--------------------------------------------------------------------------------
for down slider:
--------------------------------------------------------------------------------
on (rollOver) {
if (_level0.instance1.slider._currentframe < 12) {
_level0.instance1.slider.gotoAndPlay(23 - _currentframe);
} else {
_level0.instance1.slider.play();
}
}
on (rollOut) {
_level0.instance1.slider.stop();
}
--------------------------------------------------------------------------------
i attached the FLA file to let you know what i did
thanks :cowboy: