View Full Version : scrollpane: one more question...

12-28-2005, 09:23 PM
Hi dudes, I'm using a custom scrollpane. All working well but when I use loop to create duplicated MC, that logicaly doesn't work...
My question is: is it possible to use a loadvars in this component like:

myLoadVars = new LoadVars();
myLoadVars.onLoad = function() {
this.contentHeight = this.LoadedVar;

Here is the Fla with the component

I've allready spend a lot of time on this, but nothing works...
Someone has an idea of how to make this working.
Thanks a lot for ur help :)

12-30-2005, 03:51 PM
Ok I finaly make it works!
Just in refreshing the pane with this code: _level0.scrollpane.refreshPane();
My question was quite stupid ;)