Keith,
Thanks, but this didn't work. Since we will always be doing our final
compile on a mac and embedding takes place at compile time checking the
version of the machine wouldn't really make a difference. I think we may
just end up building our own combo box.
-Chip
Keith Reinfeld wrote:
Chip,
Try this:
// check the Flash Player version
trace(System.capabilities.version);
var OS:String = System.capabilities.version.substring(0,3);
trace("OS = "+OS);
if(OS == "WIN"){
trace("Windows");
myCombobox.setStyle("embedFonts", true);
}
if(OS == "MAC"){
trace("MAC");
myCombobox.setStyle("embedFonts", "true");
}
if(OS == "UNI"){
trace("UNI");
myCombobox.setStyle("embedFonts", true);// OR WHATEVER WORKS HERE
}
>From LiveDocs:
The format of the version number is: "platform majorVersion, minorVersion,
buildNumber, internalBuildNumber". Possible values for platform are "WIN",
"MAC", and "UNIX". Some examples:
WIN 8,0,22,0
MAC 7,0,25,0
UNIX 5,0,55,0
Please see the following technote for more information:
http://www.macromedia.com/go/tn_14294
HTH
-Keith
http://keithreinfeld.home.comcast.net
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chip Moeser
Sent: Tuesday, January 23, 2007 12:51 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Combobox embed fonts PC/Mac problem
We are having an cross platform issue when trying to embed fonts using
the combobox and set style.
When we publish on a mac with:
myCombobox.setStyle("embedFonts", "true");
the fonts show up embedded on a mac but not a pc.
When we publish with (minus quotes around true):
myCombobox.setStyle("embedFonts", true);
The fonts show up embedded on the pc but not the mac.
Have also tried using both lines, the later always cancels out the
previous. Has anyone run into this issue before?
Thanks!
-Chip
_______________________________________________
[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
_______________________________________________
[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