onRollOver Blur Actionscript Help Plz!

Sup All //

Alright, my background currently has the following code.


onClipEvent (load) {
    dir = 0;
    speed = 4;
    original._alpha = 0;
    }

this.onRollOver = function() {
        dir = 1;
    };
    this.onRollOut = function() {
        dir = -1;
    };
onClipEvent (enterFrame) {
     useHandCursor = false;
    temp = original._alpha+speed*dir;
    original._alpha = Math.min(100, Math.max(temp, 0));
}

When I rollover buttons, or the menu it blurs into the background. Well this is all nice and jim-dandy, however too much is “too much”. What I would NOW like it to do, to “tone” it down, is only have it do the rollOver fade when I access my menu which has an instance name of menu_mc

So I than tried the following code.


onClipEvent (load) {
    dir = 0;
    speed = 4;
    original._alpha = 0;
    }
onClipEvent (enterFrame) {
    _root.menu_btn.onRollOver = function() {
        dir = 1;
    };
    _root.menu_btn.onRollOut = function() {
        dir = -1;
    };
    useHandCursor = false;
    temp = original._alpha+speed*dir;
    original._alpha = Math.min(100, Math.max(temp, 0));
}

I also placed it in it’s own onClipEvent (enterFrame) before the alpha statement etc… but that didn’t work either. So I’m stuck. :frowning: Please help me.

Also, this is where I got the code from.
http://www.actionscript.org/resources/articles/38/1/Blur-transition-effect/Page1.html

They also have an added section, showing that if you want to have this effect triggered by a certain button, mc on stage, to add the appropriate code. However it’s not working :confused: