Help bolding certain variables within text


i have input fields within text want bolded , need help!

 

here segment of javascript code html5 canvas document need with:

this.savings.text = "if saved <b>" + investinput + "%</b> retirement, <b>$" + weeklydeduct + "</b> come out of weekly pay.";

 

i want " + investinput + " , " + weeklydeduct + " bolded <b> tag not work , shows in actual text instead.

 

any suggestions?

easeljs/canvas doens't support html text. 

 

you can add html text editing published files , adding html text above canvas.



More discussions in Adobe Animate CC - General


adobe

Comments

Popular posts from this blog

Reader DC

AdobeIDの作り方

Adobe InDesign CC 2017 has stopped working