MadComponents is a set of user interface components for Adobe AIR Mobile. It contains Buttons, Labels, Image, Lists, List Navigation, View Flipper, Pages, Tab Pages etc. The layout is described using XML.

The framework handles different screen sizes and resolutions. When the device orientation changes, the user interface is redrawn and adjusted for landscape or portrait viewing.


var uiList:UIList = UIList(UI.findViewById("myList")); = dataSource;
var switchRow4:UISwitch = UISwitch(uiList.findViewById("state", 4));
var switchRow4Group3:UISwitch = UISwitch(uiGroupedList.findViewById("state", 4, 3));
var myButton:UIButton = UIButton(UI.findViewById("myButton"));
myButton.addEventListener(UIButton.CLICKED, mouseUpHandler);