Scrollbar NOT re-loading when you return to page

Scrollbar NOT re-loading when you return to page

Post by reedharri » Tue, 05 Apr 2005 20:29:48


Can anybody please help? My scroll bar is not reloading
basically the scrollbar works when you first start on all the pages but when
you come back to the pages you looked at previously the scroll bar doesnt work
aaaaarrrrrrggghghhh please help

the txt is xml i am using a scroll plane and scroll bar with dynamic txt i am
reusing the same scroll bar and scroll plane from the library for all the
movies withing the pages.

Any ideas!!!!!
 
 
 

Scrollbar NOT re-loading when you return to page

Post by flashkidd » Tue, 05 Apr 2005 22:51:45

Hi Reedharris, first of all;, wanting to use the scrollpane is asking for
trouble...... it's a horrible, heavyweight object which offers more problems
than solution, especially when it comes to using dynamic content. First of
all, bookmark this link: http://www.yqcomputer.com/
solutions of frustated Flash users there.... especially concerning the
scrollpane. But a solution? What about this: it's an badly badly documented
thing as far as i know: When the dynamic content has finished loading, just
call the onComplete() method of the scrollPane. myScrollPane.onComplete(). Just
like that, no arguments required. Why would Macromedia would not document
this???!!!!! Anyway onComplete() has the side effect of positioning your scroll
bars back to the origin, to avoid this you may want to do the following: var
vPos:Number = myScrollPane_sp.vPosition; myScrollPane_sp.onComplete();
myScrollPane_sp.vPosition = vPos; Also take a look at the following:
http://www.yqcomputer.com/
lp.htm?href=00002231.html If this info doesn't help, consider buying a third
part component.....

 
 
 

Scrollbar NOT re-loading when you return to page

Post by reedharri » Fri, 08 Apr 2005 19:28:46

Thank you sooooooo much

i will give it a go and check out your links thanks very much again