I have a weird problem with Flex and Flash Builder 4.6 captive build.
I'm doing an Windows AIR App, and it all works fine, both as an AIR app and form the IDE. However when I make it into a Captive build, its like anything that references Capabilities, just doesn't get compiled in.
No errors or anything. Thus all my window centre, docking functionality just doesn't exist.
Even this line, in an attempt to debug, doesn't fire
mx.controls.Alert.show(Capabilities.screenResolutionX.toString());
If I do an Alert.show('here') on the same line, which is in the init function called from creationComplete it shows.