bittman
12-21-2004, 10:38 PM
I've read through just about every ScrollPane post and it seems like a bunch of people are experiencing a similar problem:
When loading dynamic text into a text field contained in a movieclip, the scrollPane is unable to detect the length of the text (e.g. height of the movieclip). Even with scrollbars set to "on" the text won't scroll (a grayed out bar is visible).
//Tried turning the scrollPane "off" and "on" in the same function
myScrollWindow.vScrollPolicy = "off";
myScrollWindow.vScrollPolicy = "on";
//Tried resetting the size
myScrollWindow.setSize(450,200);
//Tried refreshing
myScrollWindow.refreshPane()
//Tried invalidating
myScrollWindow.invalidate()
I've even tried dynamically resizing a movieclip withing the movieclip and that didn't work (probably for the same reason as the text). Does anyone know of a definitive fix?
Something this easy shouldn't be so complicated :)
When loading dynamic text into a text field contained in a movieclip, the scrollPane is unable to detect the length of the text (e.g. height of the movieclip). Even with scrollbars set to "on" the text won't scroll (a grayed out bar is visible).
//Tried turning the scrollPane "off" and "on" in the same function
myScrollWindow.vScrollPolicy = "off";
myScrollWindow.vScrollPolicy = "on";
//Tried resetting the size
myScrollWindow.setSize(450,200);
//Tried refreshing
myScrollWindow.refreshPane()
//Tried invalidating
myScrollWindow.invalidate()
I've even tried dynamically resizing a movieclip withing the movieclip and that didn't work (probably for the same reason as the text). Does anyone know of a definitive fix?
Something this easy shouldn't be so complicated :)