hi all,
I’m writing function for hoover efect in dinamic xml menu.
Function is working, but I got to shorten my code.
function hoover(){
_root.menu0.onRollOver = function () {
this._alpha = 50;
};
_root.menu1.onRollOver = function () {
this._alpha = 50;
};
…
}
I have number of menus in variable nMenu.
How can I do this? Thanx.