all groups > flash actionscript > may 2005 >
You're in the

flash actionscript

group:

scroll pane



scroll pane bertjeb
5/9/2005 12:00:00 AM
flash actionscript: Is it possible to refresh the scroll bar of a scroll pane without refreshing
the content of the scroll pane?
Or is it something else that is wrong in my movie:

I've made an swf in wich i load data from an xml-file
This swf is loaded into a scroll pane. In firefix most of the time
everything's perfect, but in internet explorer the scroll bar start
malfunctioning when the xml file gets too large. On mac - internet explorer i
have no scroll bar at all....
Re: scroll pane I flash therefore I am
5/9/2005 12:00:00 AM
refreshPane is correct for MX. For MX 2004, you need redraw(true) if you do
not want your content unloaded.

Re: scroll pane behived
5/9/2005 12:00:00 AM
thanks for the quick reply, but it doesn't solve the problem...
Re: scroll pane I flash therefore I am
5/9/2005 12:00:00 AM
If things take time to download, the scrollpane may not yet be aware of its
content when you redraw it. Other than that it should work. You might also
look into the invalidate method which works in conjunction with redraw. As
far as the strange behavior goes, it wouldn't be displaying outside the pane
would it?

Re: scroll pane bertjeb
5/10/2005 12:00:00 AM
sometimes it does indeed (internet explorer - pc)...
have you experienced the same problem?
Re: scroll pane GODevil
1/17/2006 2:32:40 AM
What do you mean by refreshing the Scroll Bar~?
If you want the scroll bar goes to the top line,
here is the script:

AddThis Social Bookmark Button