In the Day2DayDevelopment library I have included the code for PopUpMessage.mxml which is a file mean to be used for mobile development. An example of this component is available below:
This sample app demonstrates the popup component. The popup component has 5 variables that can be set. The first two title and message which server fairly obvious purposes. The last one is callback which return the label of the button that was pressed.
The two variables that need explanation are the buttonLeftLabel and buttonRightLabel variables. The primary reason these buttons need explanation is because that is how the component differentiates between a two-button label and a one-button label. If the buttonRightLabel is null then the component assumes it should be a one-button label.
As soon as I test the app on an Android phone I will upload the apk file. The code can be downloaded on my Google Code page.