Sunday, December 07, 2008

Undraggable alert

Yesday i was seeing an undraggable alert in flex ..its quite simple just set the property "isPopUp" to "flase" to not dgraggable and "true" for drggable.
Here is a code..you can try it


Script:
private function showAlert():void
{
title ="Undraggable Alert";
myAlert = Alert.show("HI Cognizant!!",title);

myAlert.isPopUp = false;
myAlert.status = Capabilities.version;
}




No comments:

Computers Add to Technorati Favorites Programming Blogs - BlogCatalog Blog Directory