The leading slash is apparently a no-no. Changing from Embed('/flexmdi/assets/img/closeButton.png') to Embed('flexmdi/assets/img/closeButton.png') seems to have fixed it. Along with a nice project Clean of course.
Ben --- In flexcoders@yahoogroups.com, "ben.clinkinbeard" <[EMAIL PROTECTED]> wrote: > > OK, I had things messed up and now the defaults.css is being compiled > into the SWC. The images embedded in it are not though. I am getting > lots of errors like this in the project that uses the SWC: > > Invalid Embed directive in stylesheet - can't resolve source > 'Embed("/flexmdi/assets/img/closeButton.png")'. > > I have made sure all the images are selected in the Assets tab of the > library project but it doesn't seem to help. Do I really have to do > include-file compiler args for every image I want compiled in? > > Thanks, > Ben > > > > --- In flexcoders@yahoogroups.com, "ben.clinkinbeard" > <ben.clinkinbeard@> wrote: > > > > Hmmm, the styles defined in defaults.css are definitely not being > > applied in the project using the SWC. > > > > > > > > --- In flexcoders@yahoogroups.com, "madflexcoder" <brian.joseph31@> > > wrote: > > > > > > don't use the -include-stylesheet directive when in a flex library > > > project. it's done automatically. > > > > > > > > > > > > > > > --- In flexcoders@yahoogroups.com, "ben.clinkinbeard" > > > <ben.clinkinbeard@> wrote: > > > > > > > > I am trying to include the default styles in my SWC but am getting > > > > errors when setting the compiler options. defaults.css is in the top > > > > level of my library project. > > > > > > > > If I use -include-stylesheet defaults.css defaults.css the error > > > > displayed is "unknown configuration variable 'include-stylesheet'" > > > > > > > > If I use -include-file defaults.css defaults.css the error is > "unable > > > > to export SWC oem" > > > > > > > > Any ideas? > > > > > > > > Thanks, > > > > Ben > > > > > > > > > >