“Error #1014: Class mx.core::BitmapAsset could not be found” while trying to use Runtime Shared Library

丶灬走出姿态 提交于 2019-12-05 19:32:20

I figured this out but forgot to post here.

What you have to do is tell it where the swf to be used will be located, and what classes will be in it (the swc arg)

-runtime-shared-library-path=lib/MyLibrary.swc,MyLibrary.swf

I then extract the swc (using 7zip, but any works) and re-name the extracted swf to "MyLibrary.swf" and move it into the same directory as my main program.

If you're using a SDK that doesn't match the version of Flash Builder you're using, you may need to manually link to that SDK in the project properties.

You do know that creating a swc is not an RSL, right? swc = compile time library. swf = runtime library (or swz if it's Adobe signed libs).

http://livedocs.adobe.com/flex/3/html/help.html?content=rsl_01.html#168690 http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_14.html

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!