Windows' style window in Flash

Wea! hello,
this is my first thread.

I have this problem. I tryed to create a movieclip that simulates the windows’ windows, lets say it… this is my swf: www.atoon.com.br/teste/testejanela.swf

janela = window ¬¬

at first look, it seems to work right. Its draggable and scalable just like a windows os frame. But so far so good, try to move the horizontal scrollbar thumb till it reaches its limit. Then scale the movieclip. You’ll see there is a bug in the scrollbar i can’t figure out the solution…

The FLA file is in the same directory, just swicth .swf to .fla and you will see the…hmmm… code. hehe… i’m new programming, so, dont expect a great job. Comments are in Portuguese, but its easy to understand. Well, hope someone can help me fixing this bugs in my mc =D

See,
Deh