Home » Flex

Flex Builder: Remove css type selector warnings

8 October 2008 | 6,955 views | One Comment

A small but very irritating problem started coming up during some development I’ve been working on in Flex. I kept getting errors when compiling in Flex Builder regarding some CSS.

“The type selector ‘classNameHere’ was not processed, because the type was not used in the application.”

It’s quite easy to turn this off by going into your project properties panel and select the Flex Compiler option and add the following into Additional compiler options:

-show-unused-type-selector-warnings=false

More on this subject here

  • http://www.facebook.com/kevinrules Kevin Remisoski

    I ran into the same problem with an OSMF Adobe Sample Application. You'd think they'd test their own damn code or at least give some detailed instructions on how to set things up before running their apps. =P