Solution found here: http://viconflex.blogspot.com/2008/04/invalid-embed-directive-in-stylesheet.html
What ended up being the root cause of our problem is that in several places in the application we were referencing image assets directly in our assets folder, i.e. /assets/delete.png, which is often the case when our designers aren't keeping up with asset creation and developers just throw some image up as a placeholder for the time being. Now it just so happened that ONE of these references was incorrect and its Embed pointed to a file that did not exist. I discovered this when I commented out our style css references in the application, and saw the error only then. It was this broken reference that caused the above error. I fixed the reference to point to the right file, did a Project clean, and all the Invalid Embed Directive errors went away.
I should note that we had over 100 references to symbols in our css, and by default Flexbuilder only shows the first 100 errors. Unluckily the "unable to resolve 'assets/deleted.png' for transcoding in ...." was error number 138 and did not show up in the list. I had to change my preferences to show all 138 errors.
So the lesson learned is that when you get spammed with this error, it could well be that only one Embed tag somewhere in your app is actually broken, and that your css and swf is probably just fine.
To change the preferences:
In the Problems Pane, top right corner is a downward pointing triangle. Click on this to get a menu from which you can select Preferences.
分享到:
相关推荐
java.lang.IllegalArgumentException: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986 at org.apache.coyote....
NULL 博文链接:https://wilian.iteye.com/blog/1992365
Delphi COM操作控件,VSSComm
Flex 验证器简介 用户输入的数据有时候并不满足应用程序的规定,在 Flex 中验证器用来保证 UI 中的数据满足某种规则。比如,你可以用一个数字验证器来保证输入的只能是在某个范围内的数字。在典型的客户端 - 服务器...
230 User 123 logged in. SYST 215 Windows_NT PWD 257 "/" is current directory. TYPE A 200 Type set to A. PORT 192,168,1,100,17,228 500 Invalid PORT Command. PASV 227 Entering Passive Mode (10,247,80,...
Delphi 10.3 ,程序运行到DataModule2.ClientDataSet1.ApplyUpdates(0);语句时,提示“Invalid parameter”错误
ipmitool\\的一些有用的操作方式和方法,可能会对你有些帮助,主要是给自己看的,留着有用
oracle error invalid rowid
Invalid
打开vs提示invalid handle 解决方法
NULL 博文链接:https://fish-bone.iteye.com/blog/1732229
invalid multibyte character sequence 870告警1
GPU显卡的Compute Capability需>=5.3,否则会提示error: (-217:Gpu API call) invalid device function in function 'make_policy' 编译本接口所用的工具及环境: Cmake-3.17.5 VS2019 opencv-4.2.0 opencv-contrib...
format ' x' invalid or incompatible with argument 解决办法
invalid
微信JS-SDK Demo代码 invalid signature错误详解在readme里面
invalid syntax是什么错误