├── LICENSE.txt ├── README.txt ├── bin ├── ExtendedMadnessLib0_3_1.swc └── MadComponentsLib0_8_1.swc ├── doc ├── AC_OETags.js ├── all-classes.html ├── all-index-A.html ├── all-index-B.html ├── all-index-C.html ├── all-index-D.html ├── all-index-E.html ├── all-index-F.html ├── all-index-G.html ├── all-index-H.html ├── all-index-I.html ├── all-index-J.html ├── all-index-K.html ├── all-index-L.html ├── all-index-M.html ├── all-index-N.html ├── all-index-O.html ├── all-index-P.html ├── all-index-Q.html ├── all-index-R.html ├── all-index-S.html ├── all-index-T.html ├── all-index-U.html ├── all-index-V.html ├── all-index-W.html ├── all-index-X.html ├── all-index-Y.html ├── all-index-Z.html ├── asdoc.js ├── asfiles │ ├── AlertIcon.html │ ├── AltCursor.html │ ├── Bar.html │ ├── BarGraph.html │ ├── Cell.html │ ├── ClickButton.html │ ├── Cross.html │ ├── Cursor.html │ ├── GraphPalette.html │ ├── GraphSettings.html │ ├── GraphShape.html │ ├── HBar.html │ ├── HBarGraph.html │ ├── HintText.html │ ├── Line.html │ ├── LineGraph.html │ ├── MyButton.html │ ├── MyEvent.html │ ├── MyMenu.html │ ├── MyPopUp.html │ ├── MyTextMenu.html │ ├── Packet.html │ ├── PieGraph.html │ ├── PrintAt.html │ ├── ScatterGraph.html │ ├── ScrollBar.html │ ├── ScrollBarButton.html │ ├── ScrollBarSkins.html │ ├── ScrollBarSlider.html │ ├── ScrollBarStyle.html │ ├── ScrollBarTrack.html │ ├── Segment.html │ ├── SimplePalette.html │ ├── class-list.html │ └── package-detail.html ├── class-summary.html ├── com │ └── danielfreeman │ │ ├── extendedMadness │ │ ├── AlertMessage.html │ │ ├── DGModel.html │ │ ├── Star.html │ │ ├── UIBarChart.html │ │ ├── UICell.html │ │ ├── UICheckBox.html │ │ ├── UICutCopyPaste.html │ │ ├── UIDropWindow.html │ │ ├── UIFastDataGrid.html │ │ ├── UIField.html │ │ ├── UIHorizontalChart.html │ │ ├── UIIcons.html │ │ ├── UIImage9.html │ │ ├── UIImageX.html │ │ ├── UILabelFTE.html │ │ ├── UILine.html │ │ ├── UILineChart.html │ │ ├── UIListHorizontal.html │ │ ├── UIMenu.html │ │ ├── UIPageTurn.html │ │ ├── UIPanel.html │ │ ├── UIPieChart.html │ │ ├── UIProgressBar.html │ │ ├── UIRadialSlider.html │ │ ├── UIRadioButton.html │ │ ├── UIScatterChart.html │ │ ├── UIScreens.html │ │ ├── UIScrollBarHorizontal.html │ │ ├── UIScrollBarPanel.html │ │ ├── UIScrollBarVertical.html │ │ ├── UIScrollDataGrid.html │ │ ├── UIScrollDataGrids.html │ │ ├── UIScrollHorizontal.html │ │ ├── UIScrollTouchGrids.html │ │ ├── UIScrollXY.html │ │ ├── UISegmentedControl.html │ │ ├── UISimpleDataGrid.html │ │ ├── UISkin.html │ │ ├── UISlideOutNavigation.html │ │ ├── UISpecialDataGrid.html │ │ ├── UISplitView.html │ │ ├── UIStarRating.html │ │ ├── UISwitchX.html │ │ ├── UITabButtonRow.html │ │ ├── UITabPagesSliding.html │ │ ├── UITabPagesTop.html │ │ ├── UITable.html │ │ ├── UITextSlider.html │ │ ├── UITick.html │ │ ├── UITickList.html │ │ ├── UITickOneList.html │ │ ├── UITouch.html │ │ ├── UITreeNavigation.html │ │ ├── UIWheelMenu.html │ │ ├── UIe.html │ │ ├── class-list.html │ │ └── package-detail.html │ │ └── madcomponents │ │ ├── Attributes.html │ │ ├── Colour.html │ │ ├── IComponentUI.html │ │ ├── IContainerUI.html │ │ ├── MadMasking.html │ │ ├── MadSprite.html │ │ ├── Model.html │ │ ├── TinyJSON.html │ │ ├── UI.html │ │ ├── UIActivity.html │ │ ├── UIBackButton.html │ │ ├── UIBlueText.html │ │ ├── UIButton.html │ │ ├── UIButtonX.html │ │ ├── UICircular.html │ │ ├── UIContainerBaseClass.html │ │ ├── UIDividedList.html │ │ ├── UIForm.html │ │ ├── UIGroupedList.html │ │ ├── UIImage.html │ │ ├── UIImageLoader.html │ │ ├── UIInput.html │ │ ├── UIInputX.html │ │ ├── UILabel.html │ │ ├── UILabelX.html │ │ ├── UIList.html │ │ ├── UILongList.html │ │ ├── UINavigation.html │ │ ├── UINavigationBar.html │ │ ├── UINavigationPages.html │ │ ├── UIPages.html │ │ ├── UIPicker.html │ │ ├── UIPickerView.html │ │ ├── UIRefresh.html │ │ ├── UIRenderer.html │ │ ├── UIScrollVertical.html │ │ ├── UISearch.html │ │ ├── UISlider.html │ │ ├── UISliderX.html │ │ ├── UISpacer.html │ │ ├── UISwitch.html │ │ ├── UITabButton.html │ │ ├── UITabPages.html │ │ ├── UIViewFlipper.html │ │ ├── UIWindow.html │ │ ├── class-list.html │ │ └── package-detail.html ├── cookies.js ├── help.js ├── images │ ├── AirIcon12x12.gif │ ├── P_AlternativeMetadataIndicator_30x28_N.png │ ├── collapsed.gif │ ├── detailHeaderRule.jpg │ ├── detailSectionHeader.jpg │ ├── expanded.gif │ ├── inherit-arrow.gif │ ├── inheritedSummary.gif │ ├── logo.jpg │ ├── titleTableBottom.jpg │ ├── titleTableMiddle.jpg │ └── titleTableTop.jpg ├── index-list.html ├── index.html ├── override.css ├── package-frame.html ├── package-list.html ├── package-summary.html ├── print.css ├── style.css ├── title-bar.html └── validation_errors.log ├── examples ├── Chapter3Calculator.as ├── DataGridExample1.as ├── DataGridExample2.as ├── DataGridExample3.as ├── DataGridExample4.as ├── ExtendedMadnessDataGrid.as ├── ExtendedMadnessDetailList.as ├── ExtendedMadnessInWindow.as ├── ExtendedMadnessPureSegmented.as ├── ExtendedMadnessScreens.as ├── ExtendedMadnessScrollXY.as ├── ExtendedMadnessSplitView.as ├── ExtendedMadnessTabPagesNav.as ├── ExtendedMadnessTabPagesTop.as ├── ExtendedMadnessTickList.as ├── ExtendedMadnessTreeNavigation.as ├── ExtendedMadnessTreeNavigation2.as ├── GameTeamExample.as ├── MadComponents.as ├── MadComponents9Patch.as ├── MadComponentsAMF.as ├── MadComponentsDividedList.as ├── MadComponentsFragment0.as ├── MadComponentsFragment1.as ├── MadComponentsFragment2.as ├── MadComponentsFullPageTab.as ├── MadComponentsJSON.as ├── MadComponentsLongList.as ├── MadComponentsNavigation.as ├── MadComponentsNavigationPages.as ├── MadComponentsNavigationT0.as ├── MadComponentsNavigationT1.as ├── MadComponentsNavigationT2.as ├── MadComponentsPicker.as ├── MadComponentsViewFlipper.as ├── MadGroups.as ├── MadHelloWorld.as ├── MadImage.as ├── MadLists.as └── images │ ├── arrow.png │ ├── buddha.jpg │ ├── dragon.jpg │ ├── faces.jpg │ ├── list.png │ ├── monks.jpg │ ├── mp3_48.png │ ├── mp4_48.png │ ├── options.png │ ├── palm_48.png │ ├── psp_48.png │ ├── red.png │ ├── refresh.png │ ├── target.png │ ├── temple.jpg │ ├── thailand.png │ ├── usb_48.png │ ├── views.png │ └── zoomin.png └── src ├── asfiles ├── .svn │ ├── all-wcprops │ ├── entries │ └── text-base │ │ ├── AlertIcon.as.svn-base │ │ ├── AltCursor.as.svn-base │ │ ├── Bar.as.svn-base │ │ ├── BarGraph.as.svn-base │ │ ├── Cell.as.svn-base │ │ ├── ClickButton.as.svn-base │ │ ├── Cross.as.svn-base │ │ ├── Cursor.as.svn-base │ │ ├── GraphPalette.as.svn-base │ │ ├── GraphSettings.as.svn-base │ │ ├── GraphShape.as.svn-base │ │ ├── HBar.as.svn-base │ │ ├── HBarGraph.as.svn-base │ │ ├── HintText.as.svn-base │ │ ├── Line.as.svn-base │ │ ├── LineGraph.as.svn-base │ │ ├── MyButton.as.svn-base │ │ ├── MyEvent.as.svn-base │ │ ├── MyEventBubbling.as.svn-base │ │ ├── MyMenu.as.svn-base │ │ ├── MyPopUp.as.svn-base │ │ ├── MyTextMenu.as.svn-base │ │ ├── Packet.as.svn-base │ │ ├── PieGraph.as.svn-base │ │ ├── PrintAt.as.svn-base │ │ ├── ScatterGraph.as.svn-base │ │ ├── ScrollBar.as.svn-base │ │ ├── ScrollBarButton.as.svn-base │ │ ├── ScrollBarSkins.as.svn-base │ │ ├── ScrollBarSlider.as.svn-base │ │ ├── ScrollBarStyle.as.svn-base │ │ ├── ScrollBarTrack.as.svn-base │ │ ├── Segment.as.svn-base │ │ ├── SimplePalette.as.svn-base │ │ └── TextMenu.as.svn-base ├── AlertIcon.as ├── AltCursor.as ├── Bar.as ├── BarGraph.as ├── Cell.as ├── ClickButton.as ├── Cross.as ├── Cursor.as ├── GraphPalette.as ├── GraphSettings.as ├── GraphShape.as ├── HBar.as ├── HBarGraph.as ├── HintText.as ├── Line.as ├── LineGraph.as ├── MyButton.as ├── MyEvent.as ├── MyEventBubbling.as ├── MyMenu.as ├── MyPopUp.as ├── MyTextMenu.as ├── Packet.as ├── PieGraph.as ├── PrintAt.as ├── ScatterGraph.as ├── ScrollBar.as ├── ScrollBarButton.as ├── ScrollBarSkins.as ├── ScrollBarSlider.as ├── ScrollBarStyle.as ├── ScrollBarTrack.as ├── Segment.as ├── SimplePalette.as └── TextMenu.as └── com └── danielfreeman ├── extendedMadness ├── .svn │ ├── all-wcprops │ ├── entries │ └── text-base │ │ ├── AlertMessage.as.svn-base │ │ ├── DGModel.as.svn-base │ │ ├── Star.as.svn-base │ │ ├── UIBarChart.as.svn-base │ │ ├── UICheckBox.as.svn-base │ │ ├── UIContainerBaseClass.as.svn-base │ │ ├── UICutCopyPaste.as.svn-base │ │ ├── UIDataGrid.as.svn-base │ │ ├── UIDetailList.as.svn-base │ │ ├── UIDropWindow.as.svn-base │ │ ├── UIField.as.svn-base │ │ ├── UIHorizontalChart.as.svn-base │ │ ├── UIIcons.as.svn-base │ │ ├── UIImage9.as.svn-base │ │ ├── UIImageX.as.svn-base │ │ ├── UILine.as.svn-base │ │ ├── UILineChart.as.svn-base │ │ ├── UIListHorizontal.as.svn-base │ │ ├── UIMenu.as.svn-base │ │ ├── UIPageTurn.as.svn-base │ │ ├── UIPanel.as.svn-base │ │ ├── UIPieChart.as.svn-base │ │ ├── UIPopUpButton.as.svn-base │ │ ├── UIProgressBar.as.svn-base │ │ ├── UIRadioButton.as.svn-base │ │ ├── UIScatterChart.as.svn-base │ │ ├── UIScrollBarHorizontal.as.svn-base │ │ ├── UIScrollBarPanel.as.svn-base │ │ ├── UIScrollBarVertical.as.svn-base │ │ ├── UIScrollHorizontal.as.svn-base │ │ ├── UIScrollXY.as.svn-base │ │ ├── UISegmentedControl.as.svn-base │ │ ├── UISkin.as.svn-base │ │ ├── UISlideOutNavigation.as.svn-base │ │ ├── UISplitView.as.svn-base │ │ ├── UIStarRating.as.svn-base │ │ ├── UITabButtonRow.as.svn-base │ │ ├── UITabPagesTop.as.svn-base │ │ ├── UITick.as.svn-base │ │ ├── UITickList.as.svn-base │ │ ├── UITickOneList.as.svn-base │ │ ├── UITouch.as.svn-base │ │ ├── UITreeNavigation.as.svn-base │ │ ├── UIWheelMenu.as.svn-base │ │ └── UIe.as.svn-base ├── AlertMessage.as ├── DGModel.as ├── Star.as ├── UIBarChart.as ├── UICell.as ├── UICheckBox.as ├── UICutCopyPaste.as ├── UIDropWindow.as ├── UIFastDataGrid.as ├── UIField.as ├── UIHorizontalChart.as ├── UIIcons.as ├── UIImage9.as ├── UIImageX.as ├── UILabelFTE.as ├── UILine.as ├── UILineChart.as ├── UIListHorizontal.as ├── UIMenu.as ├── UIPageTurn.as ├── UIPanel.as ├── UIPieChart.as ├── UIProgressBar.as ├── UIRadialSlider.as ├── UIRadioButton.as ├── UIScatterChart.as ├── UIScreens.as ├── UIScrollBarHorizontal.as ├── UIScrollBarPanel.as ├── UIScrollBarVertical.as ├── UIScrollDataGrid.as ├── UIScrollDataGrids.as ├── UIScrollHorizontal.as ├── UIScrollTouchGrids.as ├── UIScrollXY.as ├── UISegmentedControl.as ├── UISimpleDataGrid.as ├── UISkin.as ├── UISlideOutNavigation.as ├── UISpecialDataGrid.as ├── UISplitView.as ├── UIStarRating.as ├── UISwitchX.as ├── UITabButtonRow.as ├── UITabPagesSliding.as ├── UITabPagesTop.as ├── UITable.as ├── UITextSlider.as ├── UITick.as ├── UITickList.as ├── UITickOneList.as ├── UITouch.as ├── UITreeNavigation.as ├── UIWheelMenu.as ├── UIe.as └── UIe.as.cpgz └── madcomponents ├── Attributes.as ├── Colour.as ├── IComponentUI.as ├── IContainerUI.as ├── MadMasking.as ├── MadSprite.as ├── Model.as ├── TinyJSON.as ├── UI.as ├── UI.as.cpgz ├── UIActivity.as ├── UIBackButton.as ├── UIBlueText.as ├── UIButton.as ├── UIButtonX.as ├── UICircular.as ├── UIContainerBaseClass.as ├── UIDividedList.as ├── UIForm.as ├── UIGroupedList.as ├── UIImage.as ├── UIImageLoader.as ├── UIInput.as ├── UIInputX.as ├── UILabel.as ├── UILabelX.as ├── UIList.as ├── UILongList.as ├── UINavigation.as ├── UINavigationBar.as ├── UINavigationPages.as ├── UIPages.as ├── UIPicker.as ├── UIPickerView.as ├── UIRefresh.as ├── UIRenderer.as ├── UIScrollVertical.as ├── UISearch.as ├── UISlider.as ├── UISliderX.as ├── UISpacer.as ├── UISwitch.as ├── UITabButton.as ├── UITabPages.as ├── UIViewFlipper.as └── UIWindow.as /LICENSE.txt: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Original Author: Daniel Freeman 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | The above copyright notice and this permission notice shall be included in 12 | all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 19 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 20 | THE SOFTWARE. 21 | 22 | Licensed under The MIT License 23 | Redistributions of files must retain the above copyright notice. -------------------------------------------------------------------------------- /README.txt: -------------------------------------------------------------------------------- 1 | User Interface components for Adobe AIR Mobile. 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. 2 | 3 | The model feature enables connection of lists and forms to remote data services. 4 | You can download or check-out a code example from here. Download documentation from:- 5 | 6 | http://code.google.com/p/mad-components/downloads/list 7 | 8 | INTRODUCTION 9 | http://madskool.wordpress.com/2011/03/18/madcomponents-wow/ 10 | 11 | TUTORIAL SERIES 12 | 1. http://madskool.wordpress.com/2011/06/20/tutorial-1-fb-4-5-hello-world-done-the-madcomponents-way/ 13 | 2. http://madskool.wordpress.com/2011/06/23/tutorial-2-images-and-nine-patch-images-in-madcomponents/ 14 | 3. http://madskool.wordpress.com/2011/06/30/tutorial-3-lists-and-pickers/ 15 | 4. http://madskool.wordpress.com/2011/07/01/tutorial-4-building-a-mobile-twitter-client/ 16 | 5. http://madskool.wordpress.com/2011/07/13/tutorial-5-deploying-to-mobile-devices/ 17 | 6. http://madskool.wordpress.com/2011/07/18/tutorial-6-more-madcomponents/ 18 | 7. http://madskool.wordpress.com/2011/07/25/tutorial-7-madcomponents-amf-service-test-drive-for-mobile/ 19 | 20 | Michael Martinez' tutorials:- 21 | http://caffeineindustries.com/?p=221 22 | http://caffeineindustries.com/?p=234 23 | http://caffeineindustries.com/?p=283 24 | -------------------------------------------------------------------------------- /bin/ExtendedMadnessLib0_3_1.swc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danfreeman/MadComponents/fc3f1e5104b04b9a1ca93b533ded3f8ab42dd617/bin/ExtendedMadnessLib0_3_1.swc -------------------------------------------------------------------------------- /bin/MadComponentsLib0_8_1.swc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danfreeman/MadComponents/fc3f1e5104b04b9a1ca93b533ded3f8ab42dd617/bin/MadComponentsLib0_8_1.swc -------------------------------------------------------------------------------- /doc/asfiles/class-list.html: -------------------------------------------------------------------------------- 1 | asfiles - API Documentation

Package asfiles

Classes
AlertIcon
AltCursor
Bar
BarGraph
Cell
ClickButton
Cross
Cursor
GraphPalette
GraphSettings
GraphShape
HBar
HBarGraph
HintText
Line
LineGraph
MyButton
MyEvent
MyMenu
MyPopUp
MyTextMenu
Packet
PieGraph
PrintAt
ScatterGraph
ScrollBar
ScrollBarButton
ScrollBarSkins
ScrollBarSlider
ScrollBarStyle
ScrollBarTrack
Segment
SimplePalette
-------------------------------------------------------------------------------- /doc/cookies.js: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // ADOBE SYSTEMS INCORPORATED 4 | // Copyright 2006-2008 Adobe Systems Incorporated 5 | // All Rights Reserved. 6 | // 7 | // NOTICE: Adobe permits you to use, modify, and distribute this file 8 | // in accordance with the terms of the license agreement accompanying it. 9 | // 10 | //////////////////////////////////////////////////////////////////////////////// 11 | 12 | /** 13 | * Read the JavaScript cookies tutorial at: 14 | * http://www.netspade.com/articles/javascript/cookies.xml 15 | */ 16 | 17 | /** 18 | * Sets a Cookie with the given name and value. 19 | * 20 | * name Name of the cookie 21 | * value Value of the cookie 22 | * [expires] Expiration date of the cookie (default: end of current session) 23 | * [path] Path where the cookie is valid (default: path of calling document) 24 | * [domain] Domain where the cookie is valid 25 | * (default: domain of calling document) 26 | * [secure] Boolean value indicating if the cookie transmission requires a 27 | * secure transmission 28 | */ 29 | function setCookie(name, value, expires, path, domain, secure) 30 | { 31 | document.cookie= name + "=" + escape(value) + 32 | ((expires) ? "; expires=" + expires.toGMTString() : "") + 33 | ((path) ? "; path=" + path : "") + 34 | ((domain) ? "; domain=" + domain : "") + 35 | ((secure) ? "; secure" : ""); 36 | } 37 | 38 | /** 39 | * Gets the value of the specified cookie. 40 | * 41 | * name Name of the desired cookie. 42 | * 43 | * Returns a string containing value of specified cookie, 44 | * or null if cookie does not exist. 45 | */ 46 | function getCookie(name) 47 | { 48 | var dc = document.cookie; 49 | var prefix = name + "="; 50 | var begin = dc.indexOf("; " + prefix); 51 | if (begin == -1) 52 | { 53 | begin = dc.indexOf(prefix); 54 | if (begin != 0) return null; 55 | } 56 | else 57 | { 58 | begin += 2; 59 | } 60 | var end = document.cookie.indexOf(";", begin); 61 | if (end == -1) 62 | { 63 | end = dc.length; 64 | } 65 | return unescape(dc.substring(begin + prefix.length, end)); 66 | } 67 | 68 | /** 69 | * Deletes the specified cookie. 70 | * 71 | * name name of the cookie 72 | * [path] path of the cookie (must be same as path used to create cookie) 73 | * [domain] domain of the cookie (must be same as domain used to create cookie) 74 | */ 75 | function deleteCookie(name, path, domain) 76 | { 77 | if (getCookie(name)) 78 | { 79 | document.cookie = name + "=" + 80 | ((path) ? "; path=" + path : "") + 81 | ((domain) ? "; domain=" + domain : "") + 82 | "; expires=Thu, 01-Jan-70 00:00:01 GMT"; 83 | } 84 | } 85 | -------------------------------------------------------------------------------- /doc/images/AirIcon12x12.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danfreeman/MadComponents/fc3f1e5104b04b9a1ca93b533ded3f8ab42dd617/doc/images/AirIcon12x12.gif -------------------------------------------------------------------------------- /doc/images/P_AlternativeMetadataIndicator_30x28_N.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danfreeman/MadComponents/fc3f1e5104b04b9a1ca93b533ded3f8ab42dd617/doc/images/P_AlternativeMetadataIndicator_30x28_N.png -------------------------------------------------------------------------------- /doc/images/collapsed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danfreeman/MadComponents/fc3f1e5104b04b9a1ca93b533ded3f8ab42dd617/doc/images/collapsed.gif -------------------------------------------------------------------------------- /doc/images/detailHeaderRule.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danfreeman/MadComponents/fc3f1e5104b04b9a1ca93b533ded3f8ab42dd617/doc/images/detailHeaderRule.jpg -------------------------------------------------------------------------------- /doc/images/detailSectionHeader.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danfreeman/MadComponents/fc3f1e5104b04b9a1ca93b533ded3f8ab42dd617/doc/images/detailSectionHeader.jpg -------------------------------------------------------------------------------- /doc/images/expanded.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danfreeman/MadComponents/fc3f1e5104b04b9a1ca93b533ded3f8ab42dd617/doc/images/expanded.gif -------------------------------------------------------------------------------- /doc/images/inherit-arrow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danfreeman/MadComponents/fc3f1e5104b04b9a1ca93b533ded3f8ab42dd617/doc/images/inherit-arrow.gif -------------------------------------------------------------------------------- /doc/images/inheritedSummary.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danfreeman/MadComponents/fc3f1e5104b04b9a1ca93b533ded3f8ab42dd617/doc/images/inheritedSummary.gif -------------------------------------------------------------------------------- /doc/images/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danfreeman/MadComponents/fc3f1e5104b04b9a1ca93b533ded3f8ab42dd617/doc/images/logo.jpg -------------------------------------------------------------------------------- /doc/images/titleTableBottom.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danfreeman/MadComponents/fc3f1e5104b04b9a1ca93b533ded3f8ab42dd617/doc/images/titleTableBottom.jpg -------------------------------------------------------------------------------- /doc/images/titleTableMiddle.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danfreeman/MadComponents/fc3f1e5104b04b9a1ca93b533ded3f8ab42dd617/doc/images/titleTableMiddle.jpg -------------------------------------------------------------------------------- /doc/images/titleTableTop.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danfreeman/MadComponents/fc3f1e5104b04b9a1ca93b533ded3f8ab42dd617/doc/images/titleTableTop.jpg -------------------------------------------------------------------------------- /doc/index-list.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | API Documentation 4 | 5 | 6 | 7 | 8 | 9 |

Index

10 | 11 | 12 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 |
AN
BO
CP
DQ
ER
FS
GT
HU
IV
JW
KX
LY
MZ
70 | -------------------------------------------------------------------------------- /doc/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | API Documentation 4 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | <body> 31 | <h2>Frame Alert</h2> 32 | <p> 33 | This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. 34 | <br> 35 | Link to <a href="package-summary.html">Non-frame version.</a> 36 | </p> 37 | </body> 38 | 39 | 40 | -------------------------------------------------------------------------------- /doc/override.css: -------------------------------------------------------------------------------- 1 | /* 2 | //////////////////////////////////////////////////////////////////////////////// 3 | // 4 | // ADOBE SYSTEMS INCORPORATED 5 | // Copyright 2008 Adobe Systems Incorporated 6 | // All Rights Reserved. 7 | // 8 | // NOTICE: Adobe permits you to use, modify, and distribute this file 9 | // in accordance with the terms of the license agreement accompanying it. 10 | // 11 | //////////////////////////////////////////////////////////////////////////////// 12 | */ -------------------------------------------------------------------------------- /doc/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | API Documentation 4 | 5 | 6 | 7 | 8 | 9 | <body> 10 | <h2>Frame Alert</h2> 11 | <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. 12 | <br> 13 | Link to<a href="package-summary.html">Non-frame version.</a> 14 | </p> 15 | </body> 16 | 17 | 18 | -------------------------------------------------------------------------------- /doc/package-list.html: -------------------------------------------------------------------------------- 1 | Package List - API Documentation

Packages

asfiles
com.danielfreeman.extendedMadness
com.danielfreeman.madcomponents
-------------------------------------------------------------------------------- /doc/print.css: -------------------------------------------------------------------------------- 1 | /* 2 | //////////////////////////////////////////////////////////////////////////////// 3 | // 4 | // ADOBE SYSTEMS INCORPORATED 5 | // Copyright 2005-2008 Adobe Systems Incorporated 6 | // All Rights Reserved. 7 | // 8 | // NOTICE: Adobe permits you to use, modify, and distribute this file 9 | // in accordance with the terms of the license agreement accompanying it. 10 | // 11 | //////////////////////////////////////////////////////////////////////////////// 12 | */ 13 | 14 | body { 15 | color: #000000; 16 | background: #ffffff; 17 | font-family: "Times New Roman", Times, serif; 18 | font-size: 12pt; 19 | } 20 | a { 21 | text-decoration: none; 22 | color: #000000; 23 | } 24 | pre { 25 | white-space: -moz-pre-wrap; /* Mozilla */ 26 | white-space: -pre-wrap; /* Opera 4-6 */ 27 | white-space: -o-pre-wrap; /* Opera 7 */ 28 | word-wrap: break-word; /* IE */ 29 | } 30 | .titleTableTopNav, .titleTableSubNav, .logoImage { 31 | display: none; 32 | } 33 | .packageFrame { 34 | display: none; 35 | } 36 | .titleTableSubTitle { 37 | font-weight: bold; 38 | } 39 | .classHeaderTableLabel { 40 | padding-right: 10px; 41 | vertical-align: top; 42 | } 43 | .showHideLinks { 44 | display: none; 45 | } 46 | html>body code { 47 | font-size: 10pt; 48 | } 49 | .summaryTableTitle, .detailSectionHeader { 50 | font-size: 14pt; 51 | font-weight: bold; 52 | padding-top: 15px; 53 | padding-bottom: 5px; 54 | } 55 | .summaryTable { 56 | border: 1px solid #000000; 57 | border-collapse: collapse; 58 | width: 100%; 59 | } 60 | .summaryTableDescription { 61 | padding-bottom: 20px; 62 | } 63 | .summaryTableSignatureCol, .summaryTableOwnerCol, .summaryTableLastCol, .summaryTableCol { 64 | border: 1px solid #000000; 65 | } 66 | .summaryTablePaddingCol { 67 | border: 1px solid #000000; 68 | border-right: 0px; 69 | } 70 | .summaryTableInheritanceCol, .summaryTableOperatorCol, .summaryTableStatementCol, .summaryTableSecondCol { 71 | border: 1px solid #000000; 72 | border-left: 0px; 73 | } 74 | .summaryTableLastCol { 75 | vertical-align: top; 76 | } 77 | .detailHeader { 78 | font-size: 13pt; 79 | padding-top: 100px; 80 | } 81 | .detailHeaderName { 82 | font-weight: bold; 83 | } 84 | .detailHeaderType { 85 | padding-left: 5px; 86 | } 87 | .detailHeaderRule { 88 | background: #FF0000; 89 | } 90 | .seeAlso { 91 | padding-bottom: 20px; 92 | margin-top: -20px; 93 | } 94 | .innertable { 95 | border-collapse: collapse; 96 | } 97 | .innertable td,.innertable th { 98 | border: 1px solid #000000; 99 | padding-left: 5px; 100 | padding-right: 5px; 101 | } 102 | .listing { 103 | font-size: 10pt; 104 | } 105 | .feedbackLink { 106 | display: none; 107 | } 108 | .copyright { 109 | font-size: 10pt; 110 | } -------------------------------------------------------------------------------- /doc/validation_errors.log: -------------------------------------------------------------------------------- 1 | Text for description in com.danielfreeman.extendedMadness:UIImageX is not valid. 2 | org.xml.sax.SAXParseException: The element type "image" must be terminated by the matching end-tag "". 3 | 4 | -------------------------------------------------------------------------------- /examples/Chapter3Calculator.as: -------------------------------------------------------------------------------- 1 | package 2 | { 3 | import com.danielfreeman.madcomponents.*; 4 | 5 | import flash.display.Sprite; 6 | import flash.display.StageAlign; 7 | import flash.display.StageScaleMode; 8 | import flash.events.Event; 9 | 10 | 11 | public class Chapter3Calculator extends Sprite { 12 | 13 | protected static const CALCULATOR:XML = 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 31 | ; 32 | 33 | protected var _numberA:UIInput; 34 | protected var _numberB:UIInput; 35 | protected var _plus:UIButton; 36 | protected var _minus:UIButton; 37 | protected var _multiply:UIButton; 38 | protected var _divide:UIButton; 39 | protected var _result:UILabel; 40 | 41 | 42 | public function Chapter3Calculator(screen:Sprite = null) { 43 | if (screen) 44 | screen.addChild(this); 45 | 46 | stage.align = StageAlign.TOP_LEFT; 47 | stage.scaleMode = StageScaleMode.NO_SCALE; 48 | 49 | UI.create(this, CALCULATOR); 50 | 51 | initialise(); 52 | addEventListeners(); 53 | } 54 | 55 | 56 | protected function initialise():void { 57 | _numberA = UIInput( UI.findViewById("numberA") ); 58 | _numberB = UIInput( UI.findViewById("numberB") ); 59 | _plus = UIButton( UI.findViewById("plus") ); 60 | _minus = UIButton( UI.findViewById("minus") ); 61 | _multiply = UIButton( UI.findViewById("multiply") ); 62 | _divide = UIButton( UI.findViewById("divide") ); 63 | _result = UILabel( UI.findViewById("result") ); 64 | } 65 | 66 | 67 | protected function addEventListeners():void { 68 | _plus.addEventListener(UIButton.CLICKED, plusHandler); 69 | _minus.addEventListener(UIButton.CLICKED, minusHandler); 70 | _multiply.addEventListener(UIButton.CLICKED, multiplyHandler); 71 | _divide.addEventListener(UIButton.CLICKED, divideHandler); 72 | } 73 | 74 | 75 | protected function plusHandler(event:Event):void { 76 | _result.text = _numberA.text + " + " + _numberB.text + " = " + (parseFloat(_numberA.text) + parseFloat(_numberB.text)).toString(); 77 | } 78 | 79 | 80 | protected function minusHandler(event:Event):void { 81 | _result.text = _numberA.text + " - " + _numberB.text + " = " + (parseFloat(_numberA.text) - parseFloat(_numberB.text)).toString(); 82 | } 83 | 84 | 85 | protected function multiplyHandler(event:Event):void { 86 | _result.text = _numberA.text + " * " + _numberB.text + " = " + (parseFloat(_numberA.text) * parseFloat(_numberB.text)).toString(); 87 | } 88 | 89 | 90 | protected function divideHandler(event:Event):void { 91 | _result.text = _numberA.text + " / " + _numberB.text + " = " + (parseFloat(_numberA.text) / parseFloat(_numberB.text)).toString(); 92 | } 93 | } 94 | } -------------------------------------------------------------------------------- /examples/ExtendedMadnessDataGrid.as: -------------------------------------------------------------------------------- 1 | package 2 | { 3 | import asfiles.MyEvent; 4 | 5 | import com.danielfreeman.extendedMadness.*; 6 | import com.danielfreeman.madcomponents.*; 7 | 8 | import flash.display.Sprite; 9 | import flash.display.StageAlign; 10 | import flash.display.StageScaleMode; 11 | 12 | 13 | public class ExtendedMadnessDataGrid extends Sprite 14 | { 15 |         protected static const DATA_GRID:XML = 16 | 17 |                                                 30,30,40 18 |                                                 
one,two,three
19 |                                                  20 |                                                     1,2,3 21 |                                                     4,5,6 22 |                                                     7,8,9 23 |                                                     2,7,5 24 |                                                     1,2,3 25 |                                                     4,5,6 26 |                                                     7,8,9 27 |                                                     2,7,5 28 |                                                  29 |                                             
30 |
; 31 | 32 | 33 | public function ExtendedMadnessDataGrid(screen:Sprite = null) 34 | { 35 | if (screen) 36 | screen.addChild(this); 37 | 38 | stage.align = StageAlign.TOP_LEFT; 39 | stage.scaleMode = StageScaleMode.NO_SCALE; 40 | 41 | UIe.create(this, DATA_GRID); 42 | } 43 | } 44 | } -------------------------------------------------------------------------------- /examples/ExtendedMadnessDetailList.as: -------------------------------------------------------------------------------- 1 | package 2 | { 3 | import asfiles.MyEvent; 4 | 5 | import com.danielfreeman.extendedMadness.*; 6 | import com.danielfreeman.madcomponents.*; 7 | 8 | import flash.display.Sprite; 9 | import flash.display.StageAlign; 10 | import flash.display.StageScaleMode; 11 | import flash.utils.getQualifiedClassName; 12 | 13 | 14 | public class ExtendedMadnessDetailList extends Sprite 15 | { 16 | protected static const FRUIT_DATA:XML = 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | ; 34 | 35 | 36 | protected static const DETAIL_LIST:XML = 37 | 38 | 39 | {FRUIT_DATA} 40 | 41 | 42 | 43 | option 1 44 | option 2 45 | option 3 46 | 47 | 48 | radio 1 49 | radio 2 50 | radio 3 51 | 52 | 53 | 54 | ; 55 | 56 | 57 | public function ExtendedMadnessDetailList(screen:Sprite = null) 58 | { 59 | if (screen) 60 | screen.addChild(this); 61 | 62 | stage.align = StageAlign.TOP_LEFT; 63 | stage.scaleMode = StageScaleMode.NO_SCALE; 64 | 65 | UIe.create(this, DETAIL_LIST); 66 | } 67 | } 68 | } -------------------------------------------------------------------------------- /examples/ExtendedMadnessPureSegmented.as: -------------------------------------------------------------------------------- 1 | package 2 | { 3 | import com.danielfreeman.extendedMadness.*; 4 | import com.danielfreeman.madcomponents.*; 5 | 6 | import flash.display.Sprite; 7 | import flash.display.StageAlign; 8 | import flash.display.StageScaleMode; 9 | 10 | public class ExtendedMadnessPureSegmented extends Sprite 11 | { 12 | protected static const DATA:XML = 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | ; 21 | 22 | public function ExtendedMadnessPureSegmented(screen:Sprite = null) { 23 | if (screen) 24 | screen.addChild(this); 25 | 26 | stage.align = StageAlign.TOP_LEFT; 27 | stage.scaleMode = StageScaleMode.NO_SCALE; 28 | var attributes:Attributes = new Attributes(0,0,250,50); 29 | attributes.parse(