Try adding:
mytext.embedFonts = true;
Also, put an empty dynamic textfield (offstage), select the font
"mysilkscreen" and embed the characters you need.
Should do it.
On 4/5/07 3:52 PM, "edward" <[EMAIL PROTECTED]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> well, I have simplified everything. My only two little issues now
> are:
>
> 1. my mouseover does not work to change the text's color.
>
> 2. i imported silkscreen bitmap font size 8 linkage for first
> frame, and linked for actionscript. i named it mysilkscreen.
> however, when i execute the movie, no errors but the font is just a
> generic serif font now, any ideas? its tough when flash gives me no
> errors.
>
>
> here is the code:
>
>
> _root.myRed = 0xFF0000;
> _root.myLightGray = 0x999999;
> _root.myDarkGray = 0x353535;
>
> _root.createTextField("mytext",1,100,100,300,100);
> mytext.multiline = true;
> mytext.wordWrap = true;
> mytext.border = false;
>
> menuFonts_Fmt = new TextFormat();
> with(menuFonts_Fmt) {
> color = myLightGray;
> bullet = false;
> underline = false;
> font="mysilkscreen";
> size = 8;
> }
>
> mytext.text = "Writing";
> mytext.setTextFormat(menuFonts_Fmt);
>
> //--------
>
> _root.mytext.onRollOver = function() {
> _root.mytext.textColor = myDarkGray;
> }
> -----BEGIN PGP SIGNATURE-----
> Note: This signature can be verified at https://www.hushtools.com/verify
> Version: Hush 2.5
>
> wpwEAQECAAYFAkYVUz8ACgkQnK42HzOJXBc6SgP/WvdRkiCt743MiFk0LaHo5WZtYaaS
> FUU7Kw6PDtMghjL2gHkfN1wjU4tLYKS3af8G0fuzj+IwoEzjWs7RN0T9yT52f7+aDaWZ
> eztH6YtosIKbijf0yNUT1SP10OcLoHfw2CbLcTq0ZAo7kLI8Lbltve6M0pAGDZ4fRW5N
> Oole38w=
> =w8ob
> -----END PGP SIGNATURE-----
>
> --
> Click for free info on online doctorate degrees and make $250k/ year
> http://tagline.hushmail.com/fc/CAaCXv1ZYZ9Qs1mam0nqgyWB4wpiriIq/
>
>
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com