Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flash CS5 not exporting SWC?

Tags:

flash

So for some weird reason i've run into a bug today. I'm trying to export a FLA in CS5 to SWC but click the "export to SWC" setting in the publish settings. my problem is for whatever reason it's not exporting the swc file. I've never had this issue before, is there a fix to this issue?

like image 806
Kast Avatar asked Apr 05 '11 17:04

Kast


2 Answers

This usually happens if there is no ActionScript to export. Even if there is some vector art or some symbols, there needs to be some ActionScript elements. Flash will never output an empty SWC; instead, it just outputs nothing.

Make sure you have "Export for ActionScript" and "Export on 1st frame" checked for at least one symbol in the library, or have some code on your timeline.

like image 60
Mike Welsh Avatar answered Nov 20 '22 22:11

Mike Welsh


One main reason is because you have errors in the code and in compiling it will screw up the SWC. Check for duplicate indentifiers and also duplicate functions. The errors are not reported once the SWC fails.

like image 1
Calvin Kent Avatar answered Nov 20 '22 21:11

Calvin Kent