ActivePresenter Saola Animate Pricing Download

Change text inside of a symbol


I’ve created a symbol (box1), which has a background image and a text box(i.e Text_1). Since Text_1 is inside of box1 how do I change the text of Text_1 via javascript ?



You can use symbolElement.getSymbolDoc() function to get the document of the symbol, then get the text box inside it:

  var symbolDoc = doc.getElement('box1').getSymbolDoc();
  var text1 = symbolDoc.getElement('Text_1');
  text1.setText('your text');


I see.Looks like I was on the right track. Thank you!