Describe the bug
I have a field text in a clip. it has different positions in different frames.
I cannot setText correctly from outside the clip (eg: code on buttons).
To Reproduce
check attached .wick
text_issue.wick (3.9 KB)
Expected behavior
I should assign and change the text content of the field in different clip frames.
it works from inside the clip (default script on frame)
it act very strangely from outside the clip (code on external buttons)
it seems a targeting issue but it sometimes works and sometimes not as expected
*Computer Information
linux mint - laptop - firefox - wick 1.18 browser edition
to check if it could be a targeting issue I changed name to my text field (myTextField2) in the second animation.
now when i target it (press button animation 2 )i receive a :
anim.myTextField2.setText(“animation two”); is undefined error
but the field is there and named correctly !
here is the file producing the error
textIssue2.wick (3.9 KB)