Read control nodes and generate HTML text
Last updated
Last updated
This example explains how to read control nodes and use the text widget’s HTML feature to style text.
Load this example composition to follow along in a real composition.
The composition has one sub-composition called Lower, as you can see in the composition tree.
To see this sub-composition's widgets:
Open the composition script editor within the same example composition as above and select the Lower composition script.
In the composition navigator, select the Widget Explorer tab.
This composition contains three widgets, but for this quick start, you'll look at the text widget, which in the composition is called lowerFullname.
Now that you have located the composition's text widget, learn how to use the text widget’s HTML feature to style text and set a background color in the Lower composition script.
You can also copy and paste the composition script below into your own compositions.