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

by kpkmd54461 on 2012-03-04 17:53:42

Here is the translation of the provided text into English:

---

[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", 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", symbol="ButtonBar_lastUpSkin");

---

### Explanation:

The errors indicate that the `Embed` directives in the CSS file (`yflexskin.css`) cannot locate or resolve the specified SWF assets (e.g., `assets/yahoo/yflexskin.swf`). This could be due to:

1. The SWF file not being present at the specified path.

2. Incorrect symbols defined in the SWF file.

3. A misconfiguration in the build process.

Additionally, unrelated terms like "java中异常处理的问题" (Java exception handling issues) and "ora-20003" appear in the original text but seem out of context. These may refer to separate issues or have been mistakenly included. If clarification is needed for these terms, please provide additional details.