Hm, actually I've just realized the images aren't included in the SWC, and I had to include them in my project to get them to show up. I've never built a SWC that includes images before, can it be done? How?

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at spark.components.supportClasses::SkinnableTextBase/touchMouseDownHandler()[E:\dev\hero_private\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableTextBase.as:2140]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.managers::SystemManager/mouseEventHandler()[E:\dev\hero_private\frameworks\projects\framework\src\mx\managers\SystemManager.as:2924]

Does anyone tried to use a TextInput or Textarea?

I think it's the a problem with the Keyboard. Does mobile air can't use the "Android" Keyboard in Popup's?

I was going to ask if anyone had made a version that looks like the Gingerbread dialogs, but ultimately I think the onus is on the AIR development team to expose some API to us to create native dialogs, because we're now at the point where it's very possible that our applications will look outdated and disjointed for using a dialog style that doesn't match the system style. Native applications don't have this problem, which is a problem for us.

@Thomas_Ah: I never used ViewNavigatorApplication. The modifications steps you described don't compile for me. May you give us a project example?

The thing I made to use "alert and information popup boxes" is to add MessageBox component in my application (a MobileApplication) and then use it (or modify it). It would be greate to use it as an external library but it was not embedding assets because of a Flex Hero bug.

I hope this could help you.

@Adam.Tuttle: You are right, it would be usefull to have this native behavior but when you develop with an alternative framework, you could expect this problems.

Gingerbread dialogs could be reproduced by modifying "alert and information popup boxes" component's CSS. If you do so, please post your code here.

But one quick question. How can we listen for YES, NO, OK and CANCEL button click events of the MessageBox ? I couldn't find any function parameter like how we have for Alert, to listen for CloseEvent.

Thanks naelmskine. That helped me. But MessageBox.show(null.... using null gave me a null object runtime error. So I used the parent instead and it worked fine. However, I'm not sure if icons like MessageBox.IC_HELP, MessageBox.IC_DELETE, MessageBox.IC_ADD etc are in built. Because they doesn't seem to work. It always shows up some broken icon.

when i first tried to compile this component as a library i think i got this problem but it was a bug and Adobe fixed it. As I remember it was working with the SWC but you can simply copy this component in your project and it should avoid this problem.

I am actually using this component for an ipad app. When I am in portrait mode and when I get this message and then when i tilt the device to landscape mode, the message box just stays where ever it was when the device was in portrait mode. I think, I need to listen for stage rotate events and position the x and y co ordinates of the message box based on the width, height and available space. But just wanted to know if there is any simple way already in the component to achieve this requirement, which I might be missing out?