I have a textfield which displays text appropriate to the current scene, e.g.
<plugin name="description"
url="%SWFPATH%/plugins/textfield.swf"
.....
html=""
css="p{color:#000000; font-family:verdana; font-style:regular; font-size:14px; text-align:justify; }"
.....
/>
followed by, e.g.
<action name="updateinfo">
txtadd(plugin[description].html,[p],get(scene[get(xml.scene)].title),[br],get(scene[get(xml.scene)].info),[/p]);
</action>
This works fine, but I would like the first piece of text (before the [br]) to be in a different colour to the rest. I'm not at all familiar with css, and I have tried various ways. The best I can achieve is by inserting an inline css font colour instruction in the txtadd.. statement. That works in HTML5, but not in Flash.
Is there any way to declare multiple styles within the css field in the plugin declaration, and would that work in both HTML5 and in Flash, please?
Regards
Andrew