Sizing problems with custom components

I have created a custom slider component (SWC file). When I resize it in the editor, it seems to be resizing fine, but then when I play the movie it is back to it’s full size again. I know I’m missing something here but I don’t know what. Any suggestions?