Millisecond Forums

Text color - Help!

https://forums.millisecond.com/Topic10750.aspx

By marisaokano - 6/26/2013

When writing instructions as a text element (to be used as a trial that displays the instructions for the following trials) is there a way to change the color/font individual words within the phrase, without affecting the rest of the phrase? 


For example: The text displays the instructions for categorizing into the physical attractiveness (PA) and like category for the practice trial (PT). 


(I would like to have the words "blue & appearance" come up as blue, and the words "LIKE and white" come up as white. )



<text PAlikePT>


/ items = ("For the following trials, HIT the space bar if the blue words belong to the category APPEARANCE, OR if you LIKE the white words. Press the space bar to begin practice trials.")


/ position = (50, 50)  


/ fontstyle = ("Calibri", 2.67%, false, false, false, false, 5, 1)


</text>



Thanks! 


Marisa 


By Dave - 6/26/2013

When writing instructions as a text element (to be used as a trial that displays the instructions for the following trials) is there a way to change the color/font individual words within the phrase, without affecting the rest of the phrase? 


No, there is not. If you require such formatting, you'd be well advised to use <htmlpage>s to display instructions.

By marisaokano - 6/26/2013

Okay good to know, Thanks!