Fonts
System Font
The CU3ER can use any system font for displaying slide heading and paragraph text you have chosen. All you have to do is to insert value (font-face name) in the font atribute located in <description> node inside the XML configuration file. Check “Description” section for more information!
If the CU3ER has found the defined font variable in the embedding script, it will use this embedded font for all text fields regardless of the system font attribute defined in XML.
Custom Font
The CU3ER allows importing .swf file with an embedded font, which will be used for displaying the slide description heading and paragraph text. While embedding the CU3ER on the web page, you have to define a variable “font” with the path to your font .swf in the embedding javascript and the CU3ER will load that .swf.
flashvars.font = "path_to_your_font.swf";
Take a closer look at the 'Embedding' section if you have doubts where to define this variable-link.
Here’s the way of embedding fonts into Flash:
- go to your library, right-click and choose "New Font ..."
- under the "Name" field type the name of the font "myFont"
- select font & style from the respective drop down menus
- Click "advanced > linkage" and check "Export for Actionscript" and "Export in first frame"
- Click OK
- Open 'ActionScript panel' and register font by typing following AS code:
Font.registerFont(myFont);
- Publish this swf for Flash Player 9 with Actionscript 3
- Copy/move published font .swf into the desired folder and set variable 'font' with the path to this .swf file inside your embedding script in order to make the CU3ER to use your defined font.