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 > > >
