Scrollbar issue when resizing

Hi, I have a scrollbar that automatically resizes with the flash window (which in turn automatically resizes with the browser window)

My problem is that the scrollbar doesn’t resize properly at load, but when I resize the window, it sets itself to the correct size. Anyone know what the issue is?

for a reference : www.pastelcrayons.com/pasteltest.html

Thank you.