Mousewheel on scrollbar

i got a scrollbar script wich works fine for me. it scrolls dynamic content and all.

I only tried to add a mousewheel function. i just can get it to work.

i checked the help function at flash actionscript but i can’t get it to work does someone can help me?

kind regards Jos


function scrollUpdate ()
{
	var detailView = this._parent.detailView;
	
	detailView.bodyTxt.autoSize = true;
	
	if (detailView._height < Stage.height)
	{
		this._visible = false;
	}
	else
	{
		this._visible = true;
	}
	var pxls_cont = detailView._height - Stage.height;