tag:support.gradlefx.org,2011-05-23:/discussions/problems/2248-problem-finding-external-stylesheet-applicationcssGradleFx: Discussion 2016-03-24T17:55:50Ztag:support.gradlefx.org,2011-05-23:Comment/394038442016-03-18T19:05:51Z2016-03-18T19:05:51ZProblem finding external stylesheet: /application.css<div><p>Hi Thomas,</p>
<p>The reason for this is that you're building a swf, in which case
GradleFx doesn't use the "src/main/resources" directory. It only
uses this directory when compiling a swc, since basically the files
in there are added with the compc compiler's "-include-file"
option.</p>
<p>What you can do is create a "src/main/flex/assets" directory and
put the css file in there. Then it will be included as a source and
therefore it will be accessible in your mxml.</p></div>Yennick Trevelstag:support.gradlefx.org,2011-05-23:Comment/394038442016-03-24T17:55:50Z2016-03-24T17:55:50ZProblem finding external stylesheet: /application.css<div><p>I had the same problem. I chose to put the css in
src/main/resources and refactor mxml to use
"/../resources/application.css.</p></div>Julio Tobias