`
SilverRing
  • 浏览: 72665 次
社区版块
存档分类
最新评论

[Flex] Invalid Embed directive in stylesheet

    博客分类:
  • Flex
阅读更多
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.
分享到:
评论

相关推荐

    org.xml.sax.SAXException: Invalid element

    NULL 博文链接:https://wilian.iteye.com/blog/1992365

    Delphi COM操作控件

    在IT行业中,COM(Component Object Model)是一种组件对象模型,由微软公司开发,用于实现跨语言、跨平台的软件组件交互。... 首先,让我们了解一下什么是VSSComm。VSSComm通常是指Visual SourceSafe(VSS)通信组件...

    opencv4.2+opencv-contrib 的python接口

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

    InvalidSignature-The signature is invalid(解决方案).md

    InvalidSignature-The signature is invalid(解决方案).md

    打开vs提示invalid handle

    在IT领域,遇到“打开vs提示invalid handle”的问题并不罕见,这通常意味着Visual Studio(简称VS)在尝试访问某些资源或执行特定操作时遇到了错误。此类问题可能源于多种因素,包括但不限于权限问题、系统资源冲突...

    Flex编译错误码总结

    4. Error 1118: Invalid override 如果重写父类的方法时,签名不匹配或访问级别不兼容,就会出现此错误。确保重写的方法具有相同的参数列表和适当的访问修饰符。 5. Error 1120: Access of undefined property ...

    Flex 验证器简介

    ### Flex 验证器知识点详解 #### 一、Flex 验证器概述 Flex 是一款由Adobe提供的用于构建跨平台富互联网应用(RIA)的强大工具。它基于Flash平台,允许开发者利用XML和ActionScript创建复杂且高度交互的应用程序。...

    解决Invalid white space character (0x …… 文件下载后可直接使用

    标题中的“Invalid white space character (0x……)”错误通常出现在解析文本文件或代码时,意味着在文件内容中发现了不合法的空白字符。这种字符可能是由于编码问题、数据传输过程中的损坏或者是编辑器不兼容导致的...

    ftp连接不上出现500 Invalid PORT Command.错误

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

    invalid multibyte character sequence 870告警1

    Invalid Multibyte Character Sequence 警告解析 在编程中,特别是在嵌入式系统开发中,我们经常会遇到Invalid Multibyte Character Sequence 警告。这个警告通常来自于编译器,告知我们存在非法的多字节字符序列。...

    数字大写的flex实现

    if (num || num > 9999999999) throw new Error("Invalid number"); var result:String = ""; for (var i:uint = 4; i >= 0; i--) { var digit:uint = num / Math.pow(10, i) % 10; result = CHINESE_DIGITS...

    程序运行时,提示“Invalid parameter”错误

    Delphi 10.3 ,程序运行到DataModule2.ClientDataSet1.ApplyUpdates(0);语句时,提示“Invalid parameter”错误

    invalid interface type(解决方案).md

    invalid interface type(解决方案).md

    ipmi\tool操作指南

    ipmitool\\的一些有用的操作方式和方法,可能会对你有些帮助,主要是给自己看的,留着有用

    Invalid HTTP version(解决方案).md

    Invalid HTTP version(解决方案).md

    flex中时分秒计算

    ### Flex中的时分秒计算详解 #### 一、引言 在Flex开发中,时间相关的功能经常被用到,比如日期选择器、时间输入框等。对于这些需求,Adobe Flex框架提供了丰富的组件来帮助开发者实现。本文将详细介绍如何在Flex...

    Invalid ROM Table

    - "Invalid ROM Table":这个提示是与ROM相关的错误信息,可能是因为ROM中的表格信息不正确或损坏导致的。ROM(Read-Only Memory)是一种只能读取不能写入的存储器,通常用于存储程序、数据等,其特点是断电后信息不...

    INVALID_USER_KEY(解决方案).md

    INVALID_USER_KEY(解决方案).md

Global site tag (gtag.js) - Google Analytics