Topic: Formatting captions with CSS styles

How do I add HTML formatting to my captions with CSS styles and attibute class in <span> tag in CDATA caption using  flash.text.StyleSheet object or an other way. (working solution for both the FLash Player and the Mobile Player)
thanks

Re: Formatting captions with CSS styles

Please see this FAQ:
How do I add HTML formatting to my captions?

Please note that for the Flash Player, you can use only those HTML tags and attributes found in the link in the FAQ. You could use the style attribute in a <span> tag to add inline CSS but please be aware that this will be picked up and used only by the Mobile Player (and not by the Flash Player).
For example, the font-family specified in the sample code below would be applied only in the Mobile Player:

<caption><![CDATA[<span style="font-family: Courier;">Sample text.</span>]]></caption>

(It would not be possible to use a flash.text.StyleSheet as SimpleViewer does not come with source code.)

Steven Speirs
SimpleViewer Support Team