I have a Text Element entity that will load text on a button click via:
this.app.root.findByTag('p_Name')[0].element.text = "String of text";
To cut down on script charcters since I have dozens of buttons I thought this might do the same thing, but it doesn’t, shouldn’t it?
Variable declared:
var p_Name = this.app.root.findByTag('p_Name')[0].element.text;
Code line in a function:
p_Name = "String of text";
What did I get wrong?
Thanks!