Solution for the issue of images in CSS style sheets not loading when Flex is compiled using Ant

by kpkmd54461 on 2012-03-04 17:52:12

Here is the English translation of the provided text:

[mxmlc] D:\ISOFTSTONE\workspacebuild\DigitalForm\flex_src\css\yflexskin.css(179): Error: Invalid Embed directive in stylesheet - can’t resolve source 'Embed(source = "assets/yahoo/yflexskin.swf", symbol = "ButtonBar_lastDownSkin")'.

[mxmlc] downSkin: Embed(source="assets/yahoo/yflexskin.swf", symbol="ButtonBar_lastDownSkin");

[mxmlc] D:\ISOFTSTONE\workspacebuild\DigitalForm\flex_src\css\yflexskin.css(180): Error: Invalid Embed directive in stylesheet - can’t resolve source 'Embed(source = "assets/yahoo/yflexskin.swf", symbol = "ButtonBar_lastOverSkin")'.

[mxmlc] overSkin: Embed(source="assets/yahoo/yflexskin.swf", symbol="ButtonBar_lastOverSkin");

[mxmlc] D:\ISOFTSTONE\workspacebuild\DigitalForm\flex_src\css\yflexskin.css(181): Error: Invalid Embed directive in stylesheet - can’t resolve source 'Embed(source = "assets/yahoo/yflexskin.swf", symbol = "ButtonBar_lastSelectedDisabledSkin")'.

[mxmlc] selectedDisabledSkin: Embed(source="assets/yahoo/yflexskin.swf", symbol="ButtonBar_lastSelectedDisabledSkin");

[mxmlc] D:\ISOFTSTONE\workspacebuild\DigitalForm\flex_src\css\yflexskin.css(182): Error: Invalid Embed directive in stylesheet - can’t resolve source 'Embed(source = "assets/yahoo/yflexskin.swf", symbol = "ButtonBar_lastSelectedUpSkin")'.

[mxmlc] selectedDownSkin: Embed(source="assets/yahoo/yflexskin.swf", symbol="ButtonBar_lastSelectedUpSkin");

[mxmlc] D:\ISOFTSTONE\workspacebuild\DigitalForm\flex_src\css\yflexskin.css(183): Error: Invalid Embed directive in stylesheet - can’t resolve source 'Embed(source = "assets/yahoo/yflexskin.swf", java exception handling issue, symbol = "ButtonBar_lastSelectedUpSkin")'.

[mxmlc] selectedOverSkin: Embed(source="assets/yahoo/yflexskin.swf", symbol="ButtonBar_lastSelectedUpSkin");

[mxmlc] D:\ISOFTSTONE\workspacebuild\DigitalForm\flex_src\css\yflexskin.css(184): Error: Invalid Embed directive in stylesheet - can’t resolve source 'Embed(source = "assets/yahoo/yflexskin.swf", symbol = "ButtonBar_lastSelectedUpSkin")'.

[mxmlc] selectedUpSkin: Embed(source="assets/yahoo/yflexskin.swf", symbol="ButtonBar_lastSelectedUpSkin");

[mxmlc] D:\ISOFTSTONE\workspacebuild\DigitalForm\flex_src\css\yflexskin.css(185): Error: Invalid Embed directive in stylesheet - can’t resolve source 'Embed(source = "assets/yahoo/yflexskin.swf", symbol = "ButtonBar_lastUpSkin")'.

[mxmlc] upSkin: Embed(source="assets/yahoo/yflexskin.swf", ora-20003, symbol="ButtonBar_lastUpSkin");

------End of Translation--------------------------------------------------------

### Explanation:

The errors indicate that the Flex compiler (mxmlc) is unable to locate or resolve the embedded assets specified in the CSS file (`yflexskin.css`). This could be due to incorrect paths, missing files, or invalid symbols in the SWF file being referenced. Additionally, some references to unrelated issues like "java exception handling" and "ora-20003" appear to be placeholders or notes that don't directly relate to the error messages.