RE: [flexcoders] Re: Compiler warning about unused CSS type selector
Odd, if you can send us a full example we can take a look. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of tobiaspatton Sent: Thursday, September 21, 2006 8:59 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Compiler warning about unused CSS type selector Thanks Matt, but still no joy. mxmlc -compiler.keep-all-type-selectors=true -source- path=D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client/classes - include- libraries=locale\EN\lib\Galiano.swc,D:\PerforceDepot\galiano\Galiano. Tobias_Patton\tools\compiler\Flex2frameworks\locale\en_US\framework_r b.swc DashboardAdmin.mxml [mxmlc] Loading configuration file :\PerforceDepot\galiano\Galiano.Tobias_Patton\tools\compiler\Fle x2\frameworks\flex-config.xml [mxmlc] D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client\DashboardJobsVi ew\DashboardAdmin.mxml: Warning: The type selector 'ComboBox' was not processed, because the type was not used in the application. [mxmlc] [mxmlc] D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client\DashboardJobsVi ew\DashboardAdmin.swf (382213 bytes) --- In [EMAIL PROTECTED]ups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote: > > There's a filesize penalty for unused type selectors. Tobias, I saw you > had -compiler.keep-all-type-selectors but you didn't follow it with > =true. Can you try adding the =true? It should do what you want. > > > > Matt > > > > > > From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On > Behalf Of Shannon Hicks > Sent: Tuesday, September 19, 2006 9:17 AM > To: [EMAIL PROTECTED]ups.com > Subject: RE: [Junk E-Mail - LOW] [flexcoders] Re: Compiler warning about > unused CSS type selector > > > > Perhaps more importantly, why the warning? > > > > Is there a performance or (significant) filesize penalty for having > unused styles in Flex? I remember styles were an issue with CFFORM. > > > > Shan > > > > > > From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On > Behalf Of tobiaspatton > Sent: Tuesday, September 19, 2006 11:00 AM > To: [EMAIL PROTECTED]ups.com > Subject: [Junk E-Mail - LOW] [flexcoders] Re: Compiler warning about > unused CSS type selector > > That's right. I have three related applications and I would like to > use a single style sheet for all three. One of the applications does > not use the ComboBox control, so reports this warning. > > I'm hoping there's a switch in flex-config.xml to disable this > warning, but can't find one. > > Tobias. > > --- In [EMAIL PROTECTED]ups.com 40yahoogroups.com> > , "Hilary Bridel" > wrote: > > > > Tobias, > > You are probably referencing an external .css file in your code > which > > has a reference to a style for ComboBox, but you are not using a > > combobox in your app??? > > > > Hilary > > > > www.bridel.org > > > > > > On 9/19/06, tobiaspatton > wrote: > > > Anyone know how to get rid this warning? > > > > > > Warning: The type selector 'ComboBox' was not processed, because > the > > > type was not used in the application. > > > > > > Thanks. > > > Tobias. > > > > > > > > > > > > > > > > > > > > > -- > > > Flexcoders Mailing List > > > FAQ: > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > <http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> > > > Search Archives: http://www.mail-archive.com/flexcoders% > <http://www.mail-archive.com/flexcoders%25> > 40yahoogroups.com > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > Hilary > > > > -- > > > > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.405 / Virus Database: 268.12.5/450 - Release Date: > 9/18/2006 > > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.405 / Virus Database: 268.12.5/450 - Release Date: > 9/18/2006 > __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS
[flexcoders] Re: Compiler warning about unused CSS type selector
Thanks Matt, but still no joy. mxmlc -compiler.keep-all-type-selectors=true -source- path=D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client/classes - include- libraries=locale\EN\lib\Galiano.swc,D:\PerforceDepot\galiano\Galiano. Tobias_Patton\tools\compiler\Flex2frameworks\locale\en_US\framework_r b.swc DashboardAdmin.mxml [mxmlc] Loading configuration file :\PerforceDepot\galiano\Galiano.Tobias_Patton\tools\compiler\Fle x2\frameworks\flex-config.xml [mxmlc] D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client\DashboardJobsVi ew\DashboardAdmin.mxml: Warning: The type selector 'ComboBox' was not processed, because the type was not used in the application. [mxmlc] [mxmlc] D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client\DashboardJobsVi ew\DashboardAdmin.swf (382213 bytes) --- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote: > > There's a filesize penalty for unused type selectors. Tobias, I saw you > had -compiler.keep-all-type-selectors but you didn't follow it with > =true. Can you try adding the =true? It should do what you want. > > > > Matt > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Shannon Hicks > Sent: Tuesday, September 19, 2006 9:17 AM > To: flexcoders@yahoogroups.com > Subject: RE: [Junk E-Mail - LOW] [flexcoders] Re: Compiler warning about > unused CSS type selector > > > > Perhaps more importantly, why the warning? > > > > Is there a performance or (significant) filesize penalty for having > unused styles in Flex? I remember styles were an issue with CFFORM. > > > > Shan > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of tobiaspatton > Sent: Tuesday, September 19, 2006 11:00 AM > To: flexcoders@yahoogroups.com > Subject: [Junk E-Mail - LOW] [flexcoders] Re: Compiler warning about > unused CSS type selector > > That's right. I have three related applications and I would like to > use a single style sheet for all three. One of the applications does > not use the ComboBox control, so reports this warning. > > I'm hoping there's a switch in flex-config.xml to disable this > warning, but can't find one. > > Tobias. > > --- In flexcoders@yahoogroups.com <mailto:flexcoders% 40yahoogroups.com> > , "Hilary Bridel" > wrote: > > > > Tobias, > > You are probably referencing an external .css file in your code > which > > has a reference to a style for ComboBox, but you are not using a > > combobox in your app??? > > > > Hilary > > > > www.bridel.org > > > > > > On 9/19/06, tobiaspatton wrote: > > > Anyone know how to get rid this warning? > > > > > > Warning: The type selector 'ComboBox' was not processed, because > the > > > type was not used in the application. > > > > > > Thanks. > > > Tobias. > > > > > > > > > > > > > > > > > > > > > -- > > > Flexcoders Mailing List > > > FAQ: > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > <http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> > > > Search Archives: http://www.mail-archive.com/flexcoders% > <http://www.mail-archive.com/flexcoders%25> > 40yahoogroups.com > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > Hilary > > > > -- > > > > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.405 / Virus Database: 268.12.5/450 - Release Date: > 9/18/2006 > > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.405 / Virus Database: 268.12.5/450 - Release Date: > 9/18/2006 > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [Junk E-Mail - LOW] [flexcoders] Re: Compiler warning about unused CSS type selector
There’s a filesize penalty for unused type selectors. Tobias, I saw you had –compiler.keep-all-type-selectors but you didn’t follow it with =true. Can you try adding the =true? It should do what you want. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Shannon Hicks Sent: Tuesday, September 19, 2006 9:17 AM To: flexcoders@yahoogroups.com Subject: RE: [Junk E-Mail - LOW] [flexcoders] Re: Compiler warning about unused CSS type selector Perhaps more importantly, why the warning? Is there a performance or (significant) filesize penalty for having unused styles in Flex? I remember styles were an issue with CFFORM. Shan From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of tobiaspatton Sent: Tuesday, September 19, 2006 11:00 AM To: [EMAIL PROTECTED]ups.com Subject: [Junk E-Mail - LOW] [flexcoders] Re: Compiler warning about unused CSS type selector That's right. I have three related applications and I would like to use a single style sheet for all three. One of the applications does not use the ComboBox control, so reports this warning. I'm hoping there's a switch in flex-config.xml to disable this warning, but can't find one. Tobias. --- In [EMAIL PROTECTED]ups.com, "Hilary Bridel" <[EMAIL PROTECTED]> wrote: > > Tobias, > You are probably referencing an external .css file in your code which > has a reference to a style for ComboBox, but you are not using a > combobox in your app??? > > Hilary > > www.bridel.org > > > On 9/19/06, tobiaspatton ...> wrote: > > Anyone know how to get rid this warning? > > > > Warning: The type selector 'ComboBox' was not processed, because the > > type was not used in the application. > > > > Thanks. > > Tobias. > > > > > > > > > > > > > > -- > > Flexcoders Mailing List > > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > Search Archives: http://www.mail-archive.com/flexcoders% 40yahoogroups.com > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > > > > -- > Hilary > > -- > -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.12.5/450 - Release Date: 9/18/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.12.5/450 - Release Date: 9/18/2006 __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [Junk E-Mail - LOW] [flexcoders] Re: Compiler warning about unused CSS type selector
Perhaps more importantly, why the warning? Is there a performance or (significant) filesize penalty for having unused styles in Flex? I remember styles were an issue with CFFORM. Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tobiaspattonSent: Tuesday, September 19, 2006 11:00 AMTo: flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] [flexcoders] Re: Compiler warning about unused CSS type selector That's right. I have three related applications and I would like to use a single style sheet for all three. One of the applications does not use the ComboBox control, so reports this warning. I'm hoping there's a switch in flex-config.xml to disable this warning, but can't find one.Tobias.--- In [EMAIL PROTECTED]ups.com, "Hilary Bridel" <[EMAIL PROTECTED]> wrote:>> Tobias,> You are probably referencing an external .css file in your code which> has a reference to a style for ComboBox, but you are not using a> combobox in your app???> > Hilary> > www.bridel.org> > > On 9/19/06, tobiaspatton ...> wrote:> > Anyone know how to get rid this warning?> >> > Warning: The type selector 'ComboBox' was not processed, because the> > type was not used in the application.> >> > Thanks.> > Tobias.> >> >> >> >> >> >> > --> > Flexcoders Mailing List> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com> > Yahoo! Groups Links> >> >> >> >> >> >> >> >> >> >> > > -- > Hilary> > --> --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.405 / Virus Database: 268.12.5/450 - Release Date: 9/18/2006 __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.12.5/450 - Release Date: 9/18/2006
[flexcoders] Re: Compiler warning about unused CSS type selector
Hi Tobias, Instead of using the default ComboBox CSS, you could change it to a custom styleName. You would have to code styleName properties for all of the comboBoxes, but the warning should go away. Looks like you have the same problem with Alert. Of course, you could always cheat by placing an invisible ComboBox somewhere in your application. -TH --- In flexcoders@yahoogroups.com, "tobiaspatton" <[EMAIL PROTECTED]> wrote: > > Thanks for the reply Darron; I had high hopes that you were right, > but sadly the warning still appears: > > mxmlc -source- > path=D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client/classes - > compiler.keep-all-type-selectors -include- > libraries=locale\EN\lib\Galiano.swc,D:\PerforceDepot\galiano\Galiano. > Tobias_Patton\tools\compiler\Flex2frameworks\locale\en_US\framework_r > b.swc DashboardDiag.mxml > [mxmlc] Loading configuration file > D:\PerforceDepot\galiano\Galiano.Tobias_Patton\tools\compiler\Flex2 > \frameworks\flex-config.xml > [mxmlc] > D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client\DashboardJobsVi > ew\DashboardDiag.mxml: Warning: The type selector 'Alert' was not > processed, because the type was not used in the application. > [mxmlc] > [mxmlc] > D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client\DashboardJobsVi > ew\DashboardDiag.mxml: Warning: The type selector 'ComboBox' was not > processed, because the type was not used in the application. > [mxmlc] > [mxmlc] > D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client\DashboardJobsVi > ew\DashboardDiag.swf (252655 bytes) > > --- In flexcoders@yahoogroups.com, "Darron J. Schall" > wrote: > > > > Have you tried the -compiler.keep-all-type-selectors flag or > > true tag? It > might > > add a tiny bit to the file size (since unused types won't be > pruned), > > but it might eliminate the warnings. > > > > There doesn't seem to be a specific compiler option to disable the > css > > warning. > > > > -d > > > > tobiaspatton wrote: > > > > > > That's right. I have three related applications and I would like > to > > > use a single style sheet for all three. One of the applications > does > > > not use the ComboBox control, so reports this warning. > > > > > > I'm hoping there's a switch in flex-config.xml to disable this > > > warning, but can't find one. > > > > > > Tobias. > > > > > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Compiler warning about unused CSS type selector
Thanks for the reply Darron; I had high hopes that you were right, but sadly the warning still appears: mxmlc -source- path=D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client/classes - compiler.keep-all-type-selectors -include- libraries=locale\EN\lib\Galiano.swc,D:\PerforceDepot\galiano\Galiano. Tobias_Patton\tools\compiler\Flex2frameworks\locale\en_US\framework_r b.swc DashboardDiag.mxml [mxmlc] Loading configuration file D:\PerforceDepot\galiano\Galiano.Tobias_Patton\tools\compiler\Flex2 \frameworks\flex-config.xml [mxmlc] D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client\DashboardJobsVi ew\DashboardDiag.mxml: Warning: The type selector 'Alert' was not processed, because the type was not used in the application. [mxmlc] [mxmlc] D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client\DashboardJobsVi ew\DashboardDiag.mxml: Warning: The type selector 'ComboBox' was not processed, because the type was not used in the application. [mxmlc] [mxmlc] D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client\DashboardJobsVi ew\DashboardDiag.swf (252655 bytes) --- In flexcoders@yahoogroups.com, "Darron J. Schall" <[EMAIL PROTECTED]> wrote: > > Have you tried the -compiler.keep-all-type-selectors flag or > true tag? It might > add a tiny bit to the file size (since unused types won't be pruned), > but it might eliminate the warnings. > > There doesn't seem to be a specific compiler option to disable the css > warning. > > -d > > tobiaspatton wrote: > > > > That's right. I have three related applications and I would like to > > use a single style sheet for all three. One of the applications does > > not use the ComboBox control, so reports this warning. > > > > I'm hoping there's a switch in flex-config.xml to disable this > > warning, but can't find one. > > > > Tobias. > > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Compiler warning about unused CSS type selector
Have you tried the -compiler.keep-all-type-selectors flag or true tag? It might add a tiny bit to the file size (since unused types won't be pruned), but it might eliminate the warnings. There doesn't seem to be a specific compiler option to disable the css warning. -d tobiaspatton wrote: > > That's right. I have three related applications and I would like to > use a single style sheet for all three. One of the applications does > not use the ComboBox control, so reports this warning. > > I'm hoping there's a switch in flex-config.xml to disable this > warning, but can't find one. > > Tobias. > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Compiler warning about unused CSS type selector
That's right. I have three related applications and I would like to use a single style sheet for all three. One of the applications does not use the ComboBox control, so reports this warning. I'm hoping there's a switch in flex-config.xml to disable this warning, but can't find one. Tobias. --- In flexcoders@yahoogroups.com, "Hilary Bridel" <[EMAIL PROTECTED]> wrote: > > Tobias, > You are probably referencing an external .css file in your code which > has a reference to a style for ComboBox, but you are not using a > combobox in your app??? > > Hilary > > www.bridel.org > > > On 9/19/06, tobiaspatton <[EMAIL PROTECTED]> wrote: > > Anyone know how to get rid this warning? > > > > Warning: The type selector 'ComboBox' was not processed, because the > > type was not used in the application. > > > > Thanks. > > Tobias. > > > > > > > > > > > > > > -- > > Flexcoders Mailing List > > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > Search Archives: http://www.mail-archive.com/flexcoders% 40yahoogroups.com > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > > > > -- > Hilary > > -- > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/