dnk wrote:
eric dolecki wrote:
force the scrollpane to .invalidate() or .redraw() or something like
that. I
forget which one exactly at the moment.
- e.
Ok - to further expand on my last post....
I had changed my structure a little to try this.
So in my main movie there is a MC in which there is a scrollpane (called
"scroller"). For that scrollpane I attach a dynamic MC (empty) holder
from the library. Now in my MC (that is in my main movie - which
contains the scrollpane) I have the following code:
FRAME 1
this.scroller.contentPath = "dynSubMenu";
FRAME 2
//remoting
import com.includingatree.dkcms.MenuData;
var myUserMenu:MenuData = new MenuData(this.scroller.spContentHolder);
myUserMenu.getUsers("Artismo");
//heard resetting the "auto" helps
this.scroller.vScrollPolicy = "auto";
//tried both redraw and invalidate here.
//this.scroller.invalidate();
this.scroller.redraw(true);
FRAME 3
//have a frame 3 as I read invalidate forces the redraw on the next frame.
stop();
Now all my data is populating great - it is just the scroll bars.
Thanks!
d
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com