Questions

Answer

How to use special characters

This is the solution for using different types of characters/languages in our products with embedded fonts. You will need Adobe Flash Professional to follow the instructions below.

If you don't have Adobe Flash Professional and if the component allows it, you can use non-embedded fonts and you don't need these instructions as they should work with any type of character. To use non-embedded fonts you have to change the value of embedFonts attribute to false in your settings.xml file (some products have multiple embedFonts attributes so make sure all of them are set to false).

 

Step 1:

Edit the images.xml file with a text editor (a regular editor would be Notepad++) and set the format of the XML file to UTF-8. In Notepad++, from the menu, Format -> Encode in UTF-8. Type your text in CDATA tags for each image (in your UTF-8 formatted language) and Save the file.

For the second step, there are two possibilities:
- if you’re using any font other than the one already embedded in the component (like Arial and/or Verdana - depending on each component), go for Step 2A
- if you’re using the already embedded font go for Step 2B

Step 2A:

In the FLA file create an empty text field on the Stage using Text Tool (put it anywhere just make sure it’s outside the viewable area). Click on (select) this newly created text field on the Stage and go to Properties panel (Ctrl+F3) and select a font which you know it contains all the special characters you need. Click Embedding and select (using Ctrl+Click) all the character types you need (note that each selection increases little by little the SWF size).

Step 2B:

Open the Library (Ctrl+L), right clik on an empty space on the Library, select New Font, write Arial or Verdana for Name and Font, check Export for ActionScript, then write Arial or Verdana (the same as before) for the Identifier. Click OK.

Note: for Step 2B you’ll have to know that if you’ll be using rare characters, like Cyrillic, you won’t be able to see them, and you’ll have to go for Step 2A and use other fonts than Arial or Verdana. For Latin characters for example it won’t be a problem.

Step 3 for components having the font customizable through XML:

Edit the settings.xml file, and put the name of your font as the value for fontFace (note that it could differ from one component to another), like this

<fontFace value="your_font" />

Step 3 for components having the font customizable through CSS:

Edit the style.css file and write the name of your font for the font-family (you might want to put it twice, for both head and body), like this:

font-family: your_font;

Comments

Alex

Posted 8 years ago

Hi! how do i get my swedish letter a with at dot, and a and o with two dots? Å Ä Ö in blurmenu?

FlashXML Support

Hi,

First check the settings.XML file and see if it has a line like this: <embedFonts value=“true”. If it does, just change the value to false and it should read the special characters from the XML files.
If you want to embed the special characters, you’ll need the commercial package for your component, and then follow the Adobe Flash CS instructions above.

Kjell

Posted 8 years ago

I have no line “embedFonts value” <embedFonts value=“false”> and I get no text at all if I use this font <fontFace value=“ariel”/>

<settings> <General_Properties> <assets value=“images.xml”/> <showAbout value=“true”/> <componentWidth value=“600”/> <componentHeight value=“320”/> <moveX value=“0”/> <moveY value=”-60”/> <backgroundColor value=“0xffffff”/> <backgroundAlpha value=“1”/> <cameraX value=“0”/> <cameraY value=“0”/> <cameraZ value=”-347”/> <cameraRotationX value=“0”/> <cameraRotationY value=“0”/> <cameraRotationZ value=“0”/> <cameraFocus value=“170”/> <cameraZoom value=“1”/> <cameraUpDown value=“0”/> <cameraLeftRight value=“0”/> <useLightbox value=“false”/> </General_Properties> <CoverFlow_Properties> <startIndex value=“0”/> <planeAngle value=“70”/> <planeSeparation value=“120”/> <planeOffset value=“10”/> <planeOffsetZ value=”-170”/> <tweenTime value=“0.8”/> <functione value=“Expo”/> <method value=“easeOut”/> </CoverFlow_Properties> <Reflection_Properties> <alpha value=“41”/> <ratio value=“209”/> <distance value=“0”/> <dropOff value=“0”/> </Reflection_Properties> <Scroll_Bar> <type_Bar value=“assets/scrollBar/None/Bar.xml”/> <width value=“400”/> <positionY value=“276”/> </Scroll_Bar> <Play_Settings> <showPlay value=“true”/> <autoPlay value=“true”/> <slideShowTime value=“2.4”/> <ifLastPicture value=“back”/> <leftRightPlay value=“right”/> <hPosition value=“center”/> <vPosition value=“top”/> <hPadding value=“0”/> <vPadding value=“8”/> <playBtn value=“assets/buttons/play2.png”/> <pauseBtn value=“assets/buttons/pause2.png”/> </Play_Settings> <ToolTip_Properties> <type value=“free”/> <toolOffSet value=“center”/> <functionEasy value=“Strong”/> <appearance value=“topv”/> <tweenTime value=“1”/> <position value=“bottom”/> <positionFreeX value=“296”/> <positionFreeY value=“202”/> <padding value=“10”/> <backColor value=“16777215”/> <backColor2 value=“13421772”/> <backAlpha value=“0.8”/> <cornerRadius value=“3”/> <toolDistance value=“7”/> <useHook value=“true”/> <hookSize value=“5”/> <borderThickness value=“1”/> <borderColor value=“5592405”/> <fontFace value=“ariel”/> <fontColor value=“3355443”/> <fontSize value=“14”/> </ToolTip_Properties>
</settings>

FlashXML Support

Hi,

We have sent you an email with the modified package. Please check your inbox.

Kjell

Posted 8 years ago

Can not get Arial to work in “Cover Flow FX” and with Swedish characters åäö.

I have no <Text_Properties> in my settings, becomes difficult to try when ;)

FlashXML Support

Hi,

You need to edit settings.xml and set

<embedFonts value="false">
and then at <ToolTip_Properties> edit the font on this line:
<fontFace value="verdana"/>
.

Enrique

Posted 8 years ago

Hello,
I have bought a commercial licence and I would like to use French accents like é with the 3D Carousel Menu, i have try to make like the video but without succes :(
can u help me plz

FlashXML Support

Hi,

Please send to support[at]flashxml.net the paid package and we will make these changes for you.

ofer kessker

Posted 8 years ago

Hi,

I bought the BannerRotatorFX with Commercial License,

I am trying to embeded heberw characters/languages in it but no luck!.

I had download Adobe Flash Professional CS5 SW to edit the FLA file as explian and select “Guttman Frnew” font

Update the style.css file
head { font-family: Guttman Frnew; font-size: 20px; color: #ffffff;
}

body{ font-family: Guttman Frnew; font-size: 16px; color: #ffffdd;
}
a { color: #aaaaff; text-decoration:underline;
}

and run test option – but I got no characters display at all!

can you help me ?

Ofer

FlashXML Support

Hi,

Please open settings.xml and change the value of embedFont attribute to false.

Do you have a question?

you will get an answer in 24 hours, tops.

(required) Only alphanumeric characters allowed
(required) (will not be published)
Please type a message! Your message is too long! Either try to keep within 1500 characters, or contact our support team via email at support [at] flashxml.net.
(will not be published)
You mistyped the two words!
Can't read? Change the image
Format your comments using Textile: *bold*, _italic_, "link text":address, @code@
Connect to us on Facebook Follow us on Twitter Subscribe to our RSS feed
Copyright © FlashXML.net 2009 - 2020