tengo el siguiente scroll pero necesito que funcione tambien con la rueda del mause
Código ActionScript :
function barra_boton_objeto_mascara(barra, btn, objeto, mascara)
{
mover = false;
_root[barra][btn].onPress = function ()
{
_root[barra][btn].startDrag(false, 0, 0, 0, _root[barra]._height - _root[barra][btn]._height);
mover = true;
};
_root[barra][btn].onRelease = _root[barra][btn].onReleaseOutside = function ()
{
_root[barra][btn].stopDrag();
mover = false;
};
_root[barra][btn].onMouseMove = function ()
{
if (mover)
{
_root[objeto]._y = _root[mascara]._y - _root[barra][btn]._y / (_root[barra]._height - _root[barra][btn]._height) * (_root[objeto]._height - _root[mascara]._height);
}
};
_root[objeto].setMask([mascara]);
}
{
barra_boton_objeto_mascara("barra", "boton", "letra_mc", "mascara");
} 