Welcome to WebmasterWorld Guest from 126.96.36.199
Forum Moderators: not2easy
First I tried to use it in an import from a text file. When that didn't work, I tried an actionscript to replace variable e.g. 'BlackWhite' by 'Black&White' in the Flash file itself. No success either. Strangely, most characters work, just not characters with octal codes from 041 to 047.
If you are using MX then you can also use unicode stuff. %26 works fine here. Look through that page and see if maybe you have missed a setting or something.
name value pair? Either my english or my flash knowhow can't follow you.
var models = new Array(
"widget3a:3 widgets black&white",
"widget4a:4 widgets déjà vu",
"widget4b:4 widgets black&white"
It is imported by the following command from the .fla file:
And used by this variable:
modelFont.Description = getModel(modInt,langPos);
which is a variable for a dynamic text.
The getModel function is used to separate between the languages the site is in. I delete them here, but they would just be another : followed by the text in that language.
Hope I didn't delete too much while widgetising.
What happened was that the embedded font was not set in the right way. If you go to the field where the text is used and open the Properties window, next to the variable name, you have a button 'Character...' where you can choose the character options. There you can choose which font outlines to embed. For some reason, default seems to be only to embed uppercase and lowercase letters as well as numbers, but NOT punctuation... So now I selected to embed all font outlines and...IT WORKS! :)
Anyways, Korkus, thanks a lot for the help. (BTW, even with that option selected, the %26 doesn't work, neither does the &. \046 works, though, as described in the Flash Help.)