Just opened a bug for this the other day. https://bugs.adobe.com/jira/browse/FB-11925
--- In [email protected], "Mike Krotscheck" <[EMAIL PROTECTED]> wrote: > > I've just run across an odd behavior within Flex 3 and certain compiler > directives, as follows: > > 1. > Compiler options includes a -load-config+= directive. This > directive ensures the compiler to includes a certain list of classes, > via <includes append="true"><symbol>classpath</symbol></includes> > 2. > In a subdirectory of the src root (in an locales directory) we > have a series of .css files that are compiled externally for > localization. In testing them, I attempted to right-click and select > "Compile CSS to SWF", and this worked fine. > 3. > Now I attempted to compile main.mxml, which is sitting at the > actual project src root. This threw an error that it could not find the > list of classes found in step 1 (Unable to resolve a class for include: > blah blah blah). > 4. > Doing some digging, I found the following items added to > .actionScriptProperties, whose removal fixed the issue. > <buildCSSFiles> > <buildCSSFileEntry destPath="somepath" > sourcePath="someotherpath"/> > </buildCSSFiles> > > It seems to me that once you right-click a CSS file, it is flagged as a > file to compile rather than include as seen above, and when one does a > project compile it helpfully builds it for you... except that the src > root for when the .css file is compiled this second time (automatically) > is not the src root of the entire project, but rather the folder in > which the .css file itself resides (or some other value). > > Now, in my case I shouldn't be compiling those classes into every local > css file anyway, so I've written an ant script to automate the entire > process. Even so it seems like the CSS files that are compiled should be > accessible somehow in the project configuration (perhaps under Flex > Applications) and that their src root be kept in line with everything > else. > > > Michael Krotscheck > > Senior Developer > > > > RESOURCE INTERACTIVE > > <http://www.resource.com/> www.resource.com <http://www.resource.com/> > > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > > > > > We support privacy and confidentiality. Please delete this email if it > was received in error. > > What's new :: > Capitalize on the social web | The Open Brand, a new book by Kelly > Mooney and Dr. Nita Rollins, available March 2008 | www.theopenbrand.com >

