Hi,

These 2 articles were a great help for Embedding - CSS vs AS seemed to be slightly different and caused me headaches before I cracked it.

   http://www.connectedpixel.com/blog/fonts/embedding

   http://www.connectedpixel.com/blog/fonts/cssembedding

http://web.archive.org/web/20030205231143/http://www.waxpraxis.org/archives/000062.html

I also uploaded an example I got working from these tut's that loads a SWF with shared fonts and applies CSS to a text field with loaded HTML text.

I included the fonts in there too so you can install these and see it working, then play. http://glenpike.co.uk/misc/css_styling_shared_fonts.zip

Tips - make sure font names with spaces are enclosed in quotes in your CSS - "Benjamin Gothic" Use the "system names" for fonts in your CSS you can still name your font symbols differently. Loading order for this example IS important - check out frame 1 - Actions layer in "demo_from_scratch.fla"
   Read the "html_text_demo.txt" file for some more info.

   HTH

   Glen

Ian Thomas wrote:
Also note it doesn't need to be offstage (i.e. on the main timeline). It can
be inside a clip in the library, as long as the clip is set to export on
first frame.
HTH,
  Ian

On Mon, Sep 8, 2008 at 2:55 AM, Muzak <[EMAIL PROTECTED]> wrote:

With an off-stage textfield you can (and should) set a range of characters
to include, thus reducing filesize. Something which is not possible with
library fonts.

regards,
Muzak

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



--

Glen Pike
01326 218440
www.glenpike.co.uk <http://www.glenpike.co.uk>

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to