PDA

View Full Version : disabling ScrollPane controls


MrFrodo
10-19-2004, 04:41 PM
Hello all,

I had this in the Components forum, but after 24 views and no replies, I thought this might be the better forum...

I am using setEnabled(false) (and setEnabled(true)) on a frame on the main timeline to temporarily disable the buttons of a scrollpane when the scrollpane is behind other items on the stage. However, when setEnabled(false) is hit, the content of the ScrollPane jumps to its initial position, so picture if you will: I scroll to a button (in the MC inside the ScrollPane)and click which initiates a "popup layer" which is on the main timeline on top of the scrollpane. Next frame on the main timeline then does the setEnabled(false) so the user can't still scroll behind the "popup". The content MC in the ScrollPane then jumps to it's initial position, "popup" window pops up.

Is it possible to stop the content jump?

TIA and sorry for the forum-jumping :rolleyes: