Provided that you come and collect it yourself.....
First of all, new to flash, so I have properly made this all wrong
First look here: http://www.visual-astma.dk/flash/scroll.html
What I want to make is a scroller that can scroll movieclips, so I use a scrollPane and adds a empyt MC (a contentHolder) to it.
I fill the contentHolder with the MC's i have. Then I made my own scrollbar what works with %, so when it is at the top the value is 0% and at the bottom 100%. A onEnterFrame on the scrollbar makes sure it is always updated.
Used this solution before and it works pretty ok. But now the movieclips can change size (when you expand the news) This change in size makes it jump...
I spend days now, so i need some else to look at it, to see if you can help me.
The position of the scrollbar changes when a mc is expanded.
The overall size of the contentholder changes, but I can't seem to get the scrollbar dragger placed correct.
what i want:
when you expande a movieclip, the movieclip stays where it is, and the scrollbar dragger is resized and placed accordingly.
I can't do the math...
Hope it is not too confusing... and the code is properly messy!
HEEEELP, and free beer to the guy/girl who solves it...