-
1. Re: Issue with fonts embedded within dynamic textField - urgent!
kglad Nov 24, 2009 1:56 PM (in response to Ziggizag)the embedded characters are added to the swf. the same characters are available to any other textfield that uses those characters/font and has embedded font. ie, if you embed the same characters/font in many textfields, the swf file size will be the same as embedding in one textfield.
-
2. Re: Issue with fonts embedded within dynamic textField - urgent!
Ziggizag Nov 24, 2009 2:20 PM (in response to kglad)Hi,
I have some problems here! - I import a SWF file with custom fonts embedded in the dynamic textFiled.
When I add this (imported) text filed on the stage of the main movie - I see all fonts properly (please notice I need "htmlText"),
But any other textFiled using this font name renders system font only!
And when I set its "embeddFonts" property to true - nothing is rendered!
And I can't find a way to get this done!
Arrrgh!!!
-
3. Re: Issue with fonts embedded within dynamic textField - urgent!
kglad Nov 24, 2009 2:26 PM (in response to Ziggizag)what do you mean by you "import" a swf? are you loading it?
if so, your main (loading) swf needs to have that font embedded.
-
4. Re: Issue with fonts embedded within dynamic textField - urgent!
Ziggizag Nov 24, 2009 2:34 PM (in response to kglad)Nope - what I need is to use custom fontset while the only asset I have in hand is a SWF file with a single dynamic textFiled with this fontset embedded.
And please notice - I am able to import this SWF to the main movie. I am able to place this dynamic textFiled on the stage and it works as expected, but I am neither able to "propagate" its fonts to any other text filed in the main movie nor can clone this textField as it seems it's constructor class is unaware of embedded fonts.
Any idea what to do?
Please notice I have no access to original fonts at all.
-
5. Re: Issue with fonts embedded within dynamic textField - urgent!
kglad Nov 24, 2009 2:41 PM (in response to Ziggizag)your main swf needs to have that font embedded.
-
6. Re: Issue with fonts embedded within dynamic textField - urgent!
Ziggizag Nov 24, 2009 2:48 PM (in response to kglad)Main main movie can't have it embedded - I told you - I have no access to original font, so I can't embedd it.
My question is about fonts "carried" by imported dynamic TextField - is it possible to access embedded font beyond this field or not?
-
7. Re: Issue with fonts embedded within dynamic textField - urgent!
kglad Nov 24, 2009 4:42 PM (in response to Ziggizag)you can't embed a font using a swf that you can't control. ie, a swf that you can't edit.
-
8. Re: Issue with fonts embedded within dynamic textField - urgent!
Ziggizag Nov 24, 2009 5:00 PM (in response to kglad)Why not? - At least it works perfectly this way:
- You have an SWF with a dynamic TextFiled having characters embedded in it
- You load this SWF into your main movie using Load(URLRequest)
- You add this TextField from loaded SWF to any movieClip of the main movie using addChild()
- You can use it having its all embedded fonts effective
The only issue is that I can't find a good way to duplicate this TextField, so you can't use it in more than one place at once.
So, though this solution is somewhat handicapped - it is anyway operational.
And my question was not about basic feasibility of this method (as this is effective) but about its extensibility - it is obvious internally Flash has some representation of embedded characters, but I can't find a way to get access to it.
-
9. Re: Issue with fonts embedded within dynamic textField - urgent!
kglad Nov 24, 2009 6:17 PM (in response to Ziggizag)because you have to register the font in the loaded swf.
but if you're willing to use the loaded textfield, you can repeatedly load that swf and use the loaded textfield as many times as you like.



