TDF with modules where possible
Project: http://git-wip-us.apache.org/repos/asf/flex-examples/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-examples/commit/9343d391 Tree: http://git-wip-us.apache.org/repos/asf/flex-examples/tree/9343d391 Diff: http://git-wip-us.apache.org/repos/asf/flex-examples/diff/9343d391 Branch: refs/heads/develop Commit: 9343d3911fa67e55e9c3dc54c161c58dbcf61d5f Parents: 62c9e52 Author: Alex Harui <[email protected]> Authored: Tue Jul 31 10:13:15 2018 -0700 Committer: Alex Harui <[email protected]> Committed: Tue Jul 31 10:13:15 2018 -0700 ---------------------------------------------------------------------- tourdeflexmodules/README | 80 ++ tourdeflexmodules/RELEASE_NOTES | 68 ++ tourdeflexmodules/build.xml | 524 +++++++++++++ .../html-template/history/history.css | 22 + .../html-template/history/history.js | 694 +++++++++++++++++ .../html-template/history/historyFrame.html | 45 ++ .../html-template/index.template.html | 124 +++ tourdeflexmodules/installer.xml | 127 +++ tourdeflexmodules/src/3rdparty.xml | 30 + tourdeflexmodules/src/SourceTab.mxml | 87 +++ tourdeflexmodules/src/SpellingConfig.xml | 23 + tourdeflexmodules/src/ThirdPartyTab.mxml | 31 + tourdeflexmodules/src/Welcome.mxml | 52 ++ .../src/apache/ApacheFlex4_10_0.mxml | 55 ++ .../src/apache/ApacheFlex4_11_0.mxml | 55 ++ .../src/apache/ApacheFlex4_12_1.mxml | 57 ++ .../src/apache/ApacheFlex4_13_0.mxml | 53 ++ .../src/apache/ApacheFlex4_14_0.mxml | 53 ++ .../src/apache/ApacheFlex4_8_0.mxml | 51 ++ .../src/apache/ApacheFlex4_9_0.mxml | 57 ++ tourdeflexmodules/src/apache/Squiggly1_1.mxml | 50 ++ .../src/apache/assets/ApacheFlexLogo.png | Bin 0 -> 71228 bytes .../src/apache/containers/CalloutExample.mxml | 41 + .../apache/controls/MaskedTextInputExample.mxml | 34 + .../controls/SparkRichTextEditorExample.mxml | 57 ++ .../formatters/PostCodeFormatterExample.mxml | 88 +++ .../src/apache/i18n/DateExample.mxml | 84 ++ .../src/apache/i18n/LocaleExample.mxml | 67 ++ .../src/apache/i18n/MillisecondExample.mxml | 57 ++ .../src/apache/i18n/NumericStepperExample.mxml | 34 + .../src/apache/i18n/ScientificExample.mxml | 44 ++ .../src/apache/i18n/TimeZoneExample.mxml | 67 ++ .../src/apache/squiggly/SpellingConfig.xml | 23 + .../src/apache/squiggly/SpellingExExample.mxml | 44 ++ .../src/apache/squiggly/SpellingExample.mxml | 49 ++ .../validators/PostCodeValidatorExample.mxml | 85 ++ tourdeflexmodules/src/explorer.mxml | 232 ++++++ tourdeflexmodules/src/explorer.xml | 486 ++++++++++++ tourdeflexmodules/src/favicon.ico | Bin 0 -> 1150 bytes tourdeflexmodules/src/index.html | 79 ++ tourdeflexmodules/src/loaderPanel.mxml | 71 ++ .../src/mx/charts/BubbleChartExample.mxml | 64 ++ .../src/mx/charts/CandlestickChartExample.mxml | 90 +++ .../src/mx/charts/Column_BarChartExample.mxml | 119 +++ .../src/mx/charts/DateTimeAxisExample.mxml | 72 ++ .../src/mx/charts/GridLinesExample.mxml | 71 ++ .../src/mx/charts/HLOCChartExample.mxml | 81 ++ .../src/mx/charts/Line_AreaChartExample.mxml | 91 +++ .../src/mx/charts/LogAxisExample.mxml | 65 ++ .../src/mx/charts/PieChartExample.mxml | 86 ++ .../src/mx/charts/PlotChartExample.mxml | 81 ++ .../src/mx/charts/SeriesInterpolateExample.mxml | 99 +++ .../src/mx/charts/SeriesSlideExample.mxml | 101 +++ .../src/mx/charts/SeriesZoomExample.mxml | 101 +++ .../src/mx/containers/AccordionExample.mxml | 56 ++ .../src/mx/containers/DividedBoxExample.mxml | 42 + .../src/mx/containers/FormExample.mxml | 88 +++ .../src/mx/containers/GridLayoutExample.mxml | 70 ++ .../src/mx/containers/HBoxExample.mxml | 42 + .../src/mx/containers/HDividedBoxExample.mxml | 44 ++ .../SimpleApplicationControlBarExample.mxml | 58 ++ .../src/mx/containers/SimpleBoxExample.mxml | 49 ++ .../src/mx/containers/SimpleCanvasExample.mxml | 48 ++ .../mx/containers/SimpleControlBarExample.mxml | 44 ++ .../src/mx/containers/SimplePanelExample.mxml | 47 ++ .../mx/containers/SimpleTitleWindowExample.mxml | 52 ++ .../src/mx/containers/TabNavigatorExample.mxml | 57 ++ .../src/mx/containers/TileLayoutExample.mxml | 45 ++ .../src/mx/containers/TitleWindowApp.mxml | 66 ++ .../src/mx/containers/VBoxExample.mxml | 42 + .../src/mx/containers/VDividedBoxExample.mxml | 44 ++ .../src/mx/containers/ViewStackExample.mxml | 60 ++ .../src/mx/containers/assets/ApacheFlexLogo.png | Bin 0 -> 71228 bytes .../mx/controls/AdvancedDataGridExample.mxml | 78 ++ .../src/mx/controls/ButtonBarExample.mxml | 58 ++ .../src/mx/controls/ButtonExample.mxml | 65 ++ .../src/mx/controls/CheckBoxExample.mxml | 78 ++ .../src/mx/controls/ColorPickerExample.mxml | 35 + .../src/mx/controls/DateChooserExample.mxml | 70 ++ .../src/mx/controls/DateFieldExample.mxml | 60 ++ .../src/mx/controls/HScrollBarExample.mxml | 58 ++ .../src/mx/controls/HorizontalListExample.mxml | 70 ++ .../src/mx/controls/LabelExample.mxml | 50 ++ .../src/mx/controls/LinkBarExample.mxml | 50 ++ .../src/mx/controls/LinkButtonExample.mxml | 40 + tourdeflexmodules/src/mx/controls/Local.mxml | 26 + .../src/mx/controls/MenuBarExample.mxml | 81 ++ .../src/mx/controls/NumericStepperExample.mxml | 45 ++ .../src/mx/controls/OLAPDataGridExample.mxml | 208 +++++ .../src/mx/controls/PopUpButtonExample.mxml | 68 ++ .../src/mx/controls/PopUpButtonMenuExample.mxml | 59 ++ .../src/mx/controls/RadioButtonExample.mxml | 44 ++ .../mx/controls/RadioButtonGroupExample.mxml | 64 ++ .../src/mx/controls/RichTextEditorExample.mxml | 39 + .../src/mx/controls/SimpleAlert.mxml | 78 ++ .../src/mx/controls/SimpleComboBox.mxml | 55 ++ .../src/mx/controls/SimpleDataGrid.mxml | 81 ++ .../src/mx/controls/SimpleHRule.mxml | 38 + .../src/mx/controls/SimpleImage.mxml | 32 + .../src/mx/controls/SimpleImageHSlider.mxml | 60 ++ .../src/mx/controls/SimpleImageVSlider.mxml | 64 ++ .../src/mx/controls/SimpleList.mxml | 62 ++ .../src/mx/controls/SimpleLoader.mxml | 34 + .../src/mx/controls/SimpleMenuExample.mxml | 75 ++ .../src/mx/controls/SimpleProgressBar.mxml | 60 ++ .../src/mx/controls/SimpleVRule.mxml | 34 + .../src/mx/controls/SpacerExample.mxml | 39 + .../src/mx/controls/TabBarExample.mxml | 60 ++ .../src/mx/controls/TextAreaExample.mxml | 40 + .../src/mx/controls/TextExample.mxml | 42 + .../src/mx/controls/TextInputExample.mxml | 35 + .../src/mx/controls/TileListExample.mxml | 71 ++ .../src/mx/controls/ToggleButtonBarExample.mxml | 58 ++ .../src/mx/controls/TreeExample.mxml | 70 ++ .../src/mx/controls/VScrollBarExample.mxml | 58 ++ .../src/mx/controls/VideoDisplayExample.mxml | 40 + .../src/mx/controls/assets/ApacheFlexIcon.png | Bin 0 -> 7983 bytes .../src/mx/controls/assets/ApacheFlexLogo.png | Bin 0 -> 71228 bytes .../src/mx/controls/assets/buttonDisabled.gif | Bin 0 -> 537 bytes .../src/mx/controls/assets/buttonDown.gif | Bin 0 -> 592 bytes .../src/mx/controls/assets/buttonOver.gif | Bin 0 -> 1175 bytes .../src/mx/controls/assets/buttonUp.gif | Bin 0 -> 626 bytes .../src/mx/controls/assets/flexinstaller.mp4 | Bin 0 -> 511625 bytes .../src/mx/core/RepeaterExample.mxml | 54 ++ .../src/mx/core/SimpleApplicationExample.mxml | 61 ++ .../mx/effects/AddItemActionEffectExample.mxml | 103 +++ .../effects/AnimatePropertyEffectExample.mxml | 42 + .../src/mx/effects/BlurEffectExample.mxml | 46 ++ .../src/mx/effects/CompositeEffectExample.mxml | 101 +++ .../mx/effects/DefaultListEffectExample.mxml | 80 ++ .../effects/DefaultTileListEffectExample.mxml | 82 ++ .../src/mx/effects/DissolveEffectExample.mxml | 61 ++ .../src/mx/effects/FadeEffectExample.mxml | 57 ++ .../src/mx/effects/GlowEffectExample.mxml | 50 ++ .../src/mx/effects/IrisEffectExample.mxml | 44 ++ .../src/mx/effects/MoveEffectExample.mxml | 54 ++ .../src/mx/effects/ParallelEffectExample.mxml | 54 ++ .../src/mx/effects/PauseEffectExample.mxml | 50 ++ .../src/mx/effects/ResizeEffectExample.mxml | 45 ++ .../src/mx/effects/RotateEffectExample.mxml | 69 ++ .../src/mx/effects/SequenceEffectExample.mxml | 50 ++ .../src/mx/effects/SimpleEffectExample.mxml | 70 ++ .../mx/effects/SimpleTweenEffectExample.mxml | 76 ++ .../src/mx/effects/SoundEffectExample.mxml | 40 + .../src/mx/effects/WipeDownExample.mxml | 49 ++ .../src/mx/effects/WipeLeftExample.mxml | 49 ++ .../src/mx/effects/WipeRightExample.mxml | 49 ++ .../src/mx/effects/WipeUpExample.mxml | 49 ++ .../src/mx/effects/ZoomEffectExample.mxml | 59 ++ .../src/mx/effects/assets/ApacheFlexLogo.png | Bin 0 -> 71228 bytes .../src/mx/effects/assets/OpenSans-Regular.ttf | Bin 0 -> 217360 bytes .../src/mx/effects/assets/ping.mp3 | Bin 0 -> 91582 bytes .../mx/formatters/CurrencyFormatterExample.mxml | 74 ++ .../src/mx/formatters/DateFormatterExample.mxml | 68 ++ .../mx/formatters/NumberFormatterExample.mxml | 71 ++ .../mx/formatters/PhoneFormatterExample.mxml | 70 ++ .../mx/formatters/SimpleFormatterExample.mxml | 68 ++ .../SwitchSymbolFormatterExample.mxml | 66 ++ .../mx/formatters/ZipCodeFormatterExample.mxml | 69 ++ .../printing/AdvancedPrintDataGridExample.mxml | 107 +++ .../src/mx/printing/FormPrintFooter.mxml | 34 + .../src/mx/printing/FormPrintHeader.mxml | 25 + .../src/mx/printing/FormPrintView.mxml | 77 ++ .../src/mx/printing/PrintDataGridExample.mxml | 145 ++++ .../src/mx/states/StatesExample.mxml | 59 ++ .../src/mx/states/TransitionExample.mxml | 85 ++ .../validators/CreditCardValidatorExample.mxml | 71 ++ .../mx/validators/CurrencyValidatorExample.mxml | 48 ++ .../src/mx/validators/DateValidatorExample.mxml | 55 ++ .../mx/validators/EmailValidatorExample.mxml | 48 ++ .../mx/validators/NumberValidatorExample.mxml | 49 ++ .../validators/PhoneNumberValidatorExample.mxml | 48 ++ .../mx/validators/RegExValidatorExample.mxml | 88 +++ .../mx/validators/SimpleValidatorExample.mxml | 79 ++ .../SocialSecurityValidatorExample.mxml | 48 ++ .../mx/validators/StringValidatorExample.mxml | 51 ++ .../mx/validators/ZipCodeValidatorExample.mxml | 48 ++ .../src/spark/charts/AreaChartExample.mxml | 63 ++ .../src/spark/charts/BarChartExample.mxml | 61 ++ .../src/spark/charts/BubbleChartExample.mxml | 64 ++ .../spark/charts/CandleStickChartExample.mxml | 70 ++ .../src/spark/charts/ColumnChartExample.mxml | 61 ++ .../src/spark/charts/HLOCChartExample.mxml | 69 ++ .../src/spark/charts/LineChartExample.mxml | 63 ++ .../src/spark/charts/PieChartExample.mxml | 68 ++ .../src/spark/charts/PlotChartExample.mxml | 57 ++ .../spark/charts/SeriesInterpolateExample.mxml | 105 +++ .../src/spark/charts/SeriesSlideExample.mxml | 107 +++ .../src/spark/charts/SeriesZoomExample.mxml | 106 +++ .../src/spark/components/SearchBox.as | 176 +++++ .../src/spark/components/SearchBoxEvent.as | 35 + .../src/spark/components/SearchExample.mxml | 81 ++ .../src/spark/components/VideoPlayer.mxml | 96 +++ .../spark/components/VideoPlayerExample.mxml | 39 + .../src/spark/components/VideoPlayerModule.mxml | 46 ++ .../components/VideoPlayerModuleLoader.mxml | 35 + .../spark/components/assets/FlexInstaller.mp4 | Bin 0 -> 511625 bytes .../components/assets/control_pause_blue.png | Bin 0 -> 721 bytes .../components/assets/control_play_blue.png | Bin 0 -> 717 bytes .../components/assets/control_stop_blue.png | Bin 0 -> 695 bytes .../src/spark/components/assets/icon_close.png | Bin 0 -> 59707 bytes .../src/spark/containers/BorderExample.mxml | 74 ++ .../src/spark/containers/Contact.as | 34 + .../src/spark/containers/GroupExample.mxml | 70 ++ .../src/spark/containers/PanelExample.mxml | 65 ++ .../src/spark/containers/SampleHGroup.mxml | 92 +++ .../src/spark/containers/SampleVGroup.mxml | 92 +++ .../SampleVerticalHorizontalAlign.mxml | 87 +++ .../SkinnableDataContainerExample.mxml | 65 ++ .../spark/containers/TabNavigator1Example.mxml | 103 +++ .../spark/containers/TabNavigator2Example.mxml | 110 +++ .../src/spark/containers/TileGroupExample.mxml | 100 +++ .../spark/containers/assets/arrow_icon_sm.png | Bin 0 -> 527 bytes .../src/spark/containers/personIcon.png | Bin 0 -> 3859 bytes .../skins/CustomTabBarButtonSkin.mxml | 264 +++++++ .../containers/skins/CustomTabBarSkin.mxml | 97 +++ .../src/spark/controls/AccordionExample.mxml | 59 ++ .../spark/controls/AdvancedDatagridExample.mxml | 87 +++ .../src/spark/controls/ButtonBarExample.mxml | 105 +++ .../src/spark/controls/ButtonExample.mxml | 61 ++ .../src/spark/controls/CheckboxExample.mxml | 76 ++ .../src/spark/controls/ColorPickerExample.mxml | 41 + .../src/spark/controls/ComboBoxExample.mxml | 61 ++ .../src/spark/controls/CustomDataGridSkin.mxml | 375 +++++++++ .../controls/DataGridCustomRendererExample.mxml | 62 ++ .../DataGridCustomRendererPrepareExample.mxml | 68 ++ .../controls/DataGridCustomSkinExample.mxml | 39 + .../src/spark/controls/DataGridExample.mxml | 86 ++ .../src/spark/controls/DataGridExample2.mxml | 47 ++ .../controls/DataGridSimpleColumnsExample.mxml | 49 ++ .../controls/DataGridSimpleNoWrapExample.mxml | 37 + .../spark/controls/DataGridSizingExample.mxml | 47 ++ .../src/spark/controls/DataGroupExample.mxml | 134 ++++ .../src/spark/controls/DateChooserExample.mxml | 71 ++ .../src/spark/controls/DateFieldExample.mxml | 85 ++ .../src/spark/controls/DropdownExample.mxml | 86 ++ .../src/spark/controls/FormExample.mxml | 82 ++ .../src/spark/controls/ImageExample.mxml | 57 ++ tourdeflexmodules/src/spark/controls/Item.as | 62 ++ .../src/spark/controls/LinkBarExample.mxml | 82 ++ .../src/spark/controls/LinkButtonExample.mxml | 41 + .../spark/controls/ListDataPagingExample.mxml | 80 ++ .../src/spark/controls/ListExample.mxml | 103 +++ .../src/spark/controls/MenuExample.mxml | 93 +++ .../src/spark/controls/MyListItemRenderer.mxml | 39 + .../src/spark/controls/MyTextFlow.xml | 23 + .../spark/controls/NumericStepperExample.mxml | 87 +++ .../src/spark/controls/OLAPDataGridExample.mxml | 223 ++++++ .../src/spark/controls/OSMFExample.mxml | 27 + .../src/spark/controls/PagedList.as | 510 ++++++++++++ .../src/spark/controls/PopUpAnchor1Example.mxml | 85 ++ .../src/spark/controls/PopUpAnchor2Example.mxml | 80 ++ .../src/spark/controls/PopupButtonExample.mxml | 75 ++ .../src/spark/controls/ProgressBarExample.mxml | 62 ++ .../src/spark/controls/RadioButtonExample.mxml | 94 +++ .../spark/controls/RichEditableTextExample.mxml | 95 +++ .../src/spark/controls/SWFLoaderExample.mxml | 47 ++ .../spark/controls/SampleHelpFormExample.mxml | 51 ++ .../controls/SampleSequenceFormExample.mxml | 44 ++ .../spark/controls/SampleSimpleFormExample.mxml | 44 ++ .../controls/SampleStackedFormExample.mxml | 45 ++ .../src/spark/controls/ScrollBarExample.mxml | 81 ++ .../src/spark/controls/Scroller1Example.mxml | 77 ++ .../src/spark/controls/Scroller2Example.mxml | 83 ++ .../controls/SimpleTitleWindowExample.mxml | 62 ++ .../src/spark/controls/SliderExample.mxml | 72 ++ .../src/spark/controls/SpinnerExample.mxml | 52 ++ .../controls/TDFGradientBackgroundSkin.mxml | 49 ++ .../src/spark/controls/TabNavigatorExample.mxml | 60 ++ .../src/spark/controls/TextAreaExample.mxml | 89 +++ .../src/spark/controls/TextInputExample.mxml | 100 +++ .../src/spark/controls/TextLayout1Example.mxml | 163 ++++ .../src/spark/controls/TextLayout2Example.mxml | 143 ++++ .../src/spark/controls/TextLayout3Example.mxml | 91 +++ .../src/spark/controls/TextLayout4Example.mxml | 78 ++ .../src/spark/controls/TitleWindowExample.mxml | 71 ++ .../spark/controls/ToggleButton2Example.mxml | 144 ++++ .../spark/controls/ToggleButtonBarExample.mxml | 64 ++ .../src/spark/controls/ToggleButtonExample.mxml | 78 ++ .../src/spark/controls/ToolTipExample.mxml | 38 + .../src/spark/controls/TreeExample.mxml | 78 ++ .../src/spark/controls/VideoDisplayExample.mxml | 63 ++ .../src/spark/controls/VideoPlayerExample.mxml | 73 ++ .../src/spark/controls/ViewStackExample.mxml | 103 +++ .../spark/controls/assets/ApacheFlexLogo.png | Bin 0 -> 71228 bytes .../src/spark/controls/assets/FlexInstaller.mp4 | Bin 0 -> 511625 bytes .../src/spark/controls/assets/arrow_icon.png | Bin 0 -> 817 bytes .../src/spark/controls/assets/arrow_icon_sm.png | Bin 0 -> 527 bytes .../controls/assets/control_pause_blue.png | Bin 0 -> 721 bytes .../spark/controls/assets/control_play_blue.png | Bin 0 -> 717 bytes .../spark/controls/assets/control_stop_blue.png | Bin 0 -> 695 bytes .../src/spark/controls/assets/icon_close.png | Bin 0 -> 59707 bytes .../src/spark/controls/iconclose.gif | Bin 0 -> 340 bytes .../src/spark/controls/iconinfo.gif | Bin 0 -> 227 bytes .../src/spark/controls/images/arrow_icon_sm.png | Bin 0 -> 527 bytes .../spark/controls/skins/CloseButtonSkin.mxml | 184 +++++ .../src/spark/controls/skins/MyPanelSkin.mxml | 101 +++ .../spark/css/CSSDescendantSelectorExample.mxml | 79 ++ .../src/spark/css/CSSIDSelectorExample.mxml | 72 ++ .../spark/css/CSSTypeClassSelectorExample.mxml | 74 ++ .../spark/effects/AnimatePropertiesExample.mxml | 80 ++ .../spark/effects/AnimateTransformExample.mxml | 79 ++ .../src/spark/effects/CrossFadeExample.mxml | 66 ++ .../src/spark/effects/FadeExample.mxml | 57 ++ .../src/spark/effects/Move3DExample.mxml | 95 +++ .../src/spark/effects/Rotate3DExample.mxml | 76 ++ .../src/spark/effects/Scale3DExample.mxml | 79 ++ .../src/spark/effects/WipeExample.mxml | 72 ++ .../src/spark/effects/assets/ApacheFlexIcon.png | Bin 0 -> 7983 bytes .../src/spark/effects/assets/ApacheFlexLogo.png | Bin 0 -> 71228 bytes .../src/spark/effects/assets/back.png | Bin 0 -> 121035 bytes .../src/spark/effects/assets/images/2.jpg | Bin 0 -> 549 bytes .../src/spark/effects/assets/images/3.jpg | Bin 0 -> 418 bytes .../src/spark/effects/assets/images/4.jpg | Bin 0 -> 911 bytes .../src/spark/effects/assets/images/5.jpg | Bin 0 -> 1617 bytes .../src/spark/effects/assets/images/6.jpg | Bin 0 -> 1061 bytes .../src/spark/effects/assets/images/7.jpg | Bin 0 -> 1754 bytes .../src/spark/effects/assets/images/8.jpg | Bin 0 -> 1716 bytes .../src/spark/effects/assets/images/9.jpg | Bin 0 -> 1552 bytes .../src/spark/events/EventExample1.mxml | 45 ++ .../src/spark/events/EventExample2.mxml | 49 ++ .../src/spark/events/EventExample3.mxml | 50 ++ .../src/spark/events/EventExample4.mxml | 56 ++ .../src/spark/events/EventExample5.mxml | 49 ++ .../src/spark/events/EventExample6.mxml | 51 ++ .../src/spark/events/FiveSecondTrigger.as | 44 ++ tourdeflexmodules/src/spark/events/MyEvent.as | 33 + .../spark/events/TDFGradientBackgroundSkin.mxml | 49 ++ .../formatters/CurrencyFormatterExample.mxml | 77 ++ .../spark/formatters/DateFormatterExample.mxml | 72 ++ .../formatters/NumberFormatterExample.mxml | 73 ++ .../spark/formatters/PhoneFormatterExample.mxml | 73 ++ .../formatters/SwitchFormatterExample.mxml | 75 ++ .../formatters/TDFGradientBackgroundSkin.mxml | 49 ++ .../formatters/ZipCodeFormatterExample.mxml | 74 ++ .../src/spark/fxg/BitmapImageExample.mxml | 69 ++ .../src/spark/fxg/DropShadowGraphicExample.mxml | 66 ++ .../src/spark/fxg/EclipseExample.mxml | 46 ++ .../src/spark/fxg/EllipseTransformExample.mxml | 71 ++ .../src/spark/fxg/LineExample.mxml | 96 +++ .../fxg/LinearGradientsSpreadMethodExample.mxml | 63 ++ .../src/spark/fxg/OrangeCrayonStar.fxg | 47 ++ .../src/spark/fxg/RectExample.mxml | 82 ++ .../src/spark/fxg/RichTextExample.mxml | 58 ++ .../src/spark/fxg/StaticFXGExample.mxml | 52 ++ .../src/spark/fxg/assets/ApacheFlexIcon.png | Bin 0 -> 7983 bytes .../src/spark/fxg/assets/ApacheFlexLogo.png | Bin 0 -> 71228 bytes .../src/spark/i18n/SparkCollator2Example.mxml | 86 ++ .../src/spark/i18n/SparkCollatorExample.mxml | 142 ++++ .../i18n/SparkCurrencyFormatter2Example.mxml | 57 ++ .../i18n/SparkCurrencyFormatterExample.mxml | 94 +++ .../i18n/SparkCurrencyValidator2Example.mxml | 58 ++ .../i18n/SparkCurrencyValidatorExample.mxml | 105 +++ .../i18n/SparkDateTimeFormatter2Example.mxml | 59 ++ .../i18n/SparkDateTimeFormatterExample.mxml | 86 ++ .../src/spark/i18n/SparkFormatterExample.mxml | 60 ++ .../i18n/SparkNumberFormatter2Example.mxml | 56 ++ .../spark/i18n/SparkNumberFormatterExample.mxml | 79 ++ .../i18n/SparkNumberValidator2Example.mxml | 56 ++ .../spark/i18n/SparkNumberValidatorExample.mxml | 83 ++ .../i18n/SparkSortandSortField2Example.mxml | 67 ++ .../i18n/SparkSortandSortFieldExample.mxml | 107 +++ .../src/spark/i18n/SparkStringToolsExample.mxml | 102 +++ .../src/spark/itemRenderers/Item.as | 62 ++ .../itemRenderers/ItemRenderer1Example.mxml | 58 ++ .../itemRenderers/ItemRenderer2Example.mxml | 69 ++ .../itemRenderers/ListItemRendererExample.mxml | 102 +++ .../spark/itemRenderers/MyListItemRenderer.mxml | 39 + .../src/spark/itemRenderers/assets/1.jpg | Bin 0 -> 549 bytes .../src/spark/itemRenderers/assets/2.jpg | Bin 0 -> 549 bytes .../src/spark/itemRenderers/assets/3.jpg | Bin 0 -> 418 bytes .../src/spark/itemRenderers/assets/4.jpg | Bin 0 -> 911 bytes .../src/spark/itemRenderers/assets/5.jpg | Bin 0 -> 1617 bytes .../src/spark/itemRenderers/assets/6.jpg | Bin 0 -> 1061 bytes .../src/spark/itemRenderers/assets/7.jpg | Bin 0 -> 1754 bytes .../src/spark/itemRenderers/assets/8.jpg | Bin 0 -> 1716 bytes .../src/spark/itemRenderers/assets/9.jpg | Bin 0 -> 1552 bytes .../itemRenderers/assets/ApacheFlexIcon.png | Bin 0 -> 7983 bytes .../src/spark/itemRenderers/data/list.xml | 96 +++ .../itemRenderers/renderers/ImageRenderer1.mxml | 56 ++ .../itemRenderers/renderers/ImageRenderer2.mxml | 54 ++ .../layouts/CustomLayoutAnimatedExample.mxml | 105 +++ .../layouts/CustomLayoutFlickrWheelExample.mxml | 84 ++ .../spark/layouts/CustomLayoutFlowExample.mxml | 85 ++ .../layouts/CustomLayoutHBaselineExample.mxml | 116 +++ .../src/spark/layouts/FlickrThumbnail.mxml | 80 ++ .../src/spark/layouts/FlowLayout1.as | 195 +++++ .../src/spark/layouts/HBaselineLayout.as | 199 +++++ .../spark/layouts/NumberInterpolatorWrapping.as | 110 +++ .../src/spark/layouts/WheelLayout.as | 516 ++++++++++++ .../src/spark/layouts/assets/ApacheFlexIcon.png | Bin 0 -> 7983 bytes .../src/spark/layouts/assets/xdslider.png | Bin 0 -> 359 bytes .../src/spark/layouts/data/catalog.xml | 179 +++++ .../spark/layouts/layouts/FilteredTileLayout.as | 260 +++++++ .../spark/layouts/renderers/PhoneRenderer.mxml | 60 ++ .../src/spark/modules/Module1.mxml | 24 + .../src/spark/modules/Module2.mxml | 24 + .../src/spark/modules/ModuleExample.mxml | 83 ++ .../modules/TDFGradientBackgroundSkin.mxml | 49 ++ .../other/BidirectionalBinding1Example.mxml | 42 + .../other/BidirectionalBinding2Example.mxml | 101 +++ tourdeflexmodules/src/spark/other/Contact.as | 37 + .../spark/other/ControllingViewportExample.mxml | 49 ++ .../src/spark/other/Cursor1Example.mxml | 49 ++ .../src/spark/other/Cursor2Example.mxml | 63 ++ .../src/spark/other/DragAndDrop1Example.mxml | 51 ++ .../src/spark/other/DragAndDrop2Example.mxml | 82 ++ .../src/spark/other/FilterExample.mxml | 88 +++ .../src/spark/other/RepeaterExample.mxml | 56 ++ .../src/spark/other/ScrollBarsExample.mxml | 98 +++ .../spark/other/TDFGradientBackgroundSkin.mxml | 49 ++ .../src/spark/other/assets/ApacheFlexIcon.png | Bin 0 -> 7983 bytes .../src/spark/other/assets/ApacheFlexLogo.png | Bin 0 -> 71228 bytes .../other/skins/CustomTabBarButtonSkin.mxml | 262 +++++++ .../src/spark/other/skins/CustomTabBarSkin.mxml | 97 +++ .../spark/skinning/ButtonWithIconExample.mxml | 48 ++ .../skinning/SkinningApplication1Example.mxml | 44 ++ .../skinning/SkinningApplication2Example.mxml | 43 + .../skinning/SkinningApplication3Example.mxml | 48 ++ .../skinning/SkinningContainerExample.mxml | 49 ++ .../src/spark/skinning/assets/arrow_icon_sm.png | Bin 0 -> 527 bytes .../src/spark/skinning/assets/icon_add.png | Bin 0 -> 737 bytes .../src/spark/skinning/assets/icon_check.png | Bin 0 -> 481 bytes .../src/spark/skinning/assets/icon_close16.png | Bin 0 -> 59709 bytes .../src/spark/skinning/assets/icon_plus.png | Bin 0 -> 58539 bytes .../src/spark/skinning/assets/icon_remove.png | Bin 0 -> 693 bytes .../src/spark/skinning/assets/wood-bg.png | Bin 0 -> 628195 bytes .../src/spark/skinning/skins/AddButtonSkin.mxml | 183 +++++ .../skinning/skins/BackgroundImageAppSkin.mxml | 41 + .../spark/skinning/skins/CloseButtonSkin.mxml | 184 +++++ .../skinning/skins/CustomControlBarAppSkin.mxml | 106 +++ .../skins/CustomSkinnableContainerSkin.mxml | 55 ++ .../spark/skinning/skins/FancyButtonSkin.mxml | 271 +++++++ .../skins/GradientBackgroundAppSkin.mxml | 53 ++ .../skinning/skins/IconTextButtonSkin.mxml | 195 +++++ .../src/spark/skinning/skins/MyPanelSkin.mxml | 101 +++ .../states/AnimateShaderTransitionEffect.mxml | 58 ++ .../src/spark/states/assets/back.png | Bin 0 -> 121035 bytes .../src/spark/tlf/TextLayoutEditorCanvas.mxml | 439 +++++++++++ .../src/spark/tlf/TextLayoutEditorSample.mxml | 29 + .../tlf/assets/%scroll_arrow_down_over.png | Bin 0 -> 109642 bytes .../spark/tlf/assets/%scroll_arrow_up_over.png | Bin 0 -> 109644 bytes .../spark/tlf/assets/combo_drop_down_arrow.png | Bin 0 -> 505 bytes .../src/spark/tlf/assets/header_close_icon.png | Bin 0 -> 3084 bytes .../src/spark/tlf/assets/header_open_icon.png | Bin 0 -> 3095 bytes .../src/spark/tlf/assets/scroll_arrow_down.png | Bin 0 -> 332 bytes .../spark/tlf/assets/scroll_arrow_down_over.png | Bin 0 -> 47147 bytes .../src/spark/tlf/assets/scroll_arrow_up.png | Bin 0 -> 311 bytes .../spark/tlf/assets/scroll_arrow_up_over.png | Bin 0 -> 47155 bytes .../spark/tlf/flashx/textLayout/UiClasses.as | 54 ++ .../tlf/flashx/textLayout/ui/MultiPanel.as | 206 +++++ .../textLayout/ui/MultiPanelHeaderSkin.as | 58 ++ .../flashx/textLayout/ui/PanelWithEdgeBars.as | 266 +++++++ .../flashx/textLayout/ui/VellumGUIStyles.css | 254 ++++++ .../ui/assets/%scroll_arrow_down_over.png | Bin 0 -> 109642 bytes .../ui/assets/%scroll_arrow_up_over.png | Bin 0 -> 109644 bytes .../ui/assets/combo_drop_down_arrow.png | Bin 0 -> 505 bytes .../textLayout/ui/assets/header_close_icon.png | Bin 0 -> 3084 bytes .../textLayout/ui/assets/header_open_icon.png | Bin 0 -> 3095 bytes .../textLayout/ui/assets/scroll_arrow_down.png | Bin 0 -> 332 bytes .../ui/assets/scroll_arrow_down_over.png | Bin 0 -> 47147 bytes .../textLayout/ui/assets/scroll_arrow_up.png | Bin 0 -> 311 bytes .../ui/assets/scroll_arrow_up_over.png | Bin 0 -> 47155 bytes .../ui/inspectors/AdvancedTextPropertyEditor.as | 190 +++++ .../ui/inspectors/AntiAliasPropertyEditor.as | 51 ++ .../ui/inspectors/CharacterPropertyEditor.as | 179 +++++ .../ui/inspectors/DynamicTextPropertyEditor.as | 74 ++ .../ui/inspectors/LinkPropertyEditor.as | 50 ++ .../ui/inspectors/ParagraphPropertyEditor.as | 226 ++++++ .../ui/inspectors/SelectionUpdateEvent.as | 41 + .../ui/inspectors/TabPropertyEditor.as | 64 ++ .../inspectors/TextContainerPropertyEditor.as | 151 ++++ .../ui/inspectors/TextFlowPropertyEditor.as | 71 ++ .../ui/inspectors/TextInspectorController.as | 614 +++++++++++++++ .../ui/inspectors/assets/align_center_icon.png | Bin 0 -> 2834 bytes .../ui/inspectors/assets/align_end_icon.png | Bin 0 -> 2866 bytes .../ui/inspectors/assets/align_justify_icon.png | Bin 0 -> 2812 bytes .../assets/align_last_center_icon.png | Bin 0 -> 2826 bytes .../inspectors/assets/align_last_left_icon.png | Bin 0 -> 2812 bytes .../inspectors/assets/align_last_right_icon.png | Bin 0 -> 2815 bytes .../ui/inspectors/assets/align_left_icon.png | Bin 0 -> 2827 bytes .../ui/inspectors/assets/align_right_icon.png | Bin 0 -> 2828 bytes .../ui/inspectors/assets/align_start_icon.png | Bin 0 -> 2915 bytes .../ui/inspectors/assets/bold_icon.png | Bin 0 -> 2887 bytes .../assets/cont_align_bottom_icon.png | Bin 0 -> 287 bytes .../assets/cont_align_justify_icon.png | Bin 0 -> 299 bytes .../assets/cont_align_middle_icon.png | Bin 0 -> 313 bytes .../inspectors/assets/cont_align_top_icon.png | Bin 0 -> 310 bytes .../ui/inspectors/assets/italic_icon.png | Bin 0 -> 2909 bytes .../ui/inspectors/assets/strikethrough_icon.png | Bin 0 -> 2899 bytes .../ui/inspectors/assets/subscript_icon.png | Bin 0 -> 2886 bytes .../ui/inspectors/assets/superscript_icon.png | Bin 0 -> 2892 bytes .../ui/inspectors/assets/tcy_icon.png | Bin 0 -> 2973 bytes .../ui/inspectors/assets/underline_icon.png | Bin 0 -> 2892 bytes .../ui/rulers/ParagraphPropertyMarker.as | 98 +++ .../ui/rulers/ParagraphPropertyMarkerSkin.as | 103 +++ .../tlf/flashx/textLayout/ui/rulers/RulerBar.as | 672 ++++++++++++++++ .../textLayout/ui/rulers/RulerDragTracker.as | 88 +++ .../flashx/textLayout/ui/rulers/RulerMarker.as | 124 +++ .../flashx/textLayout/ui/rulers/TabMarker.as | 86 ++ .../textLayout/ui/rulers/TabMarkerSkin.as | 94 +++ .../textLayout/ui/styles/PopupMenuSkin.as | 70 ++ .../ui/styles/ScrollbarDownArrowUpSkin.as | 45 ++ .../ui/styles/ScrollbarThumbOverSkin.as | 89 +++ .../ui/styles/ScrollbarThumbUpSkin.as | 89 +++ .../textLayout/ui/styles/ScrollbarTrackSkin.as | 68 ++ .../ui/styles/ScrollbarUpArrowUpSkin.as | 45 ++ .../tlf/textEditBar/FeatureSetChangeEvent.as | 42 + .../src/spark/tlf/textEditBar/FileEvent.as | 43 + .../src/spark/tlf/textEditBar/FileIOHelper.as | 268 +++++++ .../src/spark/tlf/textEditBar/FileServices.mxml | 96 +++ .../src/spark/tlf/textEditBar/GraphicBar.mxml | 153 ++++ .../spark/tlf/textEditBar/GraphicChangeEvent.as | 61 ++ .../src/spark/tlf/textEditBar/LinkBar.mxml | 158 ++++ .../spark/tlf/textEditBar/LinkChangeEvent.as | 51 ++ .../tlf/textEditBar/SingleContainerView.mxml | 80 ++ .../src/spark/tlf/textEditBar/SpriteWithIME.as | 102 +++ .../src/spark/tlf/textEditBar/StatusPopup.mxml | 39 + .../spark/tlf/textEditBar/StyleChangeEvent.as | 46 ++ .../spark/tlf/textEditBar/assets/%icon_tcy.png | Bin 0 -> 110058 bytes .../textEditBar/assets/BreakOpportunityType.png | Bin 0 -> 26281 bytes .../tlf/textEditBar/assets/EmbedDeleteIcon.png | Bin 0 -> 47172 bytes .../assets/EmbedDeleteIconDisabled.png | Bin 0 -> 48199 bytes .../assets/P_TextAlignBottom_Sm_N.png | Bin 0 -> 287 bytes .../assets/P_TextAlignJustify_Sm_N.png | Bin 0 -> 299 bytes .../assets/P_TextAlignMiddle_Sm_N.png | Bin 0 -> 313 bytes .../textEditBar/assets/P_TextAlignTop_Sm_N.png | Bin 0 -> 310 bytes .../assets/P_TextBaselineShift_Md_N.png | Bin 0 -> 713 bytes .../assets/P_TextBottomOffset_Md_N.png | Bin 0 -> 527 bytes .../assets/P_TextFirstLineIndent_Md_N.png | Bin 0 -> 627 bytes .../assets/P_TextLeftIndent_Md_N.png | Bin 0 -> 697 bytes .../assets/P_TextLeftOffset_Md_N.png | Bin 0 -> 519 bytes .../assets/P_TextRightIndent_Md_N.png | Bin 0 -> 739 bytes .../assets/P_TextRightOffset_Md_N.png | Bin 0 -> 513 bytes .../textEditBar/assets/P_TextSmallCaps_Md_N.png | Bin 0 -> 647 bytes .../assets/P_TextSpaceAfter_Md_N.png | Bin 0 -> 578 bytes .../assets/P_TextSpaceBefore_Md_N.png | Bin 0 -> 572 bytes .../textEditBar/assets/P_TextTopOffset_Md_N.png | Bin 0 -> 530 bytes .../assets/TextAutoLeadingPercent.png | Bin 0 -> 27667 bytes .../spark/tlf/textEditBar/assets/digitCase.png | Bin 0 -> 2964 bytes .../spark/tlf/textEditBar/assets/digitWidth.png | Bin 0 -> 3123 bytes .../tlf/textEditBar/assets/elementBaseline.png | Bin 0 -> 26703 bytes .../assets/icon_align_all_but_last.png | Bin 0 -> 26692 bytes .../textEditBar/assets/icon_align_center.png | Bin 0 -> 27220 bytes .../tlf/textEditBar/assets/icon_align_end.PNG | Bin 0 -> 215 bytes .../textEditBar/assets/icon_align_justify.png | Bin 0 -> 27095 bytes .../tlf/textEditBar/assets/icon_align_left.png | Bin 0 -> 27210 bytes .../tlf/textEditBar/assets/icon_align_right.png | Bin 0 -> 27210 bytes .../tlf/textEditBar/assets/icon_align_start.PNG | Bin 0 -> 184 bytes .../tlf/textEditBar/assets/icon_bullet.png | Bin 0 -> 27234 bytes .../tlf/textEditBar/assets/icon_style_bold.png | Bin 0 -> 27205 bytes .../textEditBar/assets/icon_style_italic.png | Bin 0 -> 27229 bytes .../assets/icon_style_strikethrough.png | Bin 0 -> 26697 bytes .../textEditBar/assets/icon_style_underline.png | Bin 0 -> 27197 bytes .../spark/tlf/textEditBar/assets/icon_tcy.png | Bin 0 -> 59524 bytes .../spark/tlf/textEditBar/assets/ligatures.png | Bin 0 -> 3045 bytes .../tlf/textEditBar/assets/lineBaseline.png | Bin 0 -> 26737 bytes .../validators/CreditCardValidatorExample.mxml | 78 ++ .../validators/CurrencyValidatorExample.mxml | 53 ++ .../spark/validators/DateValidatorExample.mxml | 61 ++ .../spark/validators/EmailValidatorExample.mxml | 56 ++ .../spark/validators/FormValidatorExample.mxml | 83 ++ .../validators/NumberValidatorExample.mxml | 75 ++ .../validators/RegExpValidatorExample.mxml | 92 +++ .../SocialSecurityValidatorExample.mxml | 55 ++ .../validators/StringValidatorExample.mxml | 58 ++ .../validators/TDFGradientBackgroundSkin.mxml | 49 ++ .../validators/ZipCodeValidatorExample.mxml | 55 ++ tourdeflexmodules/src/swfobject.js | 777 +++++++++++++++++++ tourdeflexmodules/src/viewsource.mxml | 70 ++ 570 files changed, 36933 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-examples/blob/9343d391/tourdeflexmodules/README ---------------------------------------------------------------------- diff --git a/tourdeflexmodules/README b/tourdeflexmodules/README new file mode 100644 index 0000000..695b151 --- /dev/null +++ b/tourdeflexmodules/README @@ -0,0 +1,80 @@ + + The Apache Flex Tour De Flex component explorer provides a sample set of working + Apache Flex examples. + + This application is based on work donated by Adobe and their component explorer and is + expected to be updated over time. + + +========================================================================================== +Initial Setup Required +========================================================================================== + + The environment variable FLEX_HOME needs to be set to the absolute path of the Apache + Flex SDK. If you prefer you can set this in env.properties. + +========================================================================================== +How to build Tour De Flex using ant (no IDE is required) +========================================================================================== + +1. On Linux or Mac un tar/gzip the source distribution: + tar -zxvf apache-flex-tour-de-flex-component-explorer-1.2.tar.gz + Or if on windows unzip + apache-flex-tour-de-flex-component-explorer-1.2.zip + +2. In the base directory, run: + ant compile + +3. To optionally create a release source package, run: + ant package + +4. Open explorer.html in your browser of choice. + +Note Some browsers (such as Chrome) may not be able to view local content without further +configuration. + +5. To remove all of the compiled swfs: + ant clean + +========================================================================================== +Some other useful ant targets +========================================================================================== + +There are several other useful ant targets. Note that compile-shell is required if you want +changes to explorer.xml to take effect. + + compile-shell compile explorer shell + compile-mx compile mx examples + compile-spark compile first set of spark examples + compile-spark2 compile second set of spark examples + compile-spark3 compile third set of spark examples + compile-apache compile apache examples + compile-squiggly compile apache squiggly examples + package-tar tar up all source files + package-zip zip up all source files + +========================================================================================== +Compiling a single example +========================================================================================== + +Most of the examples can be compiled by hand with mxmlc. For example: + + mxmlc ./src/spark/controls/ListExample.mxml + +========================================================================================== +How to check the code out of Git +========================================================================================== + +1. Check out the the code from the Apache Flex utilities project + git clone https://git-wip-us.apache.org/repos/asf/flex-utilities.git flex-utilities + cd flex-utilities + git checkout develop + +2. Change directory to: + cd TourDeFlex/TourDeFlex3 + + +Thanks for using Apache Flex. Enjoy! + + The Apache Flex Project + <http://flex.apache.org> http://git-wip-us.apache.org/repos/asf/flex-examples/blob/9343d391/tourdeflexmodules/RELEASE_NOTES ---------------------------------------------------------------------- diff --git a/tourdeflexmodules/RELEASE_NOTES b/tourdeflexmodules/RELEASE_NOTES new file mode 100644 index 0000000..a8faa5f --- /dev/null +++ b/tourdeflexmodules/RELEASE_NOTES @@ -0,0 +1,68 @@ +------------------------------------------------ +Apache Flex Tour De Flex Component Explorer 1.2 +------------------------------------------------ + +Apache Flex Tour De Flex 1.2 is an update to 1.1 adding a few minor improvements. + +Changes since the version 1.1 +- Added welcome page +- Added support for 3rd party examples +- Changed examples look and feel to be more consistent +- Added Squiggly spelling engine examples + +Known issues: +- Callout example in the Apache Flex 4.9 examples fails to show the callout. + The sample code will work externally. See FLEX-34539 for details. + +Bugs fixed and improvements: +FLEX-34505 Add squiggly example to Tour De Flex +FLEX-34501 Allow 3rd parties to provide examples for inclusion in TourDeFlex +FLEX-34596 Tour De Flex linking is broken +FLEX-34493 Loading bar not centered in panel +FLEX-34485 Improve TourDeFlex consistency and design + +------------------------------------------------ +Apache Flex Tour De Flex Component Explorer 1.1 +------------------------------------------------ + +Apache Flex Tour De Flex 1.1 is an update to 1.0 adding a few improvements and +fixing a few broken and non working examples. + +Changes since the version 1.0 +- Update README and RELEASE_NOTES +- Added some Apache Flex specific examples (we would like to see more) +- Added button to copy code in source tab +- Added button to link to github code +- Added button to copy link to example +- Improved build file ant tasks descriptions +- Removed broken view source URLs +- Fixed a few other minor issues +- Now contains over 300 examples! + +Known issues: +- Callout example in the Apache Flex 4.9 examples fails to show the callout. + The sample code will work externally. See FLEX-34539 for details. + +Bugs fixed and improvements: +FLEX-34530 TDF ScrollBarExample not setting up default vertical scroll and 2 warnings +FLEX-34529 TDF Bidirectional binding example label/warning +FLEX-34502 Add link to github in TourDeFlex +FLEX-34500 Show total number of examples in Tour De Flex UI +FLEX-34495 Error loading source file +FLEX-34492 Need ability to link to examples +FLEX-34491 The Spark Module Load example is non functional +FLEX-34490 The Spark Video example produces a "Playback Error" +FLEX-34489 Some examples are missing all source files tab +FLEX-34488 Add favicon to TourDeFlex +FLEX-34483 Make logo links to Apache Flex web site +FLEX-34482 Add copy button to copy code examples to clipboard +FLEX-34480 If TourDeFlex is run from an untrusted location you get an error +FLEX-34479 Change naming format of TourDeFlex +FLEX-34478 Wrong paths for video in TourDeFlex application +FLEX-34474 TourDeFlex effects example bad styles and modifying default destination scaling + +------------------------------------------------ +Apache Flex Tour De Flex Component Explorer 1.0 +------------------------------------------------ + +Initial parity release for Adobe's Tour De Flex Component Explorer. \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-examples/blob/9343d391/tourdeflexmodules/build.xml ---------------------------------------------------------------------- diff --git a/tourdeflexmodules/build.xml b/tourdeflexmodules/build.xml new file mode 100644 index 0000000..876a68f --- /dev/null +++ b/tourdeflexmodules/build.xml @@ -0,0 +1,524 @@ +<?xml version="1.0" ?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> +<project name="TourDeFlex" default="compile" basedir="."> + + <property file="${basedir}/env.properties"/> + <property environment="env"/> + <property file="${basedir}/local.properties"/> + <property file="${basedir}/build.properties"/> + <condition property="FLEX_HOME" value="${env.FLEX_HOME}"> + <isset property="env.FLEX_HOME" /> + </condition> + <property name="version" value="1.2" /> + + <!-- additional tasks - mxmlc tag --> + <path id="flexTasks.path"> + <fileset dir="${FLEX_HOME}"> + <include name="lib/flexTasks.jar" /> + <include name="ant/lib/flexTasks.jar" /> + </fileset> + </path> + <taskdef resource="flexTasks.tasks" classpathref="flexTasks.path"/> + + <macrodef name="compile-mxml"> + <attribute name="example"/> + + <sequential> + <mxmlc file="${basedir}/src/@{example}.mxml" + output="${basedir}/src/@{example}.swf" fork="true" failonerror="true"> + <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/> + </mxmlc> + </sequential> + </macrodef> + + <macrodef name="compile-mxml-locales"> + <attribute name="example"/> + <attribute name="locales" default="en_US"/> + + <sequential> + <mxmlc file="${basedir}/src/@{example}.mxml" + output="${basedir}/src/@{example}.swf" fork="true" failonerror="true"> + <locale>en_US</locale> + <locale>en_AU</locale> + <locale>en_GB</locale> + <locale>en_CA</locale> + <locale>el_GR</locale> + <locale>de_CH</locale> + <locale>pt_PT</locale> + <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/> + </mxmlc> + </sequential> + </macrodef> + + <target name="compile" description="compile all examples and the explorer shell" depends="compile-shell,compile-mx,compile-spark,compile-spark2,compile-spark3,compile-apache"> + </target> + + <target name="compile-shell" description="compile explorer shell"> + <compile-mxml example="/explorer"/> + <compile-mxml-locales example="/loaderPanel"/> + <compile-mxml example="/SourceTab"/> + <compile-mxml example="/Welcome"/> + </target> + + <target name="compile-mx" description="compile mx examples"> + <compile-mxml example="/mx/charts/BubbleChartExample"/> + <compile-mxml example="/mx/charts/CandlestickChartExample"/> + <compile-mxml example="/mx/charts/Column_BarChartExample"/> + <compile-mxml example="/mx/charts/DateTimeAxisExample"/> + <compile-mxml example="/mx/charts/GridLinesExample"/> + <compile-mxml example="/mx/charts/HLOCChartExample"/> + <compile-mxml example="/mx/charts/Line_AreaChartExample"/> + <compile-mxml example="/mx/charts/LogAxisExample"/> + <compile-mxml example="/mx/charts/PieChartExample"/> + <compile-mxml example="/mx/charts/PlotChartExample"/> + <compile-mxml example="/mx/charts/SeriesInterpolateExample"/> + <compile-mxml example="/mx/charts/SeriesSlideExample"/> + <compile-mxml example="/mx/charts/SeriesZoomExample"/> + <compile-mxml example="/mx/containers/AccordionExample"/> + <compile-mxml example="/mx/containers/DividedBoxExample"/> + <compile-mxml example="/mx/containers/FormExample"/> + <compile-mxml example="/mx/containers/GridLayoutExample"/> + <compile-mxml example="/mx/containers/HBoxExample"/> + <compile-mxml example="/mx/containers/HDividedBoxExample"/> + <compile-mxml example="/mx/containers/SimpleApplicationControlBarExample"/> + <compile-mxml example="/mx/containers/SimpleBoxExample"/> + <compile-mxml example="/mx/containers/SimpleCanvasExample"/> + <compile-mxml example="/mx/containers/SimpleControlBarExample"/> + <compile-mxml example="/mx/containers/SimplePanelExample"/> + <compile-mxml example="/mx/containers/SimpleTitleWindowExample"/> + <compile-mxml example="/mx/containers/TabNavigatorExample"/> + <compile-mxml example="/mx/containers/TileLayoutExample"/> + <compile-mxml example="/mx/containers/TitleWindowApp"/> + <compile-mxml example="/mx/containers/VBoxExample"/> + <compile-mxml example="/mx/containers/VDividedBoxExample"/> + <compile-mxml example="/mx/containers/ViewStackExample"/> + <compile-mxml example="/mx/controls/AdvancedDataGridExample"/> + <compile-mxml example="/mx/controls/ButtonBarExample"/> + <compile-mxml example="/mx/controls/ButtonExample"/> + <compile-mxml example="/mx/controls/CheckBoxExample"/> + <compile-mxml example="/mx/controls/ColorPickerExample"/> + <compile-mxml example="/mx/controls/DateChooserExample"/> + <compile-mxml example="/mx/controls/DateFieldExample"/> + <compile-mxml example="/mx/controls/HorizontalListExample"/> + <compile-mxml example="/mx/controls/HScrollBarExample"/> + <compile-mxml example="/mx/controls/LabelExample"/> + <compile-mxml example="/mx/controls/LinkBarExample"/> + <compile-mxml example="/mx/controls/LinkButtonExample"/> + <compile-mxml example="/mx/controls/Local"/> + <compile-mxml example="/mx/controls/MenuBarExample"/> + <compile-mxml example="/mx/controls/NumericStepperExample"/> + <compile-mxml example="/mx/controls/OLAPDataGridExample"/> + <compile-mxml example="/mx/controls/PopUpButtonExample"/> + <compile-mxml example="/mx/controls/PopUpButtonMenuExample"/> + <compile-mxml example="/mx/controls/RadioButtonExample"/> + <compile-mxml example="/mx/controls/RadioButtonGroupExample"/> + <compile-mxml example="/mx/controls/RichTextEditorExample"/> + <compile-mxml example="/mx/controls/SimpleAlert"/> + <compile-mxml example="/mx/controls/SimpleComboBox"/> + <compile-mxml example="/mx/controls/SimpleDataGrid"/> + <compile-mxml example="/mx/controls/SimpleHRule"/> + <compile-mxml example="/mx/controls/SimpleImage"/> + <compile-mxml example="/mx/controls/SimpleImageHSlider"/> + <compile-mxml example="/mx/controls/SimpleImageVSlider"/> + <compile-mxml example="/mx/controls/SimpleList"/> + <compile-mxml example="/mx/controls/SimpleLoader"/> + <compile-mxml example="/mx/controls/SimpleMenuExample"/> + <compile-mxml example="/mx/controls/SimpleProgressBar"/> + <compile-mxml example="/mx/controls/SimpleVRule"/> + <compile-mxml example="/mx/controls/SpacerExample"/> + <compile-mxml example="/mx/controls/TabBarExample"/> + <compile-mxml example="/mx/controls/TextAreaExample"/> + <compile-mxml example="/mx/controls/TextExample"/> + <compile-mxml example="/mx/controls/TextInputExample"/> + <compile-mxml example="/mx/controls/TileListExample"/> + <compile-mxml example="/mx/controls/ToggleButtonBarExample"/> + <compile-mxml example="/mx/controls/TreeExample"/> + <compile-mxml example="/mx/controls/VideoDisplayExample"/> + <compile-mxml example="/mx/controls/VScrollBarExample"/> + <compile-mxml example="/mx/core/RepeaterExample"/> + <compile-mxml example="/mx/core/SimpleApplicationExample"/> + <compile-mxml example="/mx/effects/AddItemActionEffectExample"/> + <compile-mxml example="/mx/effects/AnimatePropertyEffectExample"/> + <compile-mxml example="/mx/effects/BlurEffectExample"/> + <compile-mxml example="/mx/effects/CompositeEffectExample"/> + <compile-mxml example="/mx/effects/DefaultListEffectExample"/> + <compile-mxml example="/mx/effects/DefaultTileListEffectExample"/> + <compile-mxml example="/mx/effects/DissolveEffectExample"/> + <compile-mxml example="/mx/effects/FadeEffectExample"/> + <compile-mxml example="/mx/effects/GlowEffectExample"/> + <compile-mxml example="/mx/effects/IrisEffectExample"/> + <compile-mxml example="/mx/effects/MoveEffectExample"/> + <compile-mxml example="/mx/effects/ParallelEffectExample"/> + <compile-mxml example="/mx/effects/PauseEffectExample"/> + <compile-mxml example="/mx/effects/ResizeEffectExample"/> + <compile-mxml example="/mx/effects/RotateEffectExample"/> + <compile-mxml example="/mx/effects/SequenceEffectExample"/> + <compile-mxml example="/mx/effects/SimpleEffectExample"/> + <compile-mxml example="/mx/effects/SimpleTweenEffectExample"/> + <compile-mxml example="/mx/effects/SoundEffectExample"/> + <compile-mxml example="/mx/effects/WipeDownExample"/> + <compile-mxml example="/mx/effects/WipeLeftExample"/> + <compile-mxml example="/mx/effects/WipeRightExample"/> + <compile-mxml example="/mx/effects/WipeUpExample"/> + <compile-mxml example="/mx/effects/ZoomEffectExample"/> + <compile-mxml example="/mx/formatters/CurrencyFormatterExample"/> + <compile-mxml example="/mx/formatters/DateFormatterExample"/> + <compile-mxml example="/mx/formatters/NumberFormatterExample"/> + <compile-mxml example="/mx/formatters/PhoneFormatterExample"/> + <compile-mxml example="/mx/formatters/SimpleFormatterExample"/> + <compile-mxml example="/mx/formatters/SwitchSymbolFormatterExample"/> + <compile-mxml example="/mx/formatters/ZipCodeFormatterExample"/> + <compile-mxml example="/mx/printing/AdvancedPrintDataGridExample"/> + <compile-mxml example="/mx/printing/FormPrintFooter"/> + <compile-mxml example="/mx/printing/FormPrintHeader"/> + <compile-mxml example="/mx/printing/FormPrintView"/> + <compile-mxml example="/mx/printing/PrintDataGridExample"/> + <compile-mxml example="/mx/states/StatesExample"/> + <compile-mxml example="/mx/states/TransitionExample"/> + <compile-mxml example="/mx/validators/CreditCardValidatorExample"/> + <compile-mxml example="/mx/validators/CurrencyValidatorExample"/> + <compile-mxml example="/mx/validators/DateValidatorExample"/> + <compile-mxml example="/mx/validators/EmailValidatorExample"/> + <compile-mxml example="/mx/validators/NumberValidatorExample"/> + <compile-mxml example="/mx/validators/PhoneNumberValidatorExample"/> + <compile-mxml example="/mx/validators/RegExValidatorExample"/> + <compile-mxml example="/mx/validators/SimpleValidatorExample"/> + <compile-mxml example="/mx/validators/SocialSecurityValidatorExample"/> + <compile-mxml example="/mx/validators/StringValidatorExample"/> + <compile-mxml example="/mx/validators/ZipCodeValidatorExample"/> + </target> + + <target name="compile-spark" description="compile first set of spark examples"> + <compile-mxml example="/spark/controls/AccordionExample"/> + <compile-mxml example="/spark/controls/AdvancedDatagridExample"/> + <compile-mxml example="/spark/controls/ColorPickerExample"/> + <compile-mxml example="/spark/controls/ComboBoxExample"/> + <compile-mxml example="/spark/controls/DataGridExample"/> + <compile-mxml example="/spark/controls/DataGroupExample"/> + <compile-mxml example="/spark/controls/MenuExample"/> + <compile-mxml example="/spark/controls/RichEditableTextExample"/> + <compile-mxml example="/spark/controls/DateChooserExample"/> + <compile-mxml example="/spark/controls/DateFieldExample"/> + <compile-mxml example="/spark/controls/FormExample"/> + <compile-mxml example="/spark/controls/ImageExample"/> + <compile-mxml example="/spark/controls/LinkBarExample"/> + <compile-mxml example="/spark/controls/LinkButtonExample"/> + <compile-mxml example="/spark/controls/OLAPDataGridExample"/> + <compile-mxml example="/spark/controls/PopupButtonExample"/> + <compile-mxml example="/spark/controls/ProgressBarExample"/> + <!-- Currently broken <compile-mxml example="/spark/controls/SWFLoaderExample"/> --> + <compile-mxml example="/spark/controls/TitleWindowExample"/> + <compile-mxml example="/spark/controls/ToggleButtonBarExample"/> + <compile-mxml example="/spark/controls/ToolTipExample"/> + <compile-mxml example="/spark/controls/TreeExample"/> + <compile-mxml example="/spark/controls/ViewStackExample"/> + <compile-mxml example="/spark/controls/TextAreaExample"/> + <compile-mxml example="/spark/controls/TextInputExample"/> + <compile-mxml example="/spark/controls/TextLayout1Example"/> + <compile-mxml example="/spark/controls/TextLayout2Example"/> + <compile-mxml example="/spark/controls/TextLayout3Example"/> + <compile-mxml example="/spark/controls/TextLayout4Example"/> + <compile-mxml example="/spark/controls/VideoDisplayExample"/> + + <compile-mxml example="/spark/css/CSSDescendantSelectorExample"/> + <compile-mxml example="/spark/css/CSSTypeClassSelectorExample"/> + + <compile-mxml example="/spark/layouts/CustomLayoutAnimatedExample"/> + <compile-mxml example="/spark/layouts/CustomLayoutFlickrWheelExample"/> + <compile-mxml example="/spark/layouts/CustomLayoutFlowExample"/> + <compile-mxml example="/spark/layouts/CustomLayoutHBaselineExample"/> + + <compile-mxml example="/spark/itemRenderers/ItemRenderer1Example"/> + <compile-mxml example="/spark/itemRenderers/ItemRenderer2Example"/> + + <compile-mxml example="/spark/fxg/BitmapImageExample"/> + <compile-mxml example="/spark/fxg/EclipseExample"/> + <compile-mxml example="/spark/fxg/LineExample"/> + <compile-mxml example="/spark/fxg/RectExample"/> + <compile-mxml example="/spark/fxg/RichTextExample"/> + + <compile-mxml example="/spark/containers/SampleHGroup"/> + <compile-mxml example="/spark/containers/SampleVGroup"/> + <compile-mxml example="/spark/containers/SampleVerticalHorizontalAlign"/> + <compile-mxml example="/spark/containers/SkinnableDataContainerExample"/> + <compile-mxml example="/spark/containers/TileGroupExample"/> + + <compile-mxml example="/spark/effects/Move3DExample"/> + <compile-mxml example="/spark/effects/WipeExample"/> + + <compile-mxml example="/spark/charts/AreaChartExample"/> + <compile-mxml example="/spark/charts/BarChartExample"/> + <compile-mxml example="/spark/charts/BubbleChartExample"/> + <compile-mxml example="/spark/charts/CandleStickChartExample"/> + <compile-mxml example="/spark/charts/ColumnChartExample"/> + <compile-mxml example="/spark/charts/HLOCChartExample"/> + <compile-mxml example="/spark/charts/LineChartExample"/> + <compile-mxml example="/spark/charts/PieChartExample"/> + <compile-mxml example="/spark/charts/PlotChartExample"/> + <compile-mxml example="/spark/charts/SeriesInterpolateExample"/> + <compile-mxml example="/spark/charts/SeriesSlideExample"/> + <compile-mxml example="/spark/charts/SeriesZoomExample"/> + + <compile-mxml example="/spark/components/SearchExample"/> + <compile-mxml example="/spark/components/VideoPlayerExample"/> + + <compile-mxml example="/spark/validators/CreditCardValidatorExample"/> + <compile-mxml example="/spark/validators/CurrencyValidatorExample"/> + <compile-mxml example="/spark/validators/DateValidatorExample"/> + <compile-mxml example="/spark/validators/EmailValidatorExample"/> + <compile-mxml example="/spark/validators/NumberValidatorExample"/> + <compile-mxml example="/spark/validators/RegExpValidatorExample"/> + <compile-mxml example="/spark/validators/SocialSecurityValidatorExample"/> + <compile-mxml example="/spark/validators/StringValidatorExample"/> + <compile-mxml example="/spark/validators/FormValidatorExample"/> + <compile-mxml example="/spark/validators/ZipCodeValidatorExample"/> + + <compile-mxml example="/spark/formatters/CurrencyFormatterExample"/> + <compile-mxml example="/spark/formatters/DateFormatterExample"/> + <compile-mxml example="/spark/formatters/NumberFormatterExample"/> + <compile-mxml example="/spark/formatters/PhoneFormatterExample"/> + <compile-mxml example="/spark/formatters/SwitchFormatterExample"/> + <compile-mxml example="/spark/formatters/ZipCodeFormatterExample"/> + + <compile-mxml example="/spark/other/Cursor1Example"/> + <compile-mxml example="/spark/other/Cursor2Example"/> + <compile-mxml example="/spark/other/DragAndDrop1Example"/> + <compile-mxml example="/spark/other/DragAndDrop2Example"/> + <compile-mxml example="/spark/other/FilterExample"/> + <compile-mxml example="/spark/other/RepeaterExample"/> + <compile-mxml example="/spark/other/ScrollBarsExample"/> + + <compile-mxml example="/spark/events/EventExample1"/> + <compile-mxml example="/spark/events/EventExample2"/> + <compile-mxml example="/spark/events/EventExample3"/> + <compile-mxml example="/spark/events/EventExample4"/> + <compile-mxml example="/spark/events/EventExample5"/> + <compile-mxml example="/spark/events/EventExample6"/> + + <compile-mxml example="/spark/modules/ModuleExample"/> + <compile-mxml example="/spark/modules/Module1"/> + <compile-mxml example="/spark/modules/Module2"/> + + <!-- currently broken <compile-mxml example="/spark/tlf/TextLayoutEditorSample"/> --> + </target> + + <target name="compile-spark2" description="compile second set of spark examples"> + <compile-mxml example="/spark/i18n/SparkCollatorExample"/> + <compile-mxml example="/spark/i18n/SparkCollator2Example"/> + <compile-mxml example="/spark/i18n/SparkCurrencyValidatorExample"/> + <compile-mxml example="/spark/i18n/SparkCurrencyValidator2Example"/> + <compile-mxml example="/spark/i18n/SparkNumberValidatorExample"/> + <compile-mxml example="/spark/i18n/SparkNumberValidator2Example"/> + <compile-mxml example="/spark/i18n/SparkDateTimeFormatterExample"/> + <compile-mxml example="/spark/i18n/SparkDateTimeFormatter2Example"/> + <compile-mxml example="/spark/i18n/SparkCurrencyFormatterExample"/> + <compile-mxml example="/spark/i18n/SparkCurrencyFormatter2Example"/> + <compile-mxml example="/spark/i18n/SparkNumberFormatterExample"/> + <compile-mxml example="/spark/i18n/SparkNumberFormatter2Example"/> + <compile-mxml example="/spark/i18n/SparkSortandSortFieldExample"/> + <compile-mxml example="/spark/i18n/SparkSortandSortField2Example"/> + <compile-mxml example="/spark/i18n/SparkStringToolsExample"/> + <compile-mxml example="/spark/i18n/SparkFormatterExample"/> + + <compile-mxml example="/spark/controls/DataGridCustomRendererExample"/> + <compile-mxml example="/spark/controls/DataGridCustomRendererPrepareExample"/> + <compile-mxml example="/spark/controls/DataGridCustomSkinExample"/> + <compile-mxml example="/spark/controls/DataGridExample2"/> + <compile-mxml example="/spark/controls/DataGridSimpleColumnsExample"/> + <compile-mxml example="/spark/controls/DataGridSimpleNoWrapExample"/> + <compile-mxml example="/spark/controls/DataGridSizingExample"/> + + <compile-mxml example="/spark/controls/ListDataPagingExample"/> + + <compile-mxml example="/spark/controls/SampleHelpFormExample"/> + <compile-mxml example="/spark/controls/SampleSequenceFormExample"/> + <compile-mxml example="/spark/controls/SampleSimpleFormExample"/> + <compile-mxml example="/spark/controls/SampleStackedFormExample"/> + + <compile-mxml example="/spark/controls/OSMFExample"/> + </target> + + <target name="compile-spark3" description="compile third set of spark examples"> + <compile-mxml example="/spark/other/BidirectionalBinding1Example"/> + <compile-mxml example="/spark/other/BidirectionalBinding2Example"/> + <compile-mxml example="/spark/other/ControllingViewportExample"/> + <compile-mxml example="/spark/itemRenderers/ListItemRendererExample"/> + <compile-mxml example="/spark/effects/AnimatePropertiesExample"/> + <compile-mxml example="/spark/effects/AnimateTransformExample"/> + <compile-mxml example="/spark/effects/CrossFadeExample"/> + <compile-mxml example="/spark/effects/FadeExample"/> + <compile-mxml example="/spark/effects/Rotate3DExample"/> + <compile-mxml example="/spark/effects/Scale3DExample"/> + <compile-mxml example="/spark/fxg/EllipseTransformExample"/> + <compile-mxml example="/spark/fxg/DropShadowGraphicExample"/> + <compile-mxml example="/spark/fxg/LinearGradientsSpreadMethodExample"/> + <compile-mxml example="/spark/fxg/StaticFXGExample"/> + <compile-mxml example="/spark/containers/BorderExample"/> + <compile-mxml example="/spark/containers/GroupExample"/> + <compile-mxml example="/spark/containers/PanelExample"/> + <compile-mxml example="/spark/containers/TabNavigator1Example"/> + <compile-mxml example="/spark/containers/TabNavigator2Example"/> + <compile-mxml example="/spark/skinning/ButtonWithIconExample"/> + <compile-mxml example="/spark/skinning/SkinningApplication1Example"/> + <compile-mxml example="/spark/skinning/SkinningApplication2Example"/> + <compile-mxml example="/spark/skinning/SkinningApplication3Example"/> + <compile-mxml example="/spark/skinning/SkinningContainerExample"/> + <compile-mxml example="/spark/css/CSSIDSelectorExample"/> + <compile-mxml example="/spark/controls/ButtonExample"/> + <compile-mxml example="/spark/controls/ButtonBarExample"/> + <compile-mxml example="/spark/controls/PopUpAnchor1Example"/> + <compile-mxml example="/spark/controls/PopUpAnchor2Example"/> + <compile-mxml example="/spark/controls/ToggleButtonExample"/> + <compile-mxml example="/spark/controls/CheckboxExample"/> + <compile-mxml example="/spark/controls/DropdownExample"/> + <compile-mxml example="/spark/controls/NumericStepperExample"/> + <compile-mxml example="/spark/controls/RadioButtonExample"/> + <compile-mxml example="/spark/controls/ToggleButton2Example"/> + <compile-mxml example="/spark/controls/ScrollBarExample"/> + <compile-mxml example="/spark/controls/Scroller1Example"/> + <compile-mxml example="/spark/controls/Scroller2Example"/> + <compile-mxml example="/spark/controls/SliderExample"/> + <compile-mxml example="/spark/controls/SpinnerExample"/> + <compile-mxml example="/spark/controls/VideoPlayerExample"/> + <compile-mxml example="/spark/controls/ListExample"/> + </target> + + <target name="compile-apache" description="compile apache examples"> + <compile-mxml example="/apache/ApacheFlex4_8_0"/> + <compile-mxml example="/apache/ApacheFlex4_9_0"/> + <compile-mxml example="/apache/ApacheFlex4_10_0"/> + <compile-mxml example="/apache/ApacheFlex4_11_0"/> + <compile-mxml example="/apache/ApacheFlex4_12_1"/> + <compile-mxml example="/apache/ApacheFlex4_13_0"/> + <!-- <compile-mxml example="/apache/ApacheFlex4_13_0"/> --> + + <compile-mxml example="/apache/formatters/PostCodeFormatterExample"/> + <compile-mxml example="/apache/validators/PostCodeValidatorExample"/> + <compile-mxml-locales example="/apache/i18n/LocaleExample"/> + <compile-mxml example="/apache/i18n/DateExample"/> + <compile-mxml example="/apache/i18n/TimeZoneExample"/> + <compile-mxml example="/apache/i18n/MillisecondExample"/> + <compile-mxml example="/apache/i18n/ScientificExample"/> + <compile-mxml example="/apache/i18n/NumericStepperExample"/> + <compile-mxml example="/apache/containers/CalloutExample"/> + <compile-mxml example="/apache/controls/MaskedTextInputExample"/> + + <!-- Uncomment when Flex 4.14 is released --> + <!-- compile-mxml example="/apache/controls/SparkRichTextEditorExample"/--> + </target> + + <!--- don't worry about squiggly for now --> + + <target name="package" description="package up all source files" depends="package-dir,package-tar,package-zip"> + </target> + + <target name="package-dir"> + <delete dir="${basedir}/out"/> + <mkdir dir="${basedir}/out"/> + </target> + + <target name="package-tar" description="tar up all source files"> + <tar destfile="${basedir}/out/apache-flex-tour-de-flex-component-explorer-${version}-src.tar.gz" + compression="gzip" + longfile="gnu"> + <tarfileset dir="${basedir}/.."> + <include name="LICENSE" /> + <include name="NOTICE" /> + <include name="CONTRIB*" /> + </tarfileset> + <tarfileset dir="${basedir}"> + <include name="README" /> + <include name="RELEASE_NOTES" /> + <include name="build.xml" /> + <include name="src/favicon.ico" /> + <include name="src/index.html" /> + <include name="src/explorer.xml" /> + <include name="src/swfobject.js" /> + <include name="**/*.mxml" /> + <include name="**/*.as" /> + <include name="**/*.jpg" /> + <include name="**/*.png" /> + <include name="**/*.gif" /> + <include name="**/*.ttf" /> + <include name="**/*.mp4" /> + <include name="**/*.mp3" /> + <include name="**/*.fxg" /> + <include name="**/*.xml" /> + <exclude name="**/*.swf" /> + <exclude name="installer.xml" /> + <exclude name="squiggly" /> + <exclude name="dictionaries" /> + <exclude name="src/dictionaries" /> + <exclude name="src/apache/squiggly/dictionaries" /> + </tarfileset> + </tar> + </target> + + <target name="package-zip" description="zip up all source files"> + <zip destfile="${basedir}/out/apache-flex-tour-de-flex-component-explorer-${version}-src.zip"> + <fileset dir="${basedir}/.."> + <include name="LICENSE" /> + <include name="NOTICE" /> + <include name="CONTRIB*" /> + </fileset> + <fileset dir="${basedir}"> + <include name="README" /> + <include name="RELEASE_NOTES" /> + <include name="build.xml" /> + <include name="src/favicon.ico" /> + <include name="src/index.html" /> + <include name="src/explorer.xml" /> + <include name="src/swfobject.js" /> + <include name="**/*.mxml" /> + <include name="**/*.as" /> + <include name="**/*.jpg" /> + <include name="**/*.png" /> + <include name="**/*.gif" /> + <include name="**/*.ttf" /> + <include name="**/*.mp4" /> + <include name="**/*.mp3" /> + <include name="**/*.fxg" /> + <include name="**/*.xml" /> + <exclude name="**/*.swf" /> + <exclude name="installer.xml" /> + <exclude name="squiggly" /> + <exclude name="dictionaries" /> + <exclude name="src/dictionaries" /> + <exclude name="src/apache/squiggly/dictionaries" /> + </fileset> + </zip> + </target> + + <target name="create-md5" > + <echo message="Generating MD5 hashes for release artifacts"/> + <checksum algorithm="md5" file="${basedir}/out/apache-flex-tour-de-flex-component-explorer-${version}-src.tar.gz" forceOverwrite="yes"/> + <checksum algorithm="md5" file="${basedir}/out/apache-flex-tour-de-flex-component-explorer-${version}-src.zip" forceOverwrite="yes"/> + </target> + + <target name="clean" description="clean up"> + <delete> + <fileset dir="${basedir}" includes="**/*.swf" /> + </delete> + <delete dir="${basedir}/squiggly" /> + <delete dir="${basedir}/dictionaries" /> + <delete dir="${basedir}/src/dictionaries" /> + <delete dir="${basedir}/src/apache/squiggly/dictionaries" /> + </target> +</project> http://git-wip-us.apache.org/repos/asf/flex-examples/blob/9343d391/tourdeflexmodules/html-template/history/history.css ---------------------------------------------------------------------- diff --git a/tourdeflexmodules/html-template/history/history.css b/tourdeflexmodules/html-template/history/history.css new file mode 100755 index 0000000..822d47e --- /dev/null +++ b/tourdeflexmodules/html-template/history/history.css @@ -0,0 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/* This CSS stylesheet defines styles used by required elements in a flex application page that supports browser history */ + +#ie_historyFrame { width: 0px; height: 0px; display:none } +#firefox_anchorDiv { width: 0px; height: 0px; display:none } +#safari_formDiv { width: 0px; height: 0px; display:none } +#safari_rememberDiv { width: 0px; height: 0px; display:none }
