i hav this problem with scrollpane component.
sometimes, the jpg that it contains "flows" out of the pane.
sometimes it contains the jpg just rite!
i am suspecting culprit in the loading time of the jpg...
(slow due to ntework or computer speed) and it behaves strangely if loading is slow...
i populated the scrollpane(myScrollpane2) via a combobox component.
on(change){
if (this.lastSelected != 0){
var item_obj:Object = this.selectedItem;
_global.myPath = "./mp/"+(item_obj["data"]);
_parent.myButtonclose._visible = true;
_parent.myBG1._visible = true;
_parent.myScrollpane2._visible=true; // <---THIS IS THE GUY
_parent.myScrollpane2.contentPath=myPath;
}
}
Anyone can help me out? thanks!