i know its something to do with how i wrote the _root.clip part… im sure its a quick fix:
this is on one:
onClipEvent (load) {
highMax = 100;
lowMax = 30;
speed = 5;
this._alpha = highMax;
}
and on the button that calls the function:
on (rollOver) {
_root.test = function() {
_root.test._alpha += speed;
if (_root.test._alpha>=highMax) {
_root.test._alpha = highMax;
delete _root.test.onEnterFrame;
}
};
}
on (rollOut) {
_root.test.onEnterFrame = function() {
_root.test._alpha -= speed;
if (_root.test._alpha<=lowMax) {
_root.test._alpha = lowMax;
delete _root.test.onEnterFrame;
}
};
}
THANKS!