Re: [Flashcoders] How to Embed Fonts for CSS Usage

2006-12-06 Thread Marc Hoffman
Thanks, Jim. I appreciate your help. Your post makes sense to me and I'll play with modifying the styleSheet object. If anyone has examples of this, it would probably save me a couple of hours experimenting. Thanks all, Marc At 11:24 AM 12/6/2006, you wrote: You can do this. I don't have

Re: [Flashcoders] How to Embed Fonts for CSS Usage

2006-12-06 Thread Jim Kremens
You can do this. I don't have time to do even pseudocode, but Once you've loaded a sylesheet from a file, you can modify it. Therefore, you can build a function to: 1. Modify a property of your styleSheet object. 2. Broadcast notification that it has been modified to all interested text f

Re: [Flashcoders] How to Embed Fonts for CSS Usage

2006-12-06 Thread Marc Hoffman
Well, one question leads to another :) First, thank you Jim -- I had avoided "embedFonts" thinking it would embed the entire character set, but according to the Size Report it embeds only those characters I embed in the dummy text fields. So now it's working fine. And now my next question: I

Re: [Flashcoders] How to Embed Fonts for CSS Usage

2006-12-06 Thread Jim Kremens
Just checking for gotchas... Are you loading text into a textfield on the stage, or creating the field dynamically? Either way, set myTextField.embedFonts = true; if you haven't already... Jim Kremens On 12/6/06, Marc Hoffman <[EMAIL PROTECTED]> wrote: I am having trouble getting Flash to emb

[Flashcoders] How to Embed Fonts for CSS Usage

2006-12-06 Thread Marc Hoffman
I am having trouble getting Flash to embed a font that is designated by CSS. In Flash: - I create a textfield, create a loadVars and a StyleSheet, load the CSS into the StyleSheet, and designate the style sheet as the style for the text field. I then load text into the textfield (currently usi