I have an all-defaults Action Script - Desktop (Runs in Adobe AIR) project with a single MovieClip on the stage from a SWC file created in newest Flash Pro CC. The MovieClip contains buttons, text, etc, for a menu system.
When I build and run it in my regular IDE (Flash Develop), it looks correct:
When I build and run in Flash Builder, it is a complete mess:
The problem is more than visual; DisplayObjects within GfxMainMenu have been randomly swapped with others from the same SWC. When I try to hook up my buttons, I find some of them are actually missing. The weird upside-down ghost logo MovieClip has actually replaced the orange SimpleButton. Needless to say this makes profiling difficult. I've been having this problem with Flash Builder for 3 years across many versions of FB, AIR, Windows, etc etc. Every year I try again with a new approach, hopeful that they've fixed this and I might be able to use FB's excellent profiler for this project. But the basic issue is the same: FB hates the contents of this SWC and I can't find a way to cleanse the demons from it.
This is the code:
public function Main():void
{
addChild(new GfxMainMenu());
}
You can download the project and SWC here - I'd love to know if others can at least recreate this:
https://dl.dropboxusercontent.com/u/11786661/FlashBuilderTest.zip
Anybody have any clues?