Re: [Flashcoders] Problem embedding and using a font variant
Slate Pro (light,book,bold) is one. Driving me nutz right now. ;) on 4/11/11 1:56 PM, Merrill, Jason at jason.merr...@bankofamerica.com wrote: > I have found every now and then certain fonts don't play well with Flash and > there isn't much you can do if they don't work. There are a few fonts I have > which simply don't embed, and the failure is silent. John R. Sweeney Jr. Interactive Multimedia Developer OnDemand Interactive Inc 945 Washington Blvd. Hoffman Estates, IL 60169 Office/Fax: 847.310.5959 Cellular: 847.651.4469 www.ondemandinteractive.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Problem embedding and using a font variant
>> To support otf, it is necessary to tell the compiler the a certain font >> manager is to use. >> That's not all, you need to compile with the Free SDK not the Open Source >> SDK. >>The reason is, that the AFEFontManager is not open source and not included >>into the Open Source SDK. Woah, good to know! Jason Merrill Instructional Technology Architect Bank of America Global Learning ___ -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Jens Struwe Sent: Tuesday, April 12, 2011 2:39 AM To: Flash Coders List Subject: Re: [Flashcoders] Problem embedding and using a font variant Don't ask me for details, but just a week ago I got this running. [Embed(source="myfont.otf", fontFamily="myfont", mimeType="application/x-font-opentype")] public var MyFont : Class; To support otf, it is necessary to tell the compiler the a certain font manager is to use. I put it into my build.xml, but its easy to find the according command line option in the docs. ... That's not all, you need to compile with the Free SDK not the Open Source SDK. The reason is, that the AFEFontManager is not open source and not included into the Open Source SDK. Took me a while to find it out. Best, Jens Am 12.04.2011 08:04, schrieb Merrill, Jason: > Also, what is the font extension? I have found fonts with an .otf extension > (like MyriadPro-Regular.otf) don't seem to embed with code. TTF fonts work > for me though, could that be the issue? Also, in Flex (can't recall in the > Flash framework off the top of my head), when you embed fonts, there is an > option to embedAsCFF - if something like that is available, try toggling true > or false, sometimes that makes a difference. Lastly, if your font is otf or > something non-TTF, there are some Myriad fonts for free out there that have > the .ttf extension, you could try downloading one of those instead. > > Jason Merrill > Instructional Technology Architect > Bank of America Global Learning > > > > > > ___ > > > -Original Message- > From: flashcoders-boun...@chattyfig.figleaf.com > [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of > Merrill, Jason > Sent: Monday, April 11, 2011 3:11 PM > To: Flash Coders List > Subject: RE: [Flashcoders] Problem embedding and using a font variant > >>> Well, the textField as library symbol will work fine - > > I believe the font embedding works differently with library symbols, but I > could be wrong. > > Jason Merrill > Instructional Technology Architect > Bank of America Global Learning > > > > > > ___ > > > -Original Message- > From: flashcoders-boun...@chattyfig.figleaf.com > [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Matt > Perkins > Sent: Monday, April 11, 2011 3:04 PM > To: Flash Coders List > Subject: Re: [Flashcoders] Problem embedding and using a font variant > > Well, the textField as library symbol will work fine - I tested that, but > would rather keep it pure AS. > > > On Mon, Apr 11, 2011 at 2:56 PM, Merrill, Jason< > jason.merr...@bankofamerica.com> wrote: > >> I have found every now and then certain fonts don't play well with >> Flash and there isn't much you can do if they don't work. There are >> a few fonts I have which simply don't embed, and the failure is silent. >> >> Jason Merrill >> Instructional Technology Architect >> Bank of America Global Learning >> >> >> >> >> >> ___ >> >> >> -Original Message- >> From: flashcoders-boun...@chattyfig.figleaf.com [mailto: >> flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Matt Perkins >> Sent: Monday, April 11, 2011 2:25 PM >> To: Flash Coders List >> Subject: [Flashcoders] Problem embedding and using a font variant >> >> I'm using Myriad Pro for regular (non TLF) dynamic text fields in my >> project and it's working fine. Now the client wants to use "Myriad >> Pro Condensed Bold" for titles and I cannot get it to show up. I >> can't get just "Myriad Pro Condensed" to show either. I don't have >> any problems with "Myriad Pro" - I think the "condensed" >> variant/style is causing issues. I've checked over and over that I have it >> embedded properly. >> >> Looks like "Condensed Bold" is trea
Re: [Flashcoders] Problem embedding and using a font variant
Thanks Glen! That did it! I was named "Myriad Pro Cond" This is the little snip of Actionscript that I used: http://snipplr.com/view/15835/list-registered-font-files/ And, Jason, it is an OTF font. Matt On Tue, Apr 12, 2011 at 7:18 AM, Glen Pike wrote: > Have you tried "enumerating" your embedded fonts to see what name Flash > gives it? > > If you embed just your Myriad Pro Condensed into a document and add the > actionscript to list out the font name, etc. > > > http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=as3+enumerate+font > > You might find the system gives it a different name? > > Glen > > > On 11/04/2011 19:24, Matt Perkins wrote: > >> I'm using Myriad Pro for regular (non TLF) dynamic text fields in my >> project >> and it's working fine. Now the client wants to use "Myriad Pro Condensed >> Bold" for titles and I cannot get it to show up. I can't get just "Myriad >> Pro Condensed" to show either. I don't have any problems with "Myriad Pro" >> - >> I think the "condensed" variant/style is causing issues. I've checked over >> and over that I have it embedded properly. >> >> Looks like "Condensed Bold" is treated as a style like "bold" but there's >> no >> way to set a style on a text format object. >> >> I even tried setting the font style via html in the text content: >> textfild.htmlText = ""+mytext+""; >> Didn't work. >> >> Any tips for using font variants like this? I'd rather keep doing it >> dynamically like this and not have to create a textfield symbol in the >> library to use (which would work). Also, this is an AS3/CS5 project. >> >> The TLF TextLayoutFormat has a font style property, but not sure if it >> would >> work - but the last time I tried to use TLF my FLA wouldn't compile >> because >> of some error with my assets SWC and the TLF SWC. So I'd rather not go >> there. >> >> Maybe I can fake it by tweaking the scaleX property. >> >> Thanks, >> Matt >> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> >> > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Problem embedding and using a font variant
Have you tried "enumerating" your embedded fonts to see what name Flash gives it? If you embed just your Myriad Pro Condensed into a document and add the actionscript to list out the font name, etc. http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=as3+enumerate+font You might find the system gives it a different name? Glen On 11/04/2011 19:24, Matt Perkins wrote: I'm using Myriad Pro for regular (non TLF) dynamic text fields in my project and it's working fine. Now the client wants to use "Myriad Pro Condensed Bold" for titles and I cannot get it to show up. I can't get just "Myriad Pro Condensed" to show either. I don't have any problems with "Myriad Pro" - I think the "condensed" variant/style is causing issues. I've checked over and over that I have it embedded properly. Looks like "Condensed Bold" is treated as a style like "bold" but there's no way to set a style on a text format object. I even tried setting the font style via html in the text content: textfild.htmlText = ""+mytext+""; Didn't work. Any tips for using font variants like this? I'd rather keep doing it dynamically like this and not have to create a textfield symbol in the library to use (which would work). Also, this is an AS3/CS5 project. The TLF TextLayoutFormat has a font style property, but not sure if it would work - but the last time I tried to use TLF my FLA wouldn't compile because of some error with my assets SWC and the TLF SWC. So I'd rather not go there. Maybe I can fake it by tweaking the scaleX property. Thanks, Matt ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Problem embedding and using a font variant
Don't ask me for details, but just a week ago I got this running. [Embed(source="myfont.otf", fontFamily="myfont", mimeType="application/x-font-opentype")] public var MyFont : Class; To support otf, it is necessary to tell the compiler the a certain font manager is to use. I put it into my build.xml, but its easy to find the according command line option in the docs. ... That's not all, you need to compile with the Free SDK not the Open Source SDK. The reason is, that the AFEFontManager is not open source and not included into the Open Source SDK. Took me a while to find it out. Best, Jens Am 12.04.2011 08:04, schrieb Merrill, Jason: Also, what is the font extension? I have found fonts with an .otf extension (like MyriadPro-Regular.otf) don't seem to embed with code. TTF fonts work for me though, could that be the issue? Also, in Flex (can't recall in the Flash framework off the top of my head), when you embed fonts, there is an option to embedAsCFF - if something like that is available, try toggling true or false, sometimes that makes a difference. Lastly, if your font is otf or something non-TTF, there are some Myriad fonts for free out there that have the .ttf extension, you could try downloading one of those instead. Jason Merrill Instructional Technology Architect Bank of America Global Learning ___ -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason Sent: Monday, April 11, 2011 3:11 PM To: Flash Coders List Subject: RE: [Flashcoders] Problem embedding and using a font variant Well, the textField as library symbol will work fine - I believe the font embedding works differently with library symbols, but I could be wrong. Jason Merrill Instructional Technology Architect Bank of America Global Learning ___ -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Matt Perkins Sent: Monday, April 11, 2011 3:04 PM To: Flash Coders List Subject: Re: [Flashcoders] Problem embedding and using a font variant Well, the textField as library symbol will work fine - I tested that, but would rather keep it pure AS. On Mon, Apr 11, 2011 at 2:56 PM, Merrill, Jason< jason.merr...@bankofamerica.com> wrote: I have found every now and then certain fonts don't play well with Flash and there isn't much you can do if they don't work. There are a few fonts I have which simply don't embed, and the failure is silent. Jason Merrill Instructional Technology Architect Bank of America Global Learning ___ -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto: flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Matt Perkins Sent: Monday, April 11, 2011 2:25 PM To: Flash Coders List Subject: [Flashcoders] Problem embedding and using a font variant I'm using Myriad Pro for regular (non TLF) dynamic text fields in my project and it's working fine. Now the client wants to use "Myriad Pro Condensed Bold" for titles and I cannot get it to show up. I can't get just "Myriad Pro Condensed" to show either. I don't have any problems with "Myriad Pro" - I think the "condensed" variant/style is causing issues. I've checked over and over that I have it embedded properly. Looks like "Condensed Bold" is treated as a style like "bold" but there's no way to set a style on a text format object. I even tried setting the font style via html in the text content: textfild.htmlText = ""+mytext+""; Didn't work. Any tips for using font variants like this? I'd rather keep doing it dynamically like this and not have to create a textfield symbol in the library to use (which would work). Also, this is an AS3/CS5 project. The TLF TextLayoutFormat has a font style property, but not sure if it would work - but the last time I tried to use TLF my FLA wouldn't compile because of some error with my assets SWC and the TLF SWC. So I'd rather not go there. Maybe I can fake it by tweaking the scaleX property. Thanks, Matt ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and b
RE: [Flashcoders] Problem embedding and using a font variant
Also, what is the font extension? I have found fonts with an .otf extension (like MyriadPro-Regular.otf) don't seem to embed with code. TTF fonts work for me though, could that be the issue? Also, in Flex (can't recall in the Flash framework off the top of my head), when you embed fonts, there is an option to embedAsCFF - if something like that is available, try toggling true or false, sometimes that makes a difference. Lastly, if your font is otf or something non-TTF, there are some Myriad fonts for free out there that have the .ttf extension, you could try downloading one of those instead. Jason Merrill Instructional Technology Architect Bank of America Global Learning ___ -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason Sent: Monday, April 11, 2011 3:11 PM To: Flash Coders List Subject: RE: [Flashcoders] Problem embedding and using a font variant >> Well, the textField as library symbol will work fine - I believe the font embedding works differently with library symbols, but I could be wrong. Jason Merrill Instructional Technology Architect Bank of America Global Learning ___ -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Matt Perkins Sent: Monday, April 11, 2011 3:04 PM To: Flash Coders List Subject: Re: [Flashcoders] Problem embedding and using a font variant Well, the textField as library symbol will work fine - I tested that, but would rather keep it pure AS. On Mon, Apr 11, 2011 at 2:56 PM, Merrill, Jason < jason.merr...@bankofamerica.com> wrote: > I have found every now and then certain fonts don't play well with > Flash and there isn't much you can do if they don't work. There are a > few fonts I have which simply don't embed, and the failure is silent. > > Jason Merrill > Instructional Technology Architect > Bank of America Global Learning > > > > > > ___ > > > -Original Message- > From: flashcoders-boun...@chattyfig.figleaf.com [mailto: > flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Matt Perkins > Sent: Monday, April 11, 2011 2:25 PM > To: Flash Coders List > Subject: [Flashcoders] Problem embedding and using a font variant > > I'm using Myriad Pro for regular (non TLF) dynamic text fields in my > project and it's working fine. Now the client wants to use "Myriad Pro > Condensed Bold" for titles and I cannot get it to show up. I can't get > just "Myriad Pro Condensed" to show either. I don't have any problems > with "Myriad Pro" - I think the "condensed" variant/style is causing > issues. I've checked over and over that I have it embedded properly. > > Looks like "Condensed Bold" is treated as a style like "bold" but > there's no way to set a style on a text format object. > > I even tried setting the font style via html in the text content: > textfild.htmlText = ""+mytext+""; Didn't work. > > Any tips for using font variants like this? I'd rather keep doing it > dynamically like this and not have to create a textfield symbol in the > library to use (which would work). Also, this is an AS3/CS5 project. > > The TLF TextLayoutFormat has a font style property, but not sure if it > would work - but the last time I tried to use TLF my FLA wouldn't > compile because of some error with my assets SWC and the TLF SWC. So > I'd rather not go there. > > Maybe I can fake it by tweaking the scaleX property. > > Thanks, > Matt > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > -- > This message w/attachments (message) is intended solely for the use of > the intended recipient(s) and may contain information that is > privileged, confidential or proprietary. If you are not an intended > recipient, please notify the sender, and then please delete and > destroy all copies and attachments, and be advised that any review or > dissemination of, or the taking of any action in reliance on, the > information contained in or attached to this message is prohibited. > Unless specifically indicated, this message is not an offer to sell or > a solicitation of any investment products or other financial product > or service, an official confirmation of any transaction, or an > official statement of Sender. Subject to a
RE: [Flashcoders] Problem embedding and using a font variant
>> Well, the textField as library symbol will work fine - I believe the font embedding works differently with library symbols, but I could be wrong. Jason Merrill Instructional Technology Architect Bank of America Global Learning ___ -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Matt Perkins Sent: Monday, April 11, 2011 3:04 PM To: Flash Coders List Subject: Re: [Flashcoders] Problem embedding and using a font variant Well, the textField as library symbol will work fine - I tested that, but would rather keep it pure AS. On Mon, Apr 11, 2011 at 2:56 PM, Merrill, Jason < jason.merr...@bankofamerica.com> wrote: > I have found every now and then certain fonts don't play well with > Flash and there isn't much you can do if they don't work. There are a > few fonts I have which simply don't embed, and the failure is silent. > > Jason Merrill > Instructional Technology Architect > Bank of America Global Learning > > > > > > ___ > > > -Original Message- > From: flashcoders-boun...@chattyfig.figleaf.com [mailto: > flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Matt Perkins > Sent: Monday, April 11, 2011 2:25 PM > To: Flash Coders List > Subject: [Flashcoders] Problem embedding and using a font variant > > I'm using Myriad Pro for regular (non TLF) dynamic text fields in my > project and it's working fine. Now the client wants to use "Myriad Pro > Condensed Bold" for titles and I cannot get it to show up. I can't get > just "Myriad Pro Condensed" to show either. I don't have any problems > with "Myriad Pro" - I think the "condensed" variant/style is causing > issues. I've checked over and over that I have it embedded properly. > > Looks like "Condensed Bold" is treated as a style like "bold" but > there's no way to set a style on a text format object. > > I even tried setting the font style via html in the text content: > textfild.htmlText = ""+mytext+""; Didn't work. > > Any tips for using font variants like this? I'd rather keep doing it > dynamically like this and not have to create a textfield symbol in the > library to use (which would work). Also, this is an AS3/CS5 project. > > The TLF TextLayoutFormat has a font style property, but not sure if it > would work - but the last time I tried to use TLF my FLA wouldn't > compile because of some error with my assets SWC and the TLF SWC. So > I'd rather not go there. > > Maybe I can fake it by tweaking the scaleX property. > > Thanks, > Matt > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > -- > This message w/attachments (message) is intended solely for the use of > the intended recipient(s) and may contain information that is > privileged, confidential or proprietary. If you are not an intended > recipient, please notify the sender, and then please delete and > destroy all copies and attachments, and be advised that any review or > dissemination of, or the taking of any action in reliance on, the > information contained in or attached to this message is prohibited. > Unless specifically indicated, this message is not an offer to sell or > a solicitation of any investment products or other financial product > or service, an official confirmation of any transaction, or an > official statement of Sender. Subject to applicable law, Sender may > intercept, monitor, review and retain e-communications (EC) traveling > through its networks/systems and may produce any such EC to > regulators, law enforcement, in litigation and as required by law. > The laws of the country of each sender/recipient may impact the > handling of EC, and EC may be archived, supervised and produced in > countries other than the country in which you are located. This > message cannot be guaranteed to be secure or free of errors or viruses. > > References to "Sender" are references to any subsidiary of Bank of > America Corporation. Securities and Insurance Products: * Are Not FDIC > Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank > Deposit * Are Not a Condition to Any Banking Service or Activity * Are > Not Insured by Any Federal Government Agency. Attachments that are > part of this EC may have additional important disclosures and disclaimers, > which you should read. >
Re: [Flashcoders] Problem embedding and using a font variant
Well, the textField as library symbol will work fine - I tested that, but would rather keep it pure AS. On Mon, Apr 11, 2011 at 2:56 PM, Merrill, Jason < jason.merr...@bankofamerica.com> wrote: > I have found every now and then certain fonts don't play well with Flash > and there isn't much you can do if they don't work. There are a few fonts I > have which simply don't embed, and the failure is silent. > > Jason Merrill > Instructional Technology Architect > Bank of America Global Learning > > > > > > ___ > > > -Original Message- > From: flashcoders-boun...@chattyfig.figleaf.com [mailto: > flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Matt Perkins > Sent: Monday, April 11, 2011 2:25 PM > To: Flash Coders List > Subject: [Flashcoders] Problem embedding and using a font variant > > I'm using Myriad Pro for regular (non TLF) dynamic text fields in my > project and it's working fine. Now the client wants to use "Myriad Pro > Condensed Bold" for titles and I cannot get it to show up. I can't get just > "Myriad Pro Condensed" to show either. I don't have any problems with > "Myriad Pro" - I think the "condensed" variant/style is causing issues. I've > checked over and over that I have it embedded properly. > > Looks like "Condensed Bold" is treated as a style like "bold" but there's > no way to set a style on a text format object. > > I even tried setting the font style via html in the text content: > textfild.htmlText = ""+mytext+""; > Didn't work. > > Any tips for using font variants like this? I'd rather keep doing it > dynamically like this and not have to create a textfield symbol in the > library to use (which would work). Also, this is an AS3/CS5 project. > > The TLF TextLayoutFormat has a font style property, but not sure if it > would work - but the last time I tried to use TLF my FLA wouldn't compile > because of some error with my assets SWC and the TLF SWC. So I'd rather not > go there. > > Maybe I can fake it by tweaking the scaleX property. > > Thanks, > Matt > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > -- > This message w/attachments (message) is intended solely for the use of the > intended recipient(s) and may contain information that is privileged, > confidential or proprietary. If you are not an intended recipient, please > notify the sender, and then please delete and destroy all copies and > attachments, and be advised that any review or dissemination of, or the > taking of any action in reliance on, the information contained in or > attached to this message is prohibited. > Unless specifically indicated, this message is not an offer to sell or a > solicitation of any investment products or other financial product or > service, an official confirmation of any transaction, or an official > statement of Sender. Subject to applicable law, Sender may intercept, > monitor, review and retain e-communications (EC) traveling through its > networks/systems and may produce any such EC to regulators, law enforcement, > in litigation and as required by law. > The laws of the country of each sender/recipient may impact the handling of > EC, and EC may be archived, supervised and produced in countries other than > the country in which you are located. This message cannot be guaranteed to > be secure or free of errors or viruses. > > References to "Sender" are references to any subsidiary of Bank of America > Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are > Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a > Condition to Any Banking Service or Activity * Are Not Insured by Any > Federal Government Agency. Attachments that are part of this EC may have > additional important disclosures and disclaimers, which you should read. > This message is subject to terms available at the following link: > http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you > consent to the foregoing. > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Problem embedding and using a font variant
Nah, I'm on Windows 7. I've seen the mess with 10.6.7 - glad I'm not on a Mac now! On Mon, Apr 11, 2011 at 2:54 PM, Andrew Sinning wrote: > Are you on a Mac? Apple did an update about 10 days ago that broke > embedded fonts. > > If this is the cause of your woes, you'll need to roll back to 10.6.6, > which is huge PITA. > > To roll back you need to first re-install the version of 10.6.x > shipped with your machine, and then install the 10.6.6 update. > > See: http://kb2.adobe.com/cps/896/cpsid_89637.html > > One other thing to note: If you use AS to overwrite the text in a TF, > you have to use something like the following or you will lose Bold and > Italics: > >tf.setNewTextFormat(tf.getTextFormat()); > > > > On Mon, Apr 11, 2011 at 1:24 PM, Matt Perkins > wrote: > > I'm using Myriad Pro for regular (non TLF) dynamic text fields in my > project > > and it's working fine. Now the client wants to use "Myriad Pro Condensed > > Bold" for titles and I cannot get it to show up. I can't get just "Myriad > > Pro Condensed" to show either. I don't have any problems with "Myriad > Pro" - > > I think the "condensed" variant/style is causing issues. I've checked > over > > and over that I have it embedded properly. > > > > Looks like "Condensed Bold" is treated as a style like "bold" but there's > no > > way to set a style on a text format object. > > > > I even tried setting the font style via html in the text content: > > textfild.htmlText = ""+mytext+""; > > Didn't work. > > > > Any tips for using font variants like this? I'd rather keep doing it > > dynamically like this and not have to create a textfield symbol in the > > library to use (which would work). Also, this is an AS3/CS5 project. > > > > The TLF TextLayoutFormat has a font style property, but not sure if it > would > > work - but the last time I tried to use TLF my FLA wouldn't compile > because > > of some error with my assets SWC and the TLF SWC. So I'd rather not go > > there. > > > > Maybe I can fake it by tweaking the scaleX property. > > > > Thanks, > > Matt > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > -- > Andrew Sinning > LearningWare Engineer > Desk: 651-289-7373 > Cell: 612-296-3646 > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Problem embedding and using a font variant
I have found every now and then certain fonts don't play well with Flash and there isn't much you can do if they don't work. There are a few fonts I have which simply don't embed, and the failure is silent. Jason Merrill Instructional Technology Architect Bank of America Global Learning ___ -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Matt Perkins Sent: Monday, April 11, 2011 2:25 PM To: Flash Coders List Subject: [Flashcoders] Problem embedding and using a font variant I'm using Myriad Pro for regular (non TLF) dynamic text fields in my project and it's working fine. Now the client wants to use "Myriad Pro Condensed Bold" for titles and I cannot get it to show up. I can't get just "Myriad Pro Condensed" to show either. I don't have any problems with "Myriad Pro" - I think the "condensed" variant/style is causing issues. I've checked over and over that I have it embedded properly. Looks like "Condensed Bold" is treated as a style like "bold" but there's no way to set a style on a text format object. I even tried setting the font style via html in the text content: textfild.htmlText = ""+mytext+""; Didn't work. Any tips for using font variants like this? I'd rather keep doing it dynamically like this and not have to create a textfield symbol in the library to use (which would work). Also, this is an AS3/CS5 project. The TLF TextLayoutFormat has a font style property, but not sure if it would work - but the last time I tried to use TLF my FLA wouldn't compile because of some error with my assets SWC and the TLF SWC. So I'd rather not go there. Maybe I can fake it by tweaking the scaleX property. Thanks, Matt ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or free of errors or viruses. References to "Sender" are references to any subsidiary of Bank of America Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this EC may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link: http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you consent to the foregoing. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Problem embedding and using a font variant
Are you on a Mac? Apple did an update about 10 days ago that broke embedded fonts. If this is the cause of your woes, you'll need to roll back to 10.6.6, which is huge PITA. To roll back you need to first re-install the version of 10.6.x shipped with your machine, and then install the 10.6.6 update. See: http://kb2.adobe.com/cps/896/cpsid_89637.html One other thing to note: If you use AS to overwrite the text in a TF, you have to use something like the following or you will lose Bold and Italics: tf.setNewTextFormat(tf.getTextFormat()); On Mon, Apr 11, 2011 at 1:24 PM, Matt Perkins wrote: > I'm using Myriad Pro for regular (non TLF) dynamic text fields in my project > and it's working fine. Now the client wants to use "Myriad Pro Condensed > Bold" for titles and I cannot get it to show up. I can't get just "Myriad > Pro Condensed" to show either. I don't have any problems with "Myriad Pro" - > I think the "condensed" variant/style is causing issues. I've checked over > and over that I have it embedded properly. > > Looks like "Condensed Bold" is treated as a style like "bold" but there's no > way to set a style on a text format object. > > I even tried setting the font style via html in the text content: > textfild.htmlText = ""+mytext+""; > Didn't work. > > Any tips for using font variants like this? I'd rather keep doing it > dynamically like this and not have to create a textfield symbol in the > library to use (which would work). Also, this is an AS3/CS5 project. > > The TLF TextLayoutFormat has a font style property, but not sure if it would > work - but the last time I tried to use TLF my FLA wouldn't compile because > of some error with my assets SWC and the TLF SWC. So I'd rather not go > there. > > Maybe I can fake it by tweaking the scaleX property. > > Thanks, > Matt > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Andrew Sinning LearningWare Engineer Desk: 651-289-7373 Cell: 612-296-3646 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Problem embedding and using a font variant
I'm using Myriad Pro for regular (non TLF) dynamic text fields in my project and it's working fine. Now the client wants to use "Myriad Pro Condensed Bold" for titles and I cannot get it to show up. I can't get just "Myriad Pro Condensed" to show either. I don't have any problems with "Myriad Pro" - I think the "condensed" variant/style is causing issues. I've checked over and over that I have it embedded properly. Looks like "Condensed Bold" is treated as a style like "bold" but there's no way to set a style on a text format object. I even tried setting the font style via html in the text content: textfild.htmlText = ""+mytext+""; Didn't work. Any tips for using font variants like this? I'd rather keep doing it dynamically like this and not have to create a textfield symbol in the library to use (which would work). Also, this is an AS3/CS5 project. The TLF TextLayoutFormat has a font style property, but not sure if it would work - but the last time I tried to use TLF my FLA wouldn't compile because of some error with my assets SWC and the TLF SWC. So I'd rather not go there. Maybe I can fake it by tweaking the scaleX property. Thanks, Matt ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders