I know that when I use Flash Builder I can use one form, but if I build using FlashDevelop then I have to always start with a forward slash. If your build server isn't using flash builder, i'll bet that's the cause. Try starting with a forward slash to always be relative from the root of the project.
Kyle McKnight Senior UI Engineer - Accesso 602.515.1444 (M) On Fri, Dec 2, 2016 at 4:43 PM, mark goldin <[email protected]> wrote: > Yes, because it works fine when I run it from from FBas my code shows. > > On Fri, Dec 2, 2016 at 3:28 PM Kyle McKnight <[email protected]> wrote: > > > Without a starting slash it's relative to the file that contains the > embed. > > Is the svg in the right location? > > > > > > Kyle McKnight > > Senior UI Engineer - Accesso > > 602.515.1444 <(602)%20515-1444> (M) > > > > On Fri, Dec 2, 2016 at 4:22 PM, mark goldin <[email protected]> > wrote: > > > > > I am getting the following error: > > > > > > Invalid Embed directive in stylesheet - can't resolve source > > > 'Embed(source = "../../assets/BlueOnWhiteStyle/Open_Normal.svg")'. > > > > > > Code in css is this:.caseLibraryIcon{ > > > > > > image: Embed(source='../../assets/ > BlueOnWhiteStyle/Open_Normal. > > > svg'); > > > } > > > > > > Code in my mxml file is this: > > > > > > _caseImage.source = > > > StyleManager.getStyleDeclaration('.caseLibraryIcon').getStyle(' > image'); > > > > > > > > > Everything works, but build server fails with the above error. > > > > > > Any idea? > > > > > > Thanks > > > > > >
