The way I´m using Shared Fonts: I have a Fonts.swf Shared Library with 3 font symbols and a "SharePoint" exported to as and for runtime sharing. This swf is preloaded at the beginning of the application. In the subsequent swfs, I have two frames. The first one has the "SharePoint" in the stage. I then have 3 font symbols in the library importing the 3 font symbols of the fonts.swf shared library.
In this form, I have a clip that uses the v2 component TextInput. This clip is masked at runtime. Then here comes the problem, when I show this clip, the user just can´t type into the TextInput as there´s no font embedded there. I already tried setting this way on the onLoad method of this clip:
(...) textfield1.setStyle('font','mysharedfont1');
textfield1.embedFonts = true (...)
But it didn´t work... what could be wrong? Maybe I´m doing something wrong with shared fonts and AS isn´t having access to the shared font linkage name?
Thanks for the help!
- Marcelo.
On 5/22/06, Marcelo de Moraes Serpa <[EMAIL PROTECTED]
> wrote:
Muzak: ok...
Robert: Flash 8, dynamic mask...
- Marcelo.On 5/22/06, Muzak < [EMAIL PROTECTED] > wrote:Please don't cross-post.
thx,
Muzak
----- Original Message -----
From: "Marcelo de Moraes Serpa" <[EMAIL PROTECTED]>
To: < [email protected]>; "Flashcoders mailing list" < [email protected]>
Sent: Monday, May 22, 2006 5:24 AM
Subject: [osflash] TextInput/TextField shown through mask don´t show any text
Well... the subject says it all.. I tried setting the embedFonts property
but nothing. I´m using sharedfonts but all the textfield fonts are set
through the flash ide and not through AS. Also, I´ve put the so called
"SharePoint" movieclip in the first frame of the swf and tried setting the
font of this textinput through AS, but again, nothing! I´m confused.. could
anyone give me a hand on this issue!?
Thanks in advance,
Marcelo._______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org
_______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
