I got a navigation bar and want a followmouse-object slide along on top of it with a little delay (delay not built in yet) as i move around my mouse in the navigation area. (in adition the object fades out when you don't move the mouse - but that part works and is not important here) My problem is that the object simply won't follow the mouse!!! I hope someone can help me...
Code explanations:
followmouse object = fader
container movie for fader = fadercontainer
Code for first image in _root:
var timeOut;
var maxTime = 2000;
function fadeUp () {
with (fadercontainer.fader) {
if (true == mouseMoved) {
if (_alpha<101) {
_alpha += 10;
} else {
mouseMoved = false;
timeOut = getTimer()+maxTime;
}
}
}
}