Accordion setSize problem

Here is the deal

I have an accordion component on the stage and i add with actionscript srollpanes as segments. I use the following actionscript to adjust the dimensions of the scrollpanes to the accordion

currentStuff.createSegment("ScrollPane","curDocsPane","Βιβλία,Πτυχιακές Εργασίες, Εργασίες Μαθημάτων");
currentStuff.createSegment("ScrollPane","curSongsPane","Δημοτικά Τραγούδια");
currentStuff.createSegment("ScrollPane","curVideosPane","Οπτικοακουστικό Υλικό");
var currentStuffSize:Number = currentStuff._height - (21.5*currentStuff.numChildren);
currentStuff.curDocsPane.setSize(currentStuff._width,currentStuffSize);
currentStuff.curSongsPane.setSize(currentStuff._width,currentStuffSize);
currentStuff.curVideosPane.setSize(currentStuff._width,currentStuffSize);
trace(currentStuff._width);

My accordion is 300px in width but when i trace the width its says 100…:crying: