watch causes text field to be undefined
The code below executres and traces out updated when mouseDown Clicked.
But text property displays undefined. (N.B. aTB is a dynamic text field on the stage)
Comment the watch out and text displays fine...... ?
Anyone had same or similar issue? As seems a bit odd that you can watch the property but it affects its value!!!
Code:
traceME=function()
{
trace("updated")
}
aTB.watch("text",traceME)
onMouseDown=function()
{
aTB.text="hello"
}
Any ideas or pointers appreciated.
Cheers
Jon