Regular and bold font in the same text field of flash template

Which c# library are you using? It’s working for me. Did you try decoding it twice?

i am using Stardust lib in C#, and i have decoded it correctly, my text displays all html tags, but textbox does not render it as HTML, it render it as plain text. .

What happens when you do:

tekst.vs2.htmlText = decodeURI(decodeURI(element.data.@value.toString()));

entire HTML string is displayed in textbox

this is output in casparCG

That is very strange!

this.TraceToLog(decodeURI(element.data.@value.toString()))

What about this output to Caspar’s log?

This is working for me:

tekst.v.vs.htmlText = decodeURI(element.data.@value.toString());

where is output of this trace command?

In caspar’s console window:

It seems that the log is actually being encoded anyways so I’m out of ideas.

yes it is encoded here too. Is there anything specific to add in AS import statements, to make it work? I have this:

    import caurina.transitions.Equations;
	import caurina.transitions.Tweener;
	import flash.display.Loader;
	import flash.display.MovieClip;
	import flash.events.Event;
	import flash.events.TimerEvent;
	import flash.net.URLRequest;
	import flash.text.TextField;
	import flash.text.*;
	import flash.utils.Timer;
	import flash.geom.ColorTransform;
	import se.svt.caspar.ICommunicationManager;
	import se.svt.caspar.IRegisteredDataSharer;
	import se.svt.caspar.template.CasparTemplate;
	import se.svt.caspar.template.components.CasparTextField;

And I am using Animate CC 2019 version

I usually use two dynamic textfields formated with different fonts and use code to move them so, that it looks correct. That way I can use embedded fonts and the client does not need to know anything about formatiing.

I made it with rrebuffo workaround with two variables and one textbox, but i am puzzled why it wont work. …