When I change the width of a parent sprite, the child TextField wont display

Hey,
Ive got a problem that is driving me insane. I have a parent class which extends sprite, and within it I create a TextField object and add this as a child to the parent. The TextField object displays correctly if I dont change the parents width using this.width. As soon as I assign a value to the parents width, the text will not render. Any ideas?

-------- Code ---------

package
{
import flash.display.;
import flash.text.
;

public class main extends MovieClip
{
public function main()
{
var p:Parent = new Parent();
addChild§;
p.createchild();
}
}
}


package
{
import flash.display.;
import flash.text.
;

public class Parent extends Sprite
{
public function Parent()
{
this.width = 300; // PROBLEM POINT!!
}

public function createchild()
{
var GC:TextField = new TextField();
GC.x = 10;
GC.y = 10;
GC.text = “text”;
GC.width = 50;
GC.height = 20;

this.addChild(GC);

}
}
}


Thanks for any help.
Cheers.