how can i collect the current scroll position??
i tried just like doing in the case of getting currentpage.
like:
public function scrollpos():void{
doc.getScrollPosition(curpos);
}
public function curpos(pos:Point):void{
trace(pos);
}
but is not working.
please help me by giving an example code..
how to get current scroll position???
Re: how to get current scroll position???
Try to change your function parameter type to Object:
Code: Select all
public function curpos(pos:Object):void{
trace(pos);
}