How to set scroll position???
Posted: Fri Feb 01, 2008 12:07 am
in my application i tried to set the scrollposition of one document with respect to another document like:
public function check():void{
doc1.getScrollPosition(curpos);
}
public function curpos(pos:Object):void{
trace(pos);
doc2.setScrollPosition(pos);
}
but its not working !!!
is any change required. please help.
public function check():void{
doc1.getScrollPosition(curpos);
}
public function curpos(pos:Object):void{
trace(pos);
doc2.setScrollPosition(pos);
}
but its not working !!!
is any change required. please help.