actionscript-3flash-builderswc

How to Clean-up my SWC project


I created a Flex Library project in Flash Builder 4.7 and the added a simple Action Script Class to it. Build fine.

When I use a "decompiler" with the resulting swc file, I see an "unwanted" class, with a weird name, intentionally "unique" I presume, derived from flash.display.Sprite.

I also decompiled some other swc files (not mine) and didn't found such "extra" class in them, just the code meant to be here.

How to create an empty SWC project in Flash Builder, without the product auto-generating a sprite class, or how to clean it up?

Newbie in flex here, feel free to edit / downvote / close (with some explanations)


Solution

  • What you're seeing is normal behavior for a Flex type project. If you want to avoid the autogenerated Flex class, create an "ActionScript Library Project" instead.