`

Skin for * cannot be found

阅读更多

What caused the error?
I was moving one of my modular applications from Flex 3 (Gumbo) to Flex 4 (Spark) architecture. This error happend each time I added a module GUI to the main application. Unfortunately this is all what I found out about this problem.

What is the solution?
Add: -keep-all-type-selectors to your compiler arguments.

Here’s is what documentation says about this argument:
“Instructs the compiler to keep a style sheet’s type selector in a SWF file, even if that type (the class) is not used in the application. This is useful when you have a modular application that loads other applications. For example, the loading SWF file might define a type selector for a type used in the loaded (or, target) SWF file. If you set this option to true when compiling the loading SWF file, then the target SWF file will have access to that type selector when it is loaded. If you set this option to false, the compiler will not include that type selector in the loading SWF file at compile time. As a result, the styles will not be available to the target SWF file.

This is an advanced option.”

分享到:
评论
2 楼 depravedangel 2011-10-06  
说明的很清楚了,compenent中的skinPart注解的maskLayer 在你的skin文件中不存在
1 楼 michao 2011-09-30  
我自已写CCS调 FlexGlobals.topLevelApplication.styleManager.loadStyleDeclarations2("vista.swf");
老报 Error: Required skin part maskLayer cannot be found.请问是为什么

相关推荐

    全国考博英语大纲10000完整词汇

    - **例句**: Acidosis can be caused by excessive production of acid or failure to excrete it. 17. **acknowledge (v.)** - **含义**: 承认;致谢。 - **例句**: The author acknowledged the help of many...

    DevExpress VCL 13.2.5 D7-DXE6 FullSource

    •Q574591 - A locked group cannot be resized using a splitter item •B255095 - Customization Form - The Layout Tree View and Available Items panes are not populated for an invisible layout control ...

    VB编程资源大全(英文源码 表单)

    transparentform.zip Transparent Form with bitmap mask 1 line code for call this DLL<END><br>38 , region.zip This application shows how to "skin a form" to the shape of any bitmap image....

    VB编程资源大全(英文源码 控制)

    Part of my design criteria was that the menu form <END><br>50 , runtime.zip Supposedly, what this code does cannot be done... But it works. Basically, its a demonstration of how you can change ...

    fckedit编辑器

    taskdef class org.apache.catalina.ant.DeployTask cannot be found 3 把tomcat安装目录下/server/lib中的catalina-ant.jar拷贝到/WEB-INF/lib目录 下 4 打开build.xml 找到 修改成你自己的tomcat安装目录 ...

Global site tag (gtag.js) - Google Analytics