Associate
- Joined
- 2 Sep 2007
- Posts
- 1,982
Hi All
I'm trying to set the text of a label in a movie clip but I get an error "Access of possibly undefined property LabelTest through a reference with static type class"
My movie clip is called mcTest and my label is called LabelTest. This line of code doesn't work: -
mcTest.LabelTest.text = "test";
Here is a demo of the problem - http://www.electricalinnovation.co.uk/DemoProblem.swf
Any ideas?
I'm trying to set the text of a label in a movie clip but I get an error "Access of possibly undefined property LabelTest through a reference with static type class"
My movie clip is called mcTest and my label is called LabelTest. This line of code doesn't work: -
mcTest.LabelTest.text = "test";
Here is a demo of the problem - http://www.electricalinnovation.co.uk/DemoProblem.swf
Any ideas?