Adobe Animate CC
Javascript
Can someone share the correct way to vertically center text in a dynamic text box using Javascript within Adobe Animate? This is different from the typical CSS method of centering text vertically in HTML.
The following code does not achieve the desired effect:
myTextBox.style.display="table-cell";
myTextBox.style.verticalAlign="middle";