PDA

View Full Version : Scrollpane problem


jsam
07-10-2004, 01:47 PM
Hi ,
I want to set the xmltree component into a scrollpane component. from which i can browse all the nodes. My problem is the scrollpane component is disabled at run time. so that i can't see the nodes which goes beyond the size ( height) of the sp.
i hope, all of u can understand, what my problem is.
i attached my .zip for ur view.
i tried much but i can't get the result.
help pls.
thank s a lot in adv.
jsam

issamneo
07-12-2004, 04:01 PM
say thank you god :) it's solved
put a button on the sene and add this rcipt to your button

on(press){

_root.sp.refreshPane();
}

jsam
07-13-2004, 04:47 AM
hi.
Again, i thank u very much, my problem is solved bu using the code u have posted. But, after a long try, i found another solution ie

_root.onEnterFrame=function()
{
this.sp.refreshPane();
}

it's also working fine.

With regards,
jsam........