Simple createTextfield problem

Hi,

Im having a problem with this little simple code but i cant figure out how to fix it :confused:

[AS]
defineMC = “textm”; //giving the variable defineMC “textm”
_root.createTextField(defineMC,1,50,100,200,100); //creating a textfield with the instancename “textm”
_root.defineMC.variable = “textp”; //sets the variable of the textfield to “textp”
_root.textp = “hej”; //sets the textfield’s text to “hej”
[/AS]