Documentation DCO Enabler -> ENABLER ADOBE ANIMATE CC -> DYNAMIZE A TEXT FIELD
DYNAMIZING A TEXT FIELD
To create dynamic text, add a unique name attribute (“Properties” field), and set the text value (setText).
Once the banner is dynamized by our AdServer, texts will change according to the established parameters (geolocation, weather, date/time, cookies, retargeting …).
Insert the following code into the first frame, and associate your texts (Textfield):
ADventori.initData({
mc_text:"THIS IS THE FIRST TEXT",mc_text2:'THIS IS THE SECOND TEXT',mc_text3:'THIS IS THE THIRD TEXT'
});
ADventori.Display.setText(this.mc_text,ADventori.data.mc_text);
ADventori.Display.setText(this.mc_text2,ADventori.data.mc_text2);
ADventori.Display.setText(this.mc_text3,ADventori.data.mc_text3);
Result:

