A Tip on Alert Control in Flex.

Question:

How to make the defaultButton on Alert Control invisible?

Solution:

var a:Alert;
a = Alert.show(“where’s my defaultButton (OK)!”);
a.mx_internal::alertForm.mx_internal::defaultButton.visible = false;

Enjoy the Post.

Leave a Reply