HELP! mc and Textfield


I got this code:

	for(var i:int=0;i<antal;i++)
		var mc:MovieClip = new MovieClip();
		mc.x = 590;
		mc.y = tarY;
		tarY += 20; = 'hej';
			var userText:TextField = new TextField();
			userText.text = nodes*;
		mc.addEventListener(MouseEvent.CLICK, userList);

function userList(evt:Event)

It doesn’t matter what code I got before the for loop, the problem is when the function userList plays I got the error something like:

**ReferenceError: Error #1069:the property boo couldn’t be found flash.text.TextField and the is no standard value
at chat_fla::MainTimeline/userList()

You see it is like, I can’t give the movieclip a “variabel” when it includes a textfield.

Can you please help me, thanks :slight_smile: