When I compile my project with KapInspect 1.5, the buttons of my Alerts show a label "null".
Just try this :
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
<![CDATA[
import mx.controls.Alert;
private function showAlert() :void
Unknown macro: { Alert.show("Alert texte", "Alert title", Alert.OK | Alert.CANCEL ); }
]]>
</mx:Script>
<mx:Button label="Show alert" click="showAlert();" />
</mx:Application>
and add kapinspect.swc in the compilation.
I use FlashDevelop as IDE.
Here is a screenshot.
When I remove KapInspect.swc from the compilation libraries, buttons are ok.
Comments (3)
Oct 21, 2009
Julien Revel says:
Hi I have not been able to reproduce your problem, but I use FlexBuilder and not...Hi
I have not been able to reproduce your problem, but I use FlexBuilder and not FlashDevelop.
I would say that you may want to check what language you compile your application with, as it seems that some framework bundle may have not been loaded, for a mysterious reason.
Do you use a localized version of the framework ?
Oct 21, 2009
Arnaud says:
Hello Julien, I use the default framework, v3.4.0.9271. My locale option was emp...Hello Julien,
I use the default framework, v3.4.0.9271.
My locale option was empty in FlashDevelop, I changed it to en_US but the issue remains.
If you can't reproduce it in FB, this is probably an issue in FlashDevelop or any difference in compilation option, nothing with your component.
Regards
Dec 15, 2009
Ulrike Heidler says:
Hi... I've the same problem with FlexBuilder 3. Did you find any solution alre...Hi...
I've the same problem with FlexBuilder 3.
Did you find any solution already?
Regards, Ulrike