开发者

The components aren't compiled to the .swc file for some reason!

开发者 https://www.devze.com 2023-03-14 08:08 出处:网络
Hey folks I\'m trying to compile an SWC file and everything works great until the part where it needs to add components, none of them added added to the .swc file at all.

Hey folks I'm trying to compile an SWC file and everything works great until the part where it needs to add components, none of them added added to the .swc file at all.

The original file should be somewhere around 211 KB and when i compile it its only 1.64 KB, after unpacking the .swc and then the .swf inside it i can see that there is no components added at all.

BTW some components showing some errors but i dont think its a reason to not include ALL the components because the errors are like:

Description Resource    Path    Location    Type
1084: Syntax error: expecting right开发者_如何学Goparen before leftbrace.  XXX.as  /XXX/[source path] src/com/XXX  line 1469   Flex Problem

What could the problem be? ask me if you need some future info cause i don't really know what to include in here cause there is no code it's only a project with a library.

Best Regards, Rico S.


You jump around to a lot of issues in this question.

If you're receiving compiler errrors; then the SWC will not be generated at all. So, first fix those compiler errors.

The error you mention sounds like a syntax error, with you did not properly close parenthesis.

In Flash Builder, you can open up the project properties, select Flex Library Build Path, select Classes, and then you can individually select the classes that should be added to your SWC.

Your question talks about original file size and compiled file size. I'm not sure where "original file size" comes from.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号