Re: [Flashcoders] Combobox embed fonts PC/Mac problem
Still no go. But thanks. Just going to build our own combo box now. Delfi Ramirez wrote: Try ordinary marks. I mean not () but (') Delfí Ramírez i Ruiz http://segonquart.blogspot.com ___ Copy addresses and emails from any email account to Yahoo! Mail - quick, easy and free. http://uk.docs.yahoo.com/trueswitch2.html ___ Flashcoders@chattyfig.figleaf.com 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 ___ Flashcoders@chattyfig.figleaf.com 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
[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 ___ Flashcoders@chattyfig.figleaf.com 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
Re: [Flashcoders] Combobox embed fonts PC/Mac problem
Thanks but no go:( Brandon Barkley wrote: You might try: myComboBox.embedFonts = true; Chip Moeser wrote: 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 ___ Flashcoders@chattyfig.figleaf.com 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 ___ Flashcoders@chattyfig.figleaf.com 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 ___ Flashcoders@chattyfig.figleaf.com 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
Re: [Flashcoders] Combobox embed fonts PC/Mac problem
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 ___ Flashcoders@chattyfig.figleaf.com 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 ___ Flashcoders@chattyfig.figleaf.com 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 ___ Flashcoders@chattyfig.figleaf.com 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
Re: [Flashcoders] Combobox embed fonts PC/Mac problem
Thanks. Seems to me this should work, but it didn't. James Dean wrote: i've not used setStyle with a combo box... but i have had some experience with embedding fonts. I'm not saying this is the best practice, but it is one that has worked for me in the past. remove the embedFonts line. somewhere on the stage create a dynamic text field, set to the font you want. embed the glyphs you want, and use that font for the combobox. On 1/23/07, Chip Moeser [EMAIL PROTECTED] wrote: 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 ___ Flashcoders@chattyfig.figleaf.com 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 ___ Flashcoders@chattyfig.figleaf.com 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 ___ Flashcoders@chattyfig.figleaf.com 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 ___ Flashcoders@chattyfig.figleaf.com 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 ___ Flashcoders@chattyfig.figleaf.com 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
[Flashcoders] XPath
Does anyone know where I can samples using these (http:// www.xfactorstudio.com/) xpath classes? Thanks! -Chip ___ Flashcoders@chattyfig.figleaf.com 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
Re: [Flashcoders] RE: LoadVars to XML object
Thanks Jack! On Oct 17, 2006, at 6:28 PM, Jack Doyle wrote: This may be overkill, but feel free to use the XMLParser class I wrote which handles a bunch of stuff related to getting XML into and out of Flash without all the headaches. For example, you can: - Throw any object at the objectToXML() function and it'll translate it into XML. - Use the load() function to load any XML document, parse it into intuitive ActionScript-friendly objects/arrays, and call a function of your choice when it's finished. - Use the sendAndLoad() function to (you'll never guess...) send an object or XML to a server-side script and get the results, parsing them into ActionScript-friendly objects/arrays and calling a function of your choice when it's finished. Download the class and a simple example at: http://www.greensock.com/ActionScript/XMLParser.zip Hope it's helpful. Jack Doyle -Original Message- Date: Tue, 17 Oct 2006 12:16:51 -0400 From: Chip Moeser [EMAIL PROTECTED] Subject: [Flashcoders] LoadVars to XML object Hello All, I am trying to convert the return string of a loadvars to an XML object. Does anyone know a simple way of doing this? Thanks! ___ Flashcoders@chattyfig.figleaf.com 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 ___ Flashcoders@chattyfig.figleaf.com 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
[Flashcoders] LoadVars to XML object
Hello All, I am trying to convert the return string of a loadvars to an XML object. Does anyone know a simple way of doing this? Thanks! ___ Flashcoders@chattyfig.figleaf.com 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
Re: [Flashcoders] LoadVars to XML object
Thanks! On Oct 17, 2006, at 12:26 PM, Cedric Muller wrote: var xml:XML = new XML(); xml.ignoreWhite = true; xml.onLoad = function () { trace(this); } var lv:LoadVars = new LoadVars(); lv.sendParam1 = bla; lv.sendParam2 = blo; lv.sendAndLoad(url, xml, POST); hth, cedric Hello All, I am trying to convert the return string of a loadvars to an XML object. Does anyone know a simple way of doing this? Thanks! ___ Flashcoders@chattyfig.figleaf.com 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 ___ Flashcoders@chattyfig.figleaf.com 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 ___ Flashcoders@chattyfig.figleaf.com 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
Re: [Flashcoders] LoadVars to XML object
Is there a way to do this without specifying a URL in sendAndLoad? or without actaully sending it out anywhere? I have a php page which in an initial load vars sendAndLoad is sending back xml. SInce Flash see's it as a string I just want to convert it to an xml object without sending it out anywhere again. Thanks! On Oct 17, 2006, at 12:26 PM, Cedric Muller wrote: var xml:XML = new XML(); xml.ignoreWhite = true; xml.onLoad = function () { trace(this); } var lv:LoadVars = new LoadVars(); lv.sendParam1 = bla; lv.sendParam2 = blo; lv.sendAndLoad(url, xml, POST); hth, cedric Hello All, I am trying to convert the return string of a loadvars to an XML object. Does anyone know a simple way of doing this? Thanks! ___ Flashcoders@chattyfig.figleaf.com 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 ___ Flashcoders@chattyfig.figleaf.com 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 ___ Flashcoders@chattyfig.figleaf.com 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
Re: [Flashcoders] LoadVars to XML object
That did it! Perfect. Thanks much! On Oct 17, 2006, at 1:41 PM, Alain Rousseau wrote: If you do a sendAndLoad allready, you should try to define your xml in the onData event of the LoadVars. import mx.utils.Delegate; var xml:XML = new XML(); xml.ignoreWhite = true; lv.onData = Delegate.create(this, parseData); // onData returns the source of the file as a string so the parameters are passed without the need of arguments lv.sendAndLoad( ... ); // Do your stuff here function parseData(src:String):Void { xml.parseXML(src); // or this should work as well // var newXML:XML = new XML(src); } HTH Alain -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chip Moeser Sent: 17 octobre 2006 12:41 To: Flashcoders mailing list Subject: Re: [Flashcoders] LoadVars to XML object Is there a way to do this without specifying a URL in sendAndLoad? or without actaully sending it out anywhere? I have a php page which in an initial load vars sendAndLoad is sending back xml. SInce Flash see's it as a string I just want to convert it to an xml object without sending it out anywhere again. Thanks! On Oct 17, 2006, at 12:26 PM, Cedric Muller wrote: var xml:XML = new XML(); xml.ignoreWhite = true; xml.onLoad = function () { trace(this); } var lv:LoadVars = new LoadVars(); lv.sendParam1 = bla; lv.sendParam2 = blo; lv.sendAndLoad(url, xml, POST); hth, cedric Hello All, I am trying to convert the return string of a loadvars to an XML object. Does anyone know a simple way of doing this? Thanks! ___ Flashcoders@chattyfig.figleaf.com 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 ___ Flashcoders@chattyfig.figleaf.com 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 ___ Flashcoders@chattyfig.figleaf.com 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.4/478 - Release Date: 2006-10-17 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.4/478 - Release Date: 2006-10-17 ___ Flashcoders@chattyfig.figleaf.com 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 ___ Flashcoders@chattyfig.figleaf.com 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