You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2014/04/25 08:32:43 UTC
[01/42] TourDeFlex donation from Adobe Systems Inc
Repository: flex-utilities
Updated Branches:
refs/heads/develop b0fc5f172 -> 3dc107b94
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/printing/PrintDataGridExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/printing/PrintDataGridExample.mxml b/TourDeFlex/TourDeFlex3/src/printing/PrintDataGridExample.mxml
new file mode 100755
index 0000000..2c4da11
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/printing/PrintDataGridExample.mxml
@@ -0,0 +1,142 @@
+<?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.
+ -->
+
+<!-- Main application to print a DataGrid control on multiple pages. -->
+
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" initialize="initData();">
+
+ <mx:Script>
+ <![CDATA[
+
+ import mx.printing.*;
+ import mx.collections.ArrayCollection;
+ import FormPrintView;
+
+ // Declare variables and initialize simple variables.
+ [Bindable]
+ public var dgProvider:ArrayCollection;
+ public var footerHeight:Number = 20;
+ public var prodIndex:Number;
+ public var prodTotal:Number = 0;
+
+ // Data initialization.
+ public function initData():void {
+ // Create the data provider for the DataGrid control.
+ dgProvider = new ArrayCollection;
+ }
+
+ // Fill the dgProvider ArrayCollection with the specified items.
+ public function setdgProvider(items:int):void {
+
+ prodIndex=1;
+ dgProvider.removeAll();
+ for (var z:int=0; z<items; z++)
+ {
+ var prod1:Object = {};
+ prod1.Qty = prodIndex * 7;
+ prod1.Index = prodIndex++;
+ prodTotal += prod1.Qty;
+ dgProvider.addItem(prod1);
+ }
+ }
+
+ // The function to print the output.
+ public function doPrint():void {
+
+ var printJob:FlexPrintJob = new FlexPrintJob();
+ if (printJob.start()) {
+ // Create a FormPrintView control as a child of the current view.
+ var thePrintView:FormPrintView = new FormPrintView();
+ Application.application.addChild(thePrintView);
+
+ //Set the print view properties.
+ thePrintView.width=printJob.pageWidth;
+ thePrintView.height=printJob.pageHeight;
+ thePrintView.prodTotal = prodTotal;
+ // Set the data provider of the FormPrintView component's data grid
+ // to be the data provider of the displayed data grid.
+ thePrintView.myDataGrid.dataProvider = myDataGrid.dataProvider;
+ // Create a single-page image.
+ thePrintView.showPage("single");
+ // If the print image's data grid can hold all the provider's rows,
+ // add the page to the print job.
+ if(!thePrintView.myDataGrid.validNextPage)
+ {
+ printJob.addObject(thePrintView);
+ }
+ // Otherwise, the job requires multiple pages.
+ else
+ {
+ // Create the first page and add it to the print job.
+ thePrintView.showPage("first");
+ printJob.addObject(thePrintView);
+ thePrintView.pageNumber++;
+ // Loop through the following code until all pages are queued.
+ while(true)
+ {
+ // Move the next page of data to the top of the print grid.
+ thePrintView.myDataGrid.nextPage();
+ thePrintView.showPage("last");
+ // If the page holds the remaining data, or if the last page
+ // was completely filled by the last grid data, queue it for printing.
+ // Test if there is data for another PrintDataGrid page.
+ if(!thePrintView.myDataGrid.validNextPage)
+ {
+ // This is the last page; queue it and exit the print loop.
+ printJob.addObject(thePrintView);
+ break;
+ }
+ else
+ // This is not the last page. Queue a middle page.
+ {
+ thePrintView.showPage("middle");
+ printJob.addObject(thePrintView);
+ thePrintView.pageNumber++;
+ }
+ }
+ }
+ // All pages are queued; remove the FormPrintView control to free memory.
+ Application.application.removeChild(thePrintView);
+ }
+ // Send the job to the printer.
+ printJob.send();
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:Panel title="DataGrid Printing Example" height="75%" width="75%"
+ paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
+
+ <mx:DataGrid id="myDataGrid" dataProvider="{dgProvider}">
+ <mx:columns>
+ <mx:DataGridColumn dataField="Index"/>
+ <mx:DataGridColumn dataField="Qty"/>
+ </mx:columns>
+ </mx:DataGrid>
+
+ <mx:Text width="100%" color="blue"
+ text="Specify the number of lines and click Fill Grid first. Then you can click Print."/>
+
+ <mx:TextInput id="dataItems" text="35"/>
+
+ <mx:HBox>
+ <mx:Button id="setDP" label="Fill Grid" click="setdgProvider(int(dataItems.text));"/>
+ <mx:Button id="printDG" label="Print" click="doPrint();"/>
+ </mx:HBox>
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/states/StatesExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/states/StatesExample.mxml b/TourDeFlex/TourDeFlex3/src/states/StatesExample.mxml
new file mode 100755
index 0000000..726f1fe
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/states/StatesExample.mxml
@@ -0,0 +1,68 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the States class. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <!-- Define one view state, in addition to the base state.-->
+ <mx:states>
+ <mx:State name="Register">
+ <mx:AddChild relativeTo="{loginForm}" position="lastChild">
+ <mx:target>
+ <mx:FormItem id="confirm" label="Confirm:">
+ <mx:TextInput/>
+ </mx:FormItem>
+ </mx:target>
+ </mx:AddChild>
+ <mx:SetProperty target="{loginPanel}" name="title" value="Register"/>
+ <mx:SetProperty target="{loginButton}" name="label" value="Register"/>
+ <mx:SetStyle target="{loginButton}"
+ name="color" value="blue"/>
+ <mx:RemoveChild target="{registerLink}"/>
+ <mx:AddChild relativeTo="{spacer1}" position="before">
+ <mx:target>
+ <mx:LinkButton id="loginLink" label="Return to Login" click="currentState=''"/>
+ </mx:target>
+ </mx:AddChild>
+ </mx:State>
+ </mx:states>
+
+ <!-- Define a Panel container that defines the login form.-->
+ <mx:Panel title="Login" id="loginPanel"
+ horizontalScrollPolicy="off" verticalScrollPolicy="off"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Text width="100%" color="blue"
+ text="Click the 'Need to Register?' link to change state. Click the 'Return to Login' link to return to the base state."/>
+
+ <mx:Form id="loginForm" >
+ <mx:FormItem label="Username:">
+ <mx:TextInput/>
+ </mx:FormItem>
+ <mx:FormItem label="Password:">
+ <mx:TextInput/>
+ </mx:FormItem>
+ </mx:Form>
+ <mx:ControlBar>
+ <mx:LinkButton id="registerLink" label="Need to Register?"
+ click="currentState='Register'"/>
+ <mx:Spacer width="100%" id="spacer1"/>
+ <mx:Button label="Login" id="loginButton"/>
+ </mx:ControlBar>
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/states/TransitionExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/states/TransitionExample.mxml b/TourDeFlex/TourDeFlex3/src/states/TransitionExample.mxml
new file mode 100755
index 0000000..b643bd9
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/states/TransitionExample.mxml
@@ -0,0 +1,95 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the Transition class. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <!-- Define one view state, in addition to the base state.-->
+ <mx:states>
+ <mx:State name="Register">
+ <mx:AddChild relativeTo="{loginForm}" position="lastChild">
+ <mx:target>
+ <mx:FormItem id="confirm" label="Confirm:">
+ <mx:TextInput/>
+ </mx:FormItem>
+ </mx:target>
+ </mx:AddChild>
+ <mx:SetProperty target="{loginPanel}" name="title" value="Register"/>
+ <mx:SetProperty target="{loginButton}" name="label" value="Register"/>
+ <mx:SetStyle target="{loginButton}"
+ name="color" value="blue"/>
+ <mx:RemoveChild target="{registerLink}"/>
+ <mx:AddChild relativeTo="{spacer1}" position="before">
+ <mx:target>
+ <mx:LinkButton id="loginLink" label="Return to Login" click="currentState=''"/>
+ </mx:target>
+ </mx:AddChild>
+ </mx:State>
+ </mx:states>
+
+ <mx:transitions>
+ <!-- Define the transition from the base state to the Register state.-->
+ <mx:Transition id="toRegister" fromState="*" toState="Register">
+ <mx:Sequence targets="{[loginPanel, registerLink, confirm, loginLink, spacer1]}">
+ <mx:RemoveChildAction/>
+ <mx:SetPropertyAction target="{loginPanel}" name="title"/>
+ <mx:SetPropertyAction target="{loginButton}" name="label"/>
+ <mx:SetStyleAction target="{loginButton}" name="color"/>
+ <mx:Resize target="{loginPanel}"/>
+ <mx:AddChildAction/>
+ </mx:Sequence>
+ </mx:Transition>
+
+ <!-- Define the transition from the Register state to the base state.-->
+ <mx:Transition id="toDefault" fromState="Register" toState="*">
+ <mx:Sequence targets="{[loginPanel, registerLink,
+ confirm, loginLink, spacer1]}">
+ <mx:RemoveChildAction/>
+ <mx:SetPropertyAction target="{loginPanel}" name="title"/>
+ <mx:SetPropertyAction target="{loginButton}" name="label"/>
+ <mx:SetStyleAction target="{loginButton}" name="color"/>
+ <mx:Resize target="{loginPanel}"/>
+ <mx:AddChildAction/>
+ </mx:Sequence>
+ </mx:Transition>
+ </mx:transitions>
+
+ <!-- Define a Panel container that defines the login form.-->
+ <mx:Panel title="Login" id="loginPanel"
+ horizontalScrollPolicy="off" verticalScrollPolicy="off"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Text width="100%" color="blue"
+ text="Click the 'Need to Register?' link to change state. Click the 'Return to Login' link to return to the base state."/>
+
+ <mx:Form id="loginForm" >
+ <mx:FormItem label="Username:">
+ <mx:TextInput/>
+ </mx:FormItem>
+ <mx:FormItem label="Password:">
+ <mx:TextInput/>
+ </mx:FormItem>
+ </mx:Form>
+ <mx:ControlBar>
+ <mx:LinkButton id="registerLink" label="Need to Register?"
+ click="currentState='Register'"/>
+ <mx:Spacer width="100%" id="spacer1"/>
+ <mx:Button label="Login" id="loginButton"/>
+ </mx:ControlBar>
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/validators/CreditCardValidatorExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/validators/CreditCardValidatorExample.mxml b/TourDeFlex/TourDeFlex3/src/validators/CreditCardValidatorExample.mxml
new file mode 100755
index 0000000..78d497d
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/validators/CreditCardValidatorExample.mxml
@@ -0,0 +1,66 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the CreditCardValidator. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ import mx.controls.Alert;
+ </mx:Script>
+
+ <!-- Define model for the credit card data. -->
+ <mx:Model id="creditcard">
+ <card>
+ <cardType>{cardTypeCombo.selectedItem.data}</cardType>
+ <cardNumber>{cardNumberInput.text}</cardNumber>
+ </card>
+ </mx:Model>
+
+ <mx:CreditCardValidator id="ccV"
+ cardTypeSource="{creditcard}" cardTypeProperty="cardType"
+ cardNumberSource="{creditcard}" cardNumberProperty="cardNumber"
+ trigger="{myButton}" triggerEvent="click"
+ cardTypeListener="{cardTypeCombo}"
+ cardNumberListener="{cardNumberInput}"
+ valid="Alert.show('Validation Succeeded!');"/>
+
+ <mx:Panel title="CreditCardValidator Example" width="75%" height="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Form id="creditCardForm">
+ <mx:FormItem label="Card Type">
+ <mx:ComboBox id="cardTypeCombo">
+ <mx:dataProvider>
+ <mx:Object label="American Express" data="American Express"/>
+ <mx:Object label="Diners Club" data="Diners Club"/>
+ <mx:Object label="Discover" data="Discover"/>
+ <mx:Object label="MasterCard" data="MasterCard"/>
+ <mx:Object label="Visa" data="Visa"/>
+ </mx:dataProvider>
+ </mx:ComboBox>
+ </mx:FormItem>
+ <mx:FormItem label="Credit Card Number">
+ <mx:TextInput id="cardNumberInput"/>
+ </mx:FormItem>
+ <mx:FormItem>
+ <mx:Button id="myButton" label="Check Credit"/>
+ </mx:FormItem>
+ </mx:Form>
+
+ </mx:Panel>
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/validators/CurrencyValidatorExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/validators/CurrencyValidatorExample.mxml b/TourDeFlex/TourDeFlex3/src/validators/CurrencyValidatorExample.mxml
new file mode 100755
index 0000000..4773a90
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/validators/CurrencyValidatorExample.mxml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate the CurrencyValidator. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ import mx.controls.Alert;
+ </mx:Script>
+
+ <mx:CurrencyValidator source="{priceUS}" property="text" precision="2"
+ trigger="{myButton}" triggerEvent="click"
+ valid="Alert.show('Validation Succeeded!');"/>
+
+ <mx:Panel title="CurrencyValidator Example" width="75%" height="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Form>
+ <mx:FormItem label="Enter a U.S. dollar amount: ">
+ <mx:TextInput id="priceUS" width="100%"/>
+ </mx:FormItem>
+
+ <mx:FormItem >
+ <mx:Button id="myButton" label="Validate"/>
+ </mx:FormItem>
+ </mx:Form>
+ </mx:Panel>
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/validators/DateValidatorExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/validators/DateValidatorExample.mxml b/TourDeFlex/TourDeFlex3/src/validators/DateValidatorExample.mxml
new file mode 100755
index 0000000..2ed06d1
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/validators/DateValidatorExample.mxml
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate the DateValidator. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ import mx.controls.Alert;
+ </mx:Script>
+
+ <mx:Model id="CheckModel">
+ <dateInfo>
+ <DOB>{dob.text}</DOB>
+ </dateInfo>
+ </mx:Model>
+
+ <mx:DateValidator source="{dob}" property="text" allowedFormatChars="/"
+ trigger="{myButton}" triggerEvent="click"
+ valid="Alert.show('Validation Succeeded!');"/>
+
+ <mx:Panel title="DateValidator Example" width="75%" height="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Form>
+ <mx:FormItem label="Enter date of birth (mm/dd/yyyy): ">
+ <mx:TextInput id="dob" width="100%"/>
+ </mx:FormItem>
+
+ <mx:FormItem >
+ <mx:Button id="myButton" label="Validate" />
+ </mx:FormItem>
+ </mx:Form>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/validators/EmailValidatorExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/validators/EmailValidatorExample.mxml b/TourDeFlex/TourDeFlex3/src/validators/EmailValidatorExample.mxml
new file mode 100755
index 0000000..3a8f9ca
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/validators/EmailValidatorExample.mxml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate the EmailValidator. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ import mx.controls.Alert;
+ </mx:Script>
+
+ <mx:EmailValidator source="{email}" property="text"
+ trigger="{myButton}" triggerEvent="click"
+ valid="Alert.show('Validation Succeeded!');"/>
+
+ <mx:Panel title="EmailValidator Example" width="75%" height="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Form>
+ <mx:FormItem label="Enter an e-mail address: ">
+ <mx:TextInput id="email" width="100%"/>
+ </mx:FormItem>
+
+ <mx:FormItem >
+ <mx:Button id="myButton" label="Validate" />
+ </mx:FormItem>
+ </mx:Form>
+ </mx:Panel>
+ </mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/validators/NumberValidatorExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/validators/NumberValidatorExample.mxml b/TourDeFlex/TourDeFlex3/src/validators/NumberValidatorExample.mxml
new file mode 100755
index 0000000..0f65ab1
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/validators/NumberValidatorExample.mxml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate the NumberValidator. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ import mx.controls.Alert;
+ </mx:Script>
+
+ <mx:NumberValidator source="{age}" property="text" integerError="Enter Integer value"
+ minValue="18" maxValue="50" domain="int"
+ trigger="{myButton}" triggerEvent="click"
+ valid="Alert.show('Validation Succeeded!');"/>
+
+ <mx:Panel title="NumberValidator Example" width="75%" height="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Form>
+ <mx:FormItem label="Enter an age between 18 and 50: ">
+ <mx:TextInput id="age" width="100%"/>
+ </mx:FormItem>
+
+ <mx:FormItem >
+ <mx:Button id="myButton" label="Validate" />
+ </mx:FormItem>
+ </mx:Form>
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/validators/PhoneNumberValidatorExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/validators/PhoneNumberValidatorExample.mxml b/TourDeFlex/TourDeFlex3/src/validators/PhoneNumberValidatorExample.mxml
new file mode 100755
index 0000000..3d59658
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/validators/PhoneNumberValidatorExample.mxml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate the PhoneNumberValidator. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ import mx.controls.Alert;
+ </mx:Script>
+
+ <mx:PhoneNumberValidator source="{phone}" property="text"
+ trigger="{myButton}" triggerEvent="click"
+ valid="Alert.show('Validation Succeeded!');"/>
+
+ <mx:Panel title="Phone Number Validator Panel" width="75%" height="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Form>
+ <mx:FormItem label="Enter 10-digit phone number: ">
+ <mx:TextInput id="phone" width="100%"/>
+ </mx:FormItem>
+
+ <mx:FormItem >
+ <mx:Button id="myButton" label="Validate" />
+ </mx:FormItem>
+ </mx:Form>
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/validators/RegExValidatorExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/validators/RegExValidatorExample.mxml b/TourDeFlex/TourDeFlex3/src/validators/RegExValidatorExample.mxml
new file mode 100755
index 0000000..b7e64e9
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/validators/RegExValidatorExample.mxml
@@ -0,0 +1,83 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the RegExpValidator. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+ import mx.events.ValidationResultEvent;
+ import mx.validators.*;
+
+ // Write the results to the
+ private function handleResult(eventObj:ValidationResultEvent):void {
+ if (eventObj.type == ValidationResultEvent.VALID)
+ {
+ // For valid events, the results Array contains
+ // RegExpValidationResult objects.
+ var xResult:RegExpValidationResult;
+ reResults.text="";
+ for (var i:uint = 0; i < eventObj.results.length; i++)
+ {
+ xResult = eventObj.results[i];
+ reResults.text=reResults.text + xResult.matchedIndex + " " +
+ xResult.matchedString + "\n";
+ }
+ }
+ else
+ {
+ reResults.text="";
+ }
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:RegExpValidator id="regExpV"
+ source="{regex_text}" property="text"
+ flags="g" expression="{regex.text}"
+ valid="handleResult(event)" invalid="handleResult(event)"
+ trigger="{myButton}" triggerEvent="click"/>
+
+ <mx:Panel title="RegExpValidator Example" width="95%" height="95%"
+ paddingTop="5" paddingLeft="5" paddingRight="5" paddingBottom="5">
+
+ <mx:Text width="100%" text="Instructions:"/>
+ <mx:Text width="100%" text="1. Enter text to search. By default, enter a string containing the letters ABC in sequence followed by any digit."/>
+ <mx:Text width="100%" text="2. Enter the regular expression. By default, enter ABC\d."/>
+ <mx:Text width="100%" text="3. Click the Button control to trigger the validation."/>
+ <mx:Text width="100%" text="4. The results show the index in the text where the matching pattern begins, and the matching pattern. "/>
+
+ <mx:Form>
+ <mx:FormItem label="Enter text: ">
+ <mx:TextInput id="regex_text" text="xxxxABC4xxx" width="100%"/>
+ </mx:FormItem>
+
+ <mx:FormItem label="Enter regular expression: ">
+ <mx:TextInput id="regex" text="ABC\d" width="100%"/>
+ </mx:FormItem>
+
+ <mx:FormItem label="Results: ">
+ <mx:TextInput id="reResults" width="100%"/>
+ </mx:FormItem>
+
+ <mx:FormItem >
+ <mx:Button id="myButton" label="Validate"/>
+ </mx:FormItem>
+ </mx:Form>
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/validators/SimpleValidatorExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/validators/SimpleValidatorExample.mxml b/TourDeFlex/TourDeFlex3/src/validators/SimpleValidatorExample.mxml
new file mode 100755
index 0000000..d56f2df
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/validators/SimpleValidatorExample.mxml
@@ -0,0 +1,74 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the Validator class. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ // Import necessary classes.
+ import mx.controls.Alert;
+ import mx.events.ValidationResultEvent;
+
+ // Event listener for the valid and invalid events.
+ private function handleValid(eventObj:ValidationResultEvent):void {
+ if(eventObj.type==ValidationResultEvent.VALID)
+ // Enable Submit button.
+ submitButton.enabled = true;
+ else
+ submitButton.enabled = false;
+ }
+
+ // Submit form is everything is valid.
+ private function submitForm():void {
+ Alert.show("Form Submitted!");
+ }
+
+ ]]>
+ </mx:Script>
+
+ <!-- The Validator class defines the required property and the validator events
+ used by all validator subclasses. -->
+ <mx:Validator id="reqValid" required="true"
+ source="{fname}" property="text"
+ valid="handleValid(event)" invalid="handleValid(event)"/>
+
+ <mx:Panel title="Validator Example" width="100%" height="100%"
+ paddingTop="5" paddingLeft="5" paddingRight="5" paddingBottom="5">
+
+ <mx:Form>
+ <mx:Text width="100%" color="blue"
+ text="Enter a value in the Name field before you can submit. The E-mail field is optional."/>
+
+ <mx:FormItem label="Name: " required="true">
+ <mx:TextInput id="fname" width="100%"/>
+ </mx:FormItem>
+
+ <mx:FormItem label="E-mail address: " required="false">
+ <mx:TextInput id="email" width="100%"/>
+ </mx:FormItem>
+
+ <mx:FormItem>
+ <mx:Button id="submitButton" enabled="false"
+ label="Submit" click="submitForm();"/>
+ </mx:FormItem>
+ </mx:Form>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/validators/SocialSecurityValidatorExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/validators/SocialSecurityValidatorExample.mxml b/TourDeFlex/TourDeFlex3/src/validators/SocialSecurityValidatorExample.mxml
new file mode 100755
index 0000000..eacd894
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/validators/SocialSecurityValidatorExample.mxml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate SocialSecurityValidator. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ import mx.controls.Alert;
+ </mx:Script>
+
+ <mx:SocialSecurityValidator source="{ssn}" property="text"
+ trigger="{myButton}" triggerEvent="click"
+ valid="Alert.show('Validation Succeeded!');"/>
+
+ <mx:Panel title="Social Security Validator Panel" width="75%" height="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Form>
+ <mx:FormItem label="Enter Social Security number: ">
+ <mx:TextInput id="ssn" width="100%"/>
+ </mx:FormItem>
+
+ <mx:FormItem >
+ <mx:Button id="myButton" label="Validate" />
+ </mx:FormItem>
+ </mx:Form>
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/validators/StringValidatorExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/validators/StringValidatorExample.mxml b/TourDeFlex/TourDeFlex3/src/validators/StringValidatorExample.mxml
new file mode 100755
index 0000000..4fb5344
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/validators/StringValidatorExample.mxml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate StringValidator. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ import mx.controls.Alert;
+ </mx:Script>
+
+ <mx:StringValidator source="{fname}" property="text"
+ tooShortError="This string is shorter than the minimum allowed length of 4. "
+ tooLongError="This string is longer than the maximum allowed length of 20."
+ minLength="4" maxLength="20"
+ trigger="{myButton}" triggerEvent="click"
+ valid="Alert.show('Validation Succeeded!');"/>
+
+ <mx:Panel title="StringValidator Example" width="75%" height="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Form>
+ <mx:FormItem label="Enter a name between 4 and 20 characters: ">
+ <mx:TextInput id="fname" width="100%"/>
+ </mx:FormItem>
+
+ <mx:FormItem >
+ <mx:Button id="myButton" label="Validate" />
+ </mx:FormItem>
+ </mx:Form>
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/validators/ZipCodeValidatorExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/validators/ZipCodeValidatorExample.mxml b/TourDeFlex/TourDeFlex3/src/validators/ZipCodeValidatorExample.mxml
new file mode 100755
index 0000000..db2e2a8
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/validators/ZipCodeValidatorExample.mxml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate the ZipCodeValidator. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ import mx.controls.Alert;
+ </mx:Script>
+
+ <mx:ZipCodeValidator source="{zip}" property="text"
+ trigger="{myButton}" triggerEvent="click"
+ valid="Alert.show('Validation Succeeded!');"/>
+
+ <mx:Panel title="ZipcodeValidator Example" width="75%" height="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Form>
+ <mx:FormItem label="Enter a 5 or 9 digit U.S. Zip code: ">
+ <mx:TextInput id="zip" width="100%"/>
+ </mx:FormItem>
+
+ <mx:FormItem >
+ <mx:Button id="myButton" label="Validate" />
+ </mx:FormItem>
+ </mx:Form>
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/viewsource.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/viewsource.mxml b/TourDeFlex/TourDeFlex3/src/viewsource.mxml
new file mode 100755
index 0000000..77951b6
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/viewsource.mxml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" backgroundColor="#CCCCCC" usePreloader="false"
+ paddingTop="0" paddingBottom="0" paddingLeft="0" paddingRight="0">
+
+ <mx:Script>
+ <![CDATA[
+
+ public function loadSource(appUrl:String, srcUrl:String):void
+ {
+ // delete all previously loaded source
+ tn.removeAllChildren();
+
+ var tabs:Array = new Array();
+ if (appUrl != null && appUrl != "")
+ {
+ var files:Array = new Array();
+ // the first file shown will be the mxml source
+ files[0] = appUrl + ".mxml";
+
+ if (srcUrl != null && srcUrl != "")
+ {
+ // other source files are shown in the subsequence tabs
+ var otherSrc:Array = srcUrl.split("&");
+ files = files.concat(otherSrc);
+ }
+
+ for (var i:int ; i < files.length ; i++)
+ {
+ tabs[i] = new SourceTab();
+ tn.addChild(tabs[i]);
+ tabs[i].source = files[i];
+ }
+ }
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:TabNavigator id="tn" width="100%" height="100%" paddingTop="0"/>
+
+</mx:VBox>
\ No newline at end of file
[10/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/SourceStyles.css
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/SourceStyles.css b/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/SourceStyles.css
new file mode 100644
index 0000000..9d5210f
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/SourceStyles.css
@@ -0,0 +1,155 @@
+/*
+ * 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.
+ */
+body {
+ font-family: Courier New, Courier, monospace;
+ font-size: medium;
+}
+
+.ActionScriptASDoc {
+ color: #3f5fbf;
+}
+
+.ActionScriptBracket/Brace {
+}
+
+.ActionScriptComment {
+ color: #009900;
+ font-style: italic;
+}
+
+.ActionScriptDefault_Text {
+}
+
+.ActionScriptMetadata {
+ color: #0033ff;
+ font-weight: bold;
+}
+
+.ActionScriptOperator {
+}
+
+.ActionScriptReserved {
+ color: #0033ff;
+ font-weight: bold;
+}
+
+.ActionScriptString {
+ color: #990000;
+ font-weight: bold;
+}
+
+.ActionScriptclass {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScriptfunction {
+ color: #339966;
+ font-weight: bold;
+}
+
+.ActionScriptinterface {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScriptpackage {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScripttrace {
+ color: #cc6666;
+ font-weight: bold;
+}
+
+.ActionScriptvar {
+ color: #6699cc;
+ font-weight: bold;
+}
+
+.MXMLASDoc {
+ color: #3f5fbf;
+}
+
+.MXMLComment {
+ color: #800000;
+}
+
+.MXMLComponent_Tag {
+ color: #0000ff;
+}
+
+.MXMLDefault_Text {
+}
+
+.MXMLProcessing_Instruction {
+}
+
+.MXMLSpecial_Tag {
+ color: #006633;
+}
+
+.MXMLString {
+ color: #990000;
+}
+
+.CSS@font-face {
+ color: #990000;
+ font-weight: bold;
+}
+
+.CSS@import {
+ color: #006666;
+ font-weight: bold;
+}
+
+.CSS@media {
+ color: #663333;
+ font-weight: bold;
+}
+
+.CSS@namespace {
+ color: #923196;
+}
+
+.CSSComment {
+ color: #999999;
+}
+
+.CSSDefault_Text {
+}
+
+.CSSDelimiters {
+}
+
+.CSSProperty_Name {
+ color: #330099;
+}
+
+.CSSProperty_Value {
+ color: #3333cc;
+}
+
+.CSSSelector {
+ color: #ff00ff;
+}
+
+.CSSString {
+ color: #990000;
+}
+
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/SourceTree.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/SourceTree.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/SourceTree.html
new file mode 100644
index 0000000..80281a9
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/SourceTree.html
@@ -0,0 +1,129 @@
+<!--
+ 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.
+-->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!-- saved from url=(0014)about:internet -->
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
+ <!--
+ Smart developers always View Source.
+
+ This application was built using Adobe Flex, an open source framework
+ for building rich Internet applications that get delivered via the
+ Flash Player or to desktops via Adobe AIR.
+
+ Learn more about Flex at http://flex.org
+ // -->
+ <head>
+ <title></title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <!-- Include CSS to eliminate any default margins/padding and set the height of the html element and
+ the body element to 100%, because Firefox, or any Gecko based browser, interprets percentage as
+ the percentage of the height of its parent container, which has to be set explicitly. Initially,
+ don't display flashContent div so it won't show if JavaScript disabled.
+ -->
+ <style type="text/css" media="screen">
+ html, body { height:100%; }
+ body { margin:0; padding:0; overflow:auto; text-align:center;
+ background-color: #ffffff; }
+ #flashContent { display:none; }
+ </style>
+
+ <!-- Enable Browser History by replacing useBrowserHistory tokens with two hyphens -->
+ <!-- BEGIN Browser History required section >
+ <link rel="stylesheet" type="text/css" href="history/history.css" />
+ <script type="text/javascript" src="history/history.js"></script>
+ <! END Browser History required section -->
+
+ <script type="text/javascript" src="swfobject.js"></script>
+ <script type="text/javascript">
+ function loadIntoMain(url) {
+ parent.mainFrame.location.href = url;
+ }
+
+ function openUrlWindow(url) {
+ window.top.location = url;
+ }
+
+ <!-- For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection. -->
+ var swfVersionStr = "10.0.0";
+ <!-- To use express install, set to playerProductInstall.swf, otherwise the empty string. -->
+ var xiSwfUrlStr = "playerProductInstall.swf";
+ var flashvars = {};
+ var params = {};
+ params.quality = "high";
+ params.bgcolor = "#ffffff";
+ params.allowscriptaccess = "sameDomain";
+ params.allowfullscreen = "true";
+ var attributes = {};
+ attributes.id = "SourceTree";
+ attributes.name = "SourceTree";
+ attributes.align = "middle";
+ swfobject.embedSWF(
+ "SourceTree.swf", "flashContent",
+ "100%", "100%",
+ swfVersionStr, xiSwfUrlStr,
+ flashvars, params, attributes);
+ <!-- JavaScript enabled so display the flashContent div in case it is not replaced with a swf object. -->
+ swfobject.createCSS("#flashContent", "display:block;text-align:left;");
+ </script>
+ </head>
+ <body>
+ <!-- SWFObject's dynamic embed method replaces this alternative HTML content with Flash content when enough
+ JavaScript and Flash plug-in support is available. The div is initially hidden so that it doesn't show
+ when JavaScript is disabled.
+ -->
+ <div id="flashContent">
+ <p>
+ To view this page ensure that Adobe Flash Player version
+ 10.0.0 or greater is installed.
+ </p>
+ <script type="text/javascript">
+ var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://");
+ document.write("<a href='http://www.adobe.com/go/getflashplayer'><img src='"
+ + pageHost + "www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' /></a>" );
+ </script>
+ </div>
+
+ <noscript>
+ <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%" id="SourceTree">
+ <param name="movie" value="SourceTree.swf" />
+ <param name="quality" value="high" />
+ <param name="bgcolor" value="#ffffff" />
+ <param name="allowScriptAccess" value="sameDomain" />
+ <param name="allowFullScreen" value="true" />
+ <!--[if !IE]>-->
+ <object type="application/x-shockwave-flash" data="SourceTree.swf" width="100%" height="100%">
+ <param name="quality" value="high" />
+ <param name="bgcolor" value="#ffffff" />
+ <param name="allowScriptAccess" value="sameDomain" />
+ <param name="allowFullScreen" value="true" />
+ <!--<![endif]-->
+ <!--[if gte IE 6]>-->
+ <p>
+ Either scripts and active content are not permitted to run or Adobe Flash Player version
+ 10.0.0 or greater is not installed.
+ </p>
+ <!--<![endif]-->
+ <a href="http://www.adobe.com/go/getflashplayer">
+ <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash Player" />
+ </a>
+ <!--[if !IE]>-->
+ </object>
+ <!--<![endif]-->
+ </object>
+ </noscript>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/index.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/index.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/index.html
new file mode 100644
index 0000000..2caa9d3
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/index.html
@@ -0,0 +1,32 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Source of Sample-AIR2-NetworkInfo</title>
+</head>
+<frameset cols="235,*" border="2" framespacing="1">
+ <frame src="SourceTree.html" name="leftFrame" scrolling="NO">
+ <frame src="source/sample.mxml.html" name="mainFrame">
+</frameset>
+<noframes>
+ <body>
+ </body>
+</noframes>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/source/sample-app.xml.txt
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/source/sample-app.xml.txt b/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/source/sample-app.xml.txt
new file mode 100644
index 0000000..58d0d2e
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/source/sample-app.xml.txt
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>NetworkInfoSample</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>Network Info Sample</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>Network Info Sample</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width in pixels. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height in pixels. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/source/sample.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/source/sample.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/source/sample.mxml.html
new file mode 100644
index 0000000..31bcce6
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/source/sample.mxml.html
@@ -0,0 +1,85 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>sample.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ErrorEvent</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">MouseEvent</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">net</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">NetworkInfo</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">net</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">NetworkInterface</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">UncaughtErrorEvent</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">collections</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ArrayCollection</span>;
+
+ <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Bindable</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">ac</span>:<span class="ActionScriptDefault_Text">ArrayCollection</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">ArrayCollection</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">button1_clickHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">MouseEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">ni</span>:<span class="ActionScriptDefault_Text">NetworkInfo</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">NetworkInfo</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">networkInfo</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">interfaceVector</span>:<span class="ActionScriptDefault_Text">Vector</span><span class="ActionScriptBracket/Brace">.<</span><span class="ActionScriptDefault_Text">NetworkInterface</span><span class="ActionScriptBracket/Brace">></span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">ni</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">findInterfaces</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptReserved">for each</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">item</span>:<span class="ActionScriptDefault_Text">NetworkInterface</span> <span class="ActionScriptReserved">in</span> <span class="ActionScriptDefault_Text">interfaceVector</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">ac</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addItem</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">item</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">addressFunction</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">item</span>:<span class="ActionScriptDefault_Text">Object</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">column</span>:<span class="ActionScriptDefault_Text">DataGridColumn</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptDefault_Text">String</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">NetworkInterface</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">item</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addresses</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">length</span> <span class="ActionScriptOperator">></span> 0<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">return</span> <span class="ActionScriptDefault_Text">NetworkInterface</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">item</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addresses</span><span class="ActionScriptBracket/Brace">[</span>0<span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">address</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptReserved">return</span> <span class="ActionScriptString">""</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:Panel</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" title="</span><span class="MXMLString">NetworkInfo Sample</span><span class="MXMLDefault_Text">" skinClass="</span><span class="MXMLString">skins.TDFPanelSkin</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">98%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">98%</span><span class="MXMLDefault_Text">" top="</span><span class="MXMLString">5</span><span class="MXMLDefault_Text">" left="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Find Network Interfaces</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">button1_clickHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><mx:DataGrid</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">dataGrid</span><span class="MXMLDefault_Text">" dataProvider="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">ac</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">650</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">120</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:columns></span>
+ <span class="MXMLComponent_Tag"><mx:DataGridColumn</span><span class="MXMLDefault_Text"> dataField="</span><span class="MXMLString">name</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><mx:DataGridColumn</span><span class="MXMLDefault_Text"> dataField="</span><span class="MXMLString">hardwareAddress</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">140</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><mx:DataGridColumn</span><span class="MXMLDefault_Text"> dataField="</span><span class="MXMLString">active</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">70</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><mx:DataGridColumn</span><span class="MXMLDefault_Text"> dataField="</span><span class="MXMLString">addresses</span><span class="MXMLDefault_Text">" labelFunction="</span><span class="MXMLString">addressFunction</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">150</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><mx:DataGridColumn</span><span class="MXMLDefault_Text"> dataField="</span><span class="MXMLString">mtu</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></mx:columns></span>
+ <span class="MXMLComponent_Tag"></mx:DataGrid></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">650</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">justify</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">"
+ text="</span><span class="MXMLString">The NetworkInfo class provides information about the network interfaces on a computer. Most computers
+ have one or more interfaces, such as a wired and a wireless network interface. Additional interfaces such as VPN, loopback, or virtual interfaces may also be present. Click
+ the Find Network Interfaces button to display your current interfaces.</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+ <span class="MXMLComponent_Tag"></s:Panel></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/source/skins/TDFPanelSkin.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/source/skins/TDFPanelSkin.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/source/skins/TDFPanelSkin.mxml.html
new file mode 100644
index 0000000..847dc77
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/source/skins/TDFPanelSkin.mxml.html
@@ -0,0 +1,158 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta http-equiv="Content-Style-Type" content="text/css">
+ <title>TDFPanelSkin.mxml</title>
+ <meta name="Generator" content="Cocoa HTML Writer">
+ <meta name="CocoaVersion" content="1187.4">
+ <style type="text/css">
+ p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier}
+ p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; color: #941100}
+ p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; min-height: 15.0px}
+ p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px}
+ </style>
+</head>
+<body>
+<p class="p1"><?xml version="1.0" encoding="utf-8"?></p>
+<p class="p2"><!--</p>
+<p class="p3"><br></p>
+<p class="p2">Licensed to the Apache Software Foundation (ASF) under one or more</p>
+<p class="p2">contributor license agreements.<span class="Apple-converted-space"> </span>See the NOTICE file distributed with</p>
+<p class="p2">this work for additional information regarding copyright ownership.</p>
+<p class="p2">The ASF licenses this file to You under the Apache License, Version 2.0</p>
+<p class="p2">(the "License"); you may not use this file except in compliance with</p>
+<p class="p2">the License.<span class="Apple-converted-space"> </span>You may obtain a copy of the License at</p>
+<p class="p3"><br></p>
+<p class="p2">http://www.apache.org/licenses/LICENSE-2.0</p>
+<p class="p3"><br></p>
+<p class="p2">Unless required by applicable law or agreed to in writing, software</p>
+<p class="p2">distributed under the License is distributed on an "AS IS" BASIS,</p>
+<p class="p2">WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</p>
+<p class="p2">See the License for the specific language governing permissions and</p>
+<p class="p2">limitations under the License.</p>
+<p class="p3"><br></p>
+<p class="p2">--></p>
+<p class="p4"><br></p>
+<p class="p1"><!--</p>
+<p class="p4"><br></p>
+<p class="p1">ADOBE SYSTEMS INCORPORATED</p>
+<p class="p1">Copyright 2008 Adobe Systems Incorporated</p>
+<p class="p1">All Rights Reserved.</p>
+<p class="p4"><br></p>
+<p class="p1">NOTICE: Adobe permits you to use, modify, and distribute this file</p>
+<p class="p1">in accordance with the terms of the license agreement accompanying it.</p>
+<p class="p4"><br></p>
+<p class="p1">--></p>
+<p class="p4"><br></p>
+<p class="p1"><s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"<span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span>alpha.disabled="0.5" minWidth="131" minHeight="127"></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><fx:Metadata></p>
+<p class="p1"><span class="Apple-converted-space"> </span>[HostComponent("spark.components.Panel")]</p>
+<p class="p1"><span class="Apple-converted-space"> </span></fx:Metadata><span class="Apple-converted-space"> </span></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:states></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normal" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabled" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normalWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabledWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:states></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- drop shadow --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" top="0" right="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:DropShadowFilter blurX="15" blurY="15" alpha="0.18" distance="11" angle="90" knockout="true" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: border --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColorStroke color="0" alpha="0.50" weight="1" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: background fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" height="15"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradient rotation="90"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xE2E2E2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradient></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: contents --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group left="1" right="1" top="1" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:VerticalLayout gap="0" horizontalAlign="justify" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="topGroup" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: title bar fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- Note: We have custom skinned the title bar to be solid black for Tour de Flex --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbFill" left="0" right="0" top="0" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: title bar highlight --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradientStroke rotation="90" weight="1"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xEAEAEA" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xD9D9D9" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradientStroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: title bar divider --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xC0C0C0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: text --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Label id="titleDisplay" maxDisplayedLines="1"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>left="9" right="3" top="1" minHeight="30"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>verticalAlign="middle" fontWeight="bold" color="#E2E2E2"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Label></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="bottomGroup" minWidth="0" minHeight="0"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>includeIn="normalWithControlBar, disabledWithControlBar" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: control bar background --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" top="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xE2EdF7" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: control bar divider line --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" height="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xD1E0F2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: control bar --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"></s:Skin></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/TDFPanelSkin.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/TDFPanelSkin.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/TDFPanelSkin.mxml.html
new file mode 100644
index 0000000..df79d11
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/TDFPanelSkin.mxml.html
@@ -0,0 +1,147 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta http-equiv="Content-Style-Type" content="text/css">
+ <title>TDFPanelSkin.mxml</title>
+ <meta name="Generator" content="Cocoa HTML Writer">
+ <meta name="CocoaVersion" content="1187.4">
+ <style type="text/css">
+ p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier}
+ p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; color: #941100}
+ p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; min-height: 15.0px}
+ p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px}
+ </style>
+</head>
+<body>
+<p class="p1"><?xml version="1.0" encoding="utf-8"?></p>
+<p class="p2"><!--</p>
+<p class="p3"><br></p>
+<p class="p2">Licensed to the Apache Software Foundation (ASF) under one or more</p>
+<p class="p2">contributor license agreements.<span class="Apple-converted-space"> </span>See the NOTICE file distributed with</p>
+<p class="p2">this work for additional information regarding copyright ownership.</p>
+<p class="p2">The ASF licenses this file to You under the Apache License, Version 2.0</p>
+<p class="p2">(the "License"); you may not use this file except in compliance with</p>
+<p class="p2">the License.<span class="Apple-converted-space"> </span>You may obtain a copy of the License at</p>
+<p class="p3"><br></p>
+<p class="p2">http://www.apache.org/licenses/LICENSE-2.0</p>
+<p class="p3"><br></p>
+<p class="p2">Unless required by applicable law or agreed to in writing, software</p>
+<p class="p2">distributed under the License is distributed on an "AS IS" BASIS,</p>
+<p class="p2">WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</p>
+<p class="p2">See the License for the specific language governing permissions and</p>
+<p class="p2">limitations under the License.</p>
+<p class="p3"><br></p>
+<p class="p2">--></p>
+<p class="p4"><br></p>
+<p class="p1"><s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"<span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span>alpha.disabled="0.5" minWidth="131" minHeight="127"></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><fx:Metadata></p>
+<p class="p1"><span class="Apple-converted-space"> </span>[HostComponent("spark.components.Panel")]</p>
+<p class="p1"><span class="Apple-converted-space"> </span></fx:Metadata><span class="Apple-converted-space"> </span></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:states></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normal" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabled" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normalWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabledWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:states></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- drop shadow --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" top="0" right="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:DropShadowFilter blurX="15" blurY="15" alpha="0.18" distance="11" angle="90" knockout="true" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: border --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColorStroke color="0" alpha="0.50" weight="1" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: background fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" height="15"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradient rotation="90"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xE2E2E2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradient></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: contents --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group left="1" right="1" top="1" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:VerticalLayout gap="0" horizontalAlign="justify" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="topGroup" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: title bar fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- Note: We have custom skinned the title bar to be solid black for Tour de Flex --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbFill" left="0" right="0" top="0" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: title bar highlight --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradientStroke rotation="90" weight="1"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xEAEAEA" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xD9D9D9" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradientStroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: title bar divider --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xC0C0C0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: text --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Label id="titleDisplay" maxDisplayedLines="1"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>left="9" right="3" top="1" minHeight="30"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>verticalAlign="middle" fontWeight="bold" color="#E2E2E2"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Label></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="bottomGroup" minWidth="0" minHeight="0"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>includeIn="normalWithControlBar, disabledWithControlBar" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: control bar background --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" top="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xE2EdF7" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: control bar divider line --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" height="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xD1E0F2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: control bar --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"></s:Skin></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/sample1.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/sample1.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/sample1.mxml.html
new file mode 100644
index 0000000..20545ce
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/sample1.mxml.html
@@ -0,0 +1,59 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>sample1.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">" styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">MouseEvent</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">controls</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">FileSystemDataGrid</span>;
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">datagridHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">MouseEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">fsg</span>:<span class="ActionScriptDefault_Text">FileSystemDataGrid</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">currentTarget</span> <span class="ActionScriptReserved">as</span> <span class="ActionScriptDefault_Text">FileSystemDataGrid</span>;
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">fsg</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedItem</span> <span class="ActionScriptOperator">!=</span> <span class="ActionScriptReserved">null</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">fsg</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedItem</span> <span class="ActionScriptReserved">as</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">openWithDefaultApplication</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:Panel</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" title="</span><span class="MXMLString">Open With Default Application Sample</span><span class="MXMLDefault_Text">" skinClass="</span><span class="MXMLString">skins.TDFPanelSkin</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> top="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">" left="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">660</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">justify</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">"
+ text="</span><span class="MXMLString">The Open With Default Application support allows you to open any file with it's associated default application. Locate a file
+item in the file system grid and double-click it to see it in action:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><mx:Button</span><span class="MXMLDefault_Text"> icon="</span><span class="MXMLString">@Embed(source='up.png')</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">fileGrid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">navigateUp</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;<span class="MXMLDefault_Text">"
+ enabled="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">fileGrid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">canNavigateUp</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><mx:FileSystemDataGrid</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">fileGrid</span><span class="MXMLDefault_Text">" directory="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">File</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">desktopDirectory</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">660</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">150</span><span class="MXMLDefault_Text">"
+ doubleClickEnabled="</span><span class="MXMLString">true</span><span class="MXMLDefault_Text">" doubleClick="</span><span class="ActionScriptDefault_Text">datagridHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"></mx:FileSystemDataGrid></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+ <span class="MXMLComponent_Tag"></s:Panel></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/sample2.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/sample2.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/sample2.mxml.html
new file mode 100644
index 0000000..ab989c3
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/sample2.mxml.html
@@ -0,0 +1,58 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>sample2.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">" styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLSpecial_Tag"><fx:Declarations></span>
+ <span class="MXMLComment"><!--</span><span class="MXMLComment"> Place non-visual elements (e.g., services, value objects) here </span><span class="MXMLComment">--></span>
+ <span class="MXMLSpecial_Tag"></fx:Declarations></span>
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">fileToOpen</span>:<span class="ActionScriptDefault_Text">File</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">documentsDirectory</span>;
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">onLoadFileClick</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">file</span>:<span class="ActionScriptDefault_Text">File</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">createTempDirectory</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">resolvePath</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"tourdeflex-air2-sample.txt"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">fileStream</span>:<span class="ActionScriptDefault_Text">FileStream</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">FileStream</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">fileStream</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">open</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">file</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">FileMode</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">WRITE</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">fileStream</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">writeUTFBytes</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">txtArea</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">fileStream</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">close</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">file</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">openWithDefaultApplication</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+ <span class="MXMLComponent_Tag"><s:Panel</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" title="</span><span class="MXMLString">Open With Default Application Sample</span><span class="MXMLDefault_Text">" skinClass="</span><span class="MXMLString">skins.TDFPanelSkin</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> paddingTop="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" paddingBottom="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" paddingLeft="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" paddingRight="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" top="</span><span class="MXMLString">15</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">400</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">justify</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">"
+ text="</span><span class="MXMLString">This sample demonstrates how you can write some text into a file and then open it immediately with the default text application.</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" text="</span><span class="MXMLString">Enter text and click button:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextArea</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">txtArea</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">80%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">40%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Load File</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">onLoadFileClick</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+ <span class="MXMLComponent_Tag"></s:Panel></span>
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/Sample-AIR2-OpenWithDefaultApplication/src/sample1-app.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/Sample-AIR2-OpenWithDefaultApplication/src/sample1-app.xml b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/Sample-AIR2-OpenWithDefaultApplication/src/sample1-app.xml
new file mode 100755
index 0000000..cad6bc3
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/Sample-AIR2-OpenWithDefaultApplication/src/sample1-app.xml
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>sample1</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>sample1</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>sample1</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
[18/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/Sample-AIR2-Globalization/src/NumberFormatterSample-app.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/Sample-AIR2-Globalization/src/NumberFormatterSample-app.xml b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/Sample-AIR2-Globalization/src/NumberFormatterSample-app.xml
new file mode 100755
index 0000000..f95bfbf
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/Sample-AIR2-Globalization/src/NumberFormatterSample-app.xml
@@ -0,0 +1,156 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta2
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>NumberFormatterSample</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>NumberFormatterSample</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>NumberFormatterSample</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
+ <!-- <publisherID></publisherID> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width in pixels. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height in pixels. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/Sample-AIR2-Globalization/src/NumberFormatterSample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/Sample-AIR2-Globalization/src/NumberFormatterSample.mxml b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/Sample-AIR2-Globalization/src/NumberFormatterSample.mxml
new file mode 100644
index 0000000..62593f6
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/Sample-AIR2-Globalization/src/NumberFormatterSample.mxml
@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:s="library://ns.adobe.com/flex/spark"
+ xmlns:mx="library://ns.adobe.com/flex/mx"
+ styleName="plain" width="100%" height="100%">
+ <fx:Script>
+ <![CDATA[
+ import flash.globalization.LastOperationStatus;
+ import flash.globalization.LocaleID;
+ import flash.globalization.NumberFormatter;
+ import flash.globalization.NumberParseResult;
+
+ import mx.collections.ArrayCollection;
+ protected var locale:String;
+
+ [Bindable]
+ protected var locales:ArrayCollection = new ArrayCollection([
+ {label:"Default Locale", data:LocaleID.DEFAULT},
+ {label:"Swedish", data:"sv_SE"},
+ {label:"Dutch", data:"nl_NL"},
+ {label:"French", data:"fr_FR"},
+ {label:"German", data:"de_DE"},
+ {label:"Japanese", data:"ja_JP"},
+ {label:"Korean", data:"ko_KR"},
+ {label:"US-English", data:"en_US"},
+ ]);
+
+ protected function parseNumber():void
+ {
+ ta.text="";
+
+ if (ddl.selectedIndex == -1)
+ locale = LocaleID.DEFAULT;
+ else locale = ddl.selectedItem.data
+
+ var nf:NumberFormatter = new NumberFormatter(locale);
+ ta.text += "Locale selected: " + locale + " Actual LocaleID Name: " + nf.actualLocaleIDName + "\n\n";
+
+ var parseResult:NumberParseResult = nf.parse(num.text);
+ if (nf.lastOperationStatus == LastOperationStatus.NO_ERROR ) {
+ ta.text +="The value of Parsed Number:" + parseResult.value +"\n";
+ }
+ var parsedNumber:Number = nf.parseNumber(num.text);
+ if (nf.lastOperationStatus == LastOperationStatus.NO_ERROR ) {
+ ta.text+="The value of Parsed Number:" + parsedNumber +"\n";
+ }
+ ta.text += "\n\nLast Operation Status: " + nf.lastOperationStatus + "\n";
+ }
+ protected function formatNumber():void
+ {
+ ta.text="";
+
+ if (ddl.selectedIndex == -1)
+ locale = LocaleID.DEFAULT;
+ else locale = ddl.selectedItem.data
+
+ var nf:NumberFormatter = new NumberFormatter(locale);
+ ta.text += "Locale selected: " + locale + " - Actual locale name: " + nf.actualLocaleIDName + "\n\n";
+ ta.text += "Formatted Number: " + nf.formatNumber(Number(num.text))+"\n";
+ ta.text += "Formatted Integer: " + nf.formatInt(Number(num.text))+"\n";
+ ta.text += "Formatted Unsigned Integer: " + nf.formatUint(Number(num.text))+"\n";
+
+ ta.text += "\n\nLast Operation Status: " + nf.lastOperationStatus+"\n";
+
+ }
+ ]]>
+ </fx:Script>
+
+ <s:Panel skinClass="skins.TDFPanelSkin" width="100%" height="100%" title="Number Formatting/Parsing by Locale">
+ <s:VGroup top="10" left="12">
+ <s:Label text="Enter a number with commas, decimals or negative"/>
+ <s:Label text="(for example: 123,456,789.123):"/>
+ <s:TextInput id="num"/>
+ <s:DropDownList id="ddl" dataProvider="{locales}" prompt="Select locale..." width="200"/>
+ <s:HGroup>
+ <s:Button label="Parse" click="parseNumber()"/>
+ <s:Button label="Format" click="formatNumber()"/>
+ </s:HGroup>
+ </s:VGroup>
+ <s:VGroup right="20" top="10">
+ <s:Label text="Console:"/>
+ <s:TextArea id="ta" width="350" editable="false" />
+ </s:VGroup>
+ <s:Label width="95%" verticalAlign="justify" color="#323232" bottom="25" horizontalCenter="0"
+ text="This sample will format or parse a number with the selected locale. The last operation status
+will indicate if an error occurred in formatting or parsing. "/>
+ </s:Panel>
+</mx:Module>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/Sample-AIR2-Globalization/src/skins/TDFPanelSkin.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/Sample-AIR2-Globalization/src/skins/TDFPanelSkin.mxml b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/Sample-AIR2-Globalization/src/skins/TDFPanelSkin.mxml
new file mode 100644
index 0000000..ff46524
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/Sample-AIR2-Globalization/src/skins/TDFPanelSkin.mxml
@@ -0,0 +1,130 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+
+
+<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+ alpha.disabled="0.5" minWidth="131" minHeight="127">
+
+ <fx:Metadata>
+ [HostComponent("spark.components.Panel")]
+ </fx:Metadata>
+
+ <s:states>
+ <s:State name="normal" />
+ <s:State name="disabled" />
+ <s:State name="normalWithControlBar" />
+ <s:State name="disabledWithControlBar" />
+ </s:states>
+
+ <!-- drop shadow -->
+ <s:Rect left="0" top="0" right="0" bottom="0">
+ <s:filters>
+ <s:DropShadowFilter blurX="15" blurY="15" alpha="0.18" distance="11" angle="90" knockout="true" />
+ </s:filters>
+ <s:fill>
+ <s:SolidColor color="0" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 1: border -->
+ <s:Rect left="0" right="0" top="0" bottom="0">
+ <s:stroke>
+ <s:SolidColorStroke color="0" alpha="0.50" weight="1" />
+ </s:stroke>
+ </s:Rect>
+
+ <!-- layer 2: background fill -->
+ <s:Rect left="0" right="0" bottom="0" height="15">
+ <s:fill>
+ <s:LinearGradient rotation="90">
+ <s:GradientEntry color="0xE2E2E2" />
+ <s:GradientEntry color="0x000000" />
+ </s:LinearGradient>
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 3: contents -->
+ <s:Group left="1" right="1" top="1" bottom="1" >
+ <s:layout>
+ <s:VerticalLayout gap="0" horizontalAlign="justify" />
+ </s:layout>
+
+ <s:Group id="topGroup" >
+ <!-- layer 0: title bar fill -->
+ <!-- Note: We have custom skinned the title bar to be solid black for Tour de Flex -->
+ <s:Rect id="tbFill" left="0" right="0" top="0" bottom="1" >
+ <s:fill>
+ <s:SolidColor color="0x000000" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 1: title bar highlight -->
+ <s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0" >
+ <s:stroke>
+ <s:LinearGradientStroke rotation="90" weight="1">
+ <s:GradientEntry color="0xEAEAEA" />
+ <s:GradientEntry color="0xD9D9D9" />
+ </s:LinearGradientStroke>
+ </s:stroke>
+ </s:Rect>
+
+ <!-- layer 2: title bar divider -->
+ <s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0">
+ <s:fill>
+ <s:SolidColor color="0xC0C0C0" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 3: text -->
+ <s:Label id="titleDisplay" maxDisplayedLines="1"
+ left="9" right="3" top="1" minHeight="30"
+ verticalAlign="middle" fontWeight="bold" color="#E2E2E2">
+ </s:Label>
+
+ </s:Group>
+
+ <s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0">
+ </s:Group>
+
+ <s:Group id="bottomGroup" minWidth="0" minHeight="0"
+ includeIn="normalWithControlBar, disabledWithControlBar" >
+ <!-- layer 0: control bar background -->
+ <s:Rect left="0" right="0" bottom="0" top="1" >
+ <s:fill>
+ <s:SolidColor color="0xE2EdF7" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 1: control bar divider line -->
+ <s:Rect left="0" right="0" top="0" height="1" >
+ <s:fill>
+ <s:SolidColor color="0xD1E0F2" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 2: control bar -->
+ <s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0">
+ <s:layout>
+ <s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" />
+ </s:layout>
+ </s:Group>
+ </s:Group>
+ </s:Group>
+</s:Skin>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/Sample-AIR2-Globalization/src/test-app.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/Sample-AIR2-Globalization/src/test-app.xml b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/Sample-AIR2-Globalization/src/test-app.xml
new file mode 100755
index 0000000..de9c8d6
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/Sample-AIR2-Globalization/src/test-app.xml
@@ -0,0 +1,156 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0beta2">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta2
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>test</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>test</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>test</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
+ <!-- <publisherID></publisherID> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width in pixels. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height in pixels. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/SourceIndex.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/SourceIndex.xml b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/SourceIndex.xml
new file mode 100644
index 0000000..98971f8
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/SourceIndex.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ 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.
+
+-->
+<index>
+ <title>Source of Sample-AIR2-Globalization</title>
+ <nodes>
+ <node label="libs">
+ <node label="flashplayer10_globalswc.zip" url="source/libs/flashplayer10_globalswc.zip"/>
+ <node label="playerglobal.swc" url="source/libs/playerglobal.swc"/>
+ </node>
+ <node label="src">
+ <node icon="packageIcon" label="skins" expanded="true">
+ <node icon="mxmlIcon" label="TDFPanelSkin.mxml" url="source/skins/TDFPanelSkin.mxml.html"/>
+ </node>
+ <node label="CurrencyFormatterSample-app.xml" url="source/CurrencyFormatterSample-app.xml.txt"/>
+ <node icon="mxmlAppIcon" selected="true" label="CurrencyFormatterSample.mxml" url="source/CurrencyFormatterSample.mxml.html"/>
+ <node label="DateFormatterSample-app.xml" url="source/DateFormatterSample-app.xml.txt"/>
+ <node icon="mxmlIcon" label="DateFormatterSample.mxml" url="source/DateFormatterSample.mxml.html"/>
+ <node label="NumberFormatterSample-app.xml" url="source/NumberFormatterSample-app.xml.txt"/>
+ <node icon="mxmlIcon" label="NumberFormatterSample.mxml" url="source/NumberFormatterSample.mxml.html"/>
+ <node label="test-app.xml" url="source/test-app.xml.txt"/>
+ </node>
+ </nodes>
+ <zipfile label="Download source (ZIP, 596K)" url="Sample-AIR2-Globalization.zip">
+ </zipfile>
+ <sdklink label="Download Flex SDK" url="http://www.adobe.com/go/flex4_sdk_download">
+ </sdklink>
+</index>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/SourceStyles.css
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/SourceStyles.css b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/SourceStyles.css
new file mode 100644
index 0000000..9d5210f
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/SourceStyles.css
@@ -0,0 +1,155 @@
+/*
+ * 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.
+ */
+body {
+ font-family: Courier New, Courier, monospace;
+ font-size: medium;
+}
+
+.ActionScriptASDoc {
+ color: #3f5fbf;
+}
+
+.ActionScriptBracket/Brace {
+}
+
+.ActionScriptComment {
+ color: #009900;
+ font-style: italic;
+}
+
+.ActionScriptDefault_Text {
+}
+
+.ActionScriptMetadata {
+ color: #0033ff;
+ font-weight: bold;
+}
+
+.ActionScriptOperator {
+}
+
+.ActionScriptReserved {
+ color: #0033ff;
+ font-weight: bold;
+}
+
+.ActionScriptString {
+ color: #990000;
+ font-weight: bold;
+}
+
+.ActionScriptclass {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScriptfunction {
+ color: #339966;
+ font-weight: bold;
+}
+
+.ActionScriptinterface {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScriptpackage {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScripttrace {
+ color: #cc6666;
+ font-weight: bold;
+}
+
+.ActionScriptvar {
+ color: #6699cc;
+ font-weight: bold;
+}
+
+.MXMLASDoc {
+ color: #3f5fbf;
+}
+
+.MXMLComment {
+ color: #800000;
+}
+
+.MXMLComponent_Tag {
+ color: #0000ff;
+}
+
+.MXMLDefault_Text {
+}
+
+.MXMLProcessing_Instruction {
+}
+
+.MXMLSpecial_Tag {
+ color: #006633;
+}
+
+.MXMLString {
+ color: #990000;
+}
+
+.CSS@font-face {
+ color: #990000;
+ font-weight: bold;
+}
+
+.CSS@import {
+ color: #006666;
+ font-weight: bold;
+}
+
+.CSS@media {
+ color: #663333;
+ font-weight: bold;
+}
+
+.CSS@namespace {
+ color: #923196;
+}
+
+.CSSComment {
+ color: #999999;
+}
+
+.CSSDefault_Text {
+}
+
+.CSSDelimiters {
+}
+
+.CSSProperty_Name {
+ color: #330099;
+}
+
+.CSSProperty_Value {
+ color: #3333cc;
+}
+
+.CSSSelector {
+ color: #ff00ff;
+}
+
+.CSSString {
+ color: #990000;
+}
+
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/SourceTree.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/SourceTree.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/SourceTree.html
new file mode 100644
index 0000000..80281a9
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/SourceTree.html
@@ -0,0 +1,129 @@
+<!--
+ 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.
+-->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!-- saved from url=(0014)about:internet -->
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
+ <!--
+ Smart developers always View Source.
+
+ This application was built using Adobe Flex, an open source framework
+ for building rich Internet applications that get delivered via the
+ Flash Player or to desktops via Adobe AIR.
+
+ Learn more about Flex at http://flex.org
+ // -->
+ <head>
+ <title></title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <!-- Include CSS to eliminate any default margins/padding and set the height of the html element and
+ the body element to 100%, because Firefox, or any Gecko based browser, interprets percentage as
+ the percentage of the height of its parent container, which has to be set explicitly. Initially,
+ don't display flashContent div so it won't show if JavaScript disabled.
+ -->
+ <style type="text/css" media="screen">
+ html, body { height:100%; }
+ body { margin:0; padding:0; overflow:auto; text-align:center;
+ background-color: #ffffff; }
+ #flashContent { display:none; }
+ </style>
+
+ <!-- Enable Browser History by replacing useBrowserHistory tokens with two hyphens -->
+ <!-- BEGIN Browser History required section >
+ <link rel="stylesheet" type="text/css" href="history/history.css" />
+ <script type="text/javascript" src="history/history.js"></script>
+ <! END Browser History required section -->
+
+ <script type="text/javascript" src="swfobject.js"></script>
+ <script type="text/javascript">
+ function loadIntoMain(url) {
+ parent.mainFrame.location.href = url;
+ }
+
+ function openUrlWindow(url) {
+ window.top.location = url;
+ }
+
+ <!-- For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection. -->
+ var swfVersionStr = "10.0.0";
+ <!-- To use express install, set to playerProductInstall.swf, otherwise the empty string. -->
+ var xiSwfUrlStr = "playerProductInstall.swf";
+ var flashvars = {};
+ var params = {};
+ params.quality = "high";
+ params.bgcolor = "#ffffff";
+ params.allowscriptaccess = "sameDomain";
+ params.allowfullscreen = "true";
+ var attributes = {};
+ attributes.id = "SourceTree";
+ attributes.name = "SourceTree";
+ attributes.align = "middle";
+ swfobject.embedSWF(
+ "SourceTree.swf", "flashContent",
+ "100%", "100%",
+ swfVersionStr, xiSwfUrlStr,
+ flashvars, params, attributes);
+ <!-- JavaScript enabled so display the flashContent div in case it is not replaced with a swf object. -->
+ swfobject.createCSS("#flashContent", "display:block;text-align:left;");
+ </script>
+ </head>
+ <body>
+ <!-- SWFObject's dynamic embed method replaces this alternative HTML content with Flash content when enough
+ JavaScript and Flash plug-in support is available. The div is initially hidden so that it doesn't show
+ when JavaScript is disabled.
+ -->
+ <div id="flashContent">
+ <p>
+ To view this page ensure that Adobe Flash Player version
+ 10.0.0 or greater is installed.
+ </p>
+ <script type="text/javascript">
+ var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://");
+ document.write("<a href='http://www.adobe.com/go/getflashplayer'><img src='"
+ + pageHost + "www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' /></a>" );
+ </script>
+ </div>
+
+ <noscript>
+ <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%" id="SourceTree">
+ <param name="movie" value="SourceTree.swf" />
+ <param name="quality" value="high" />
+ <param name="bgcolor" value="#ffffff" />
+ <param name="allowScriptAccess" value="sameDomain" />
+ <param name="allowFullScreen" value="true" />
+ <!--[if !IE]>-->
+ <object type="application/x-shockwave-flash" data="SourceTree.swf" width="100%" height="100%">
+ <param name="quality" value="high" />
+ <param name="bgcolor" value="#ffffff" />
+ <param name="allowScriptAccess" value="sameDomain" />
+ <param name="allowFullScreen" value="true" />
+ <!--<![endif]-->
+ <!--[if gte IE 6]>-->
+ <p>
+ Either scripts and active content are not permitted to run or Adobe Flash Player version
+ 10.0.0 or greater is not installed.
+ </p>
+ <!--<![endif]-->
+ <a href="http://www.adobe.com/go/getflashplayer">
+ <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash Player" />
+ </a>
+ <!--[if !IE]>-->
+ </object>
+ <!--<![endif]-->
+ </object>
+ </noscript>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/index.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/index.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/index.html
new file mode 100644
index 0000000..80e65d2
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/index.html
@@ -0,0 +1,32 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Source of Sample-AIR2-Globalization</title>
+</head>
+<frameset cols="235,*" border="2" framespacing="1">
+ <frame src="SourceTree.html" name="leftFrame" scrolling="NO">
+ <frame src="source/CurrencyFormatterSample.mxml.html" name="mainFrame">
+</frameset>
+<noframes>
+ <body>
+ </body>
+</noframes>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/source/CurrencyFormatterSample-app.xml.txt
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/source/CurrencyFormatterSample-app.xml.txt b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/source/CurrencyFormatterSample-app.xml.txt
new file mode 100644
index 0000000..3bd1998
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/source/CurrencyFormatterSample-app.xml.txt
@@ -0,0 +1,156 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta2
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>CurrencyFormatterSample</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>CurrencyFormatterSample</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>CurrencyFormatterSample</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
+ <!-- <publisherID></publisherID> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width in pixels. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height in pixels. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/source/CurrencyFormatterSample.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/source/CurrencyFormatterSample.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/source/CurrencyFormatterSample.mxml.html
new file mode 100644
index 0000000..42e9da9
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/source/CurrencyFormatterSample.mxml.html
@@ -0,0 +1,116 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>CurrencyFormatterSample.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Declarations></span>
+ <span class="MXMLComponent_Tag"><s:RadioButtonGroup</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">radioGrp</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLSpecial_Tag"></fx:Declarations></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">globalization</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">CurrencyFormatter</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">globalization</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">DateTimeFormatter</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">globalization</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">LocaleID</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">collections</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ArrayCollection</span>;
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">cf</span>:<span class="ActionScriptDefault_Text">CurrencyFormatter</span>;
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">dtf</span>:<span class="ActionScriptDefault_Text">DateTimeFormatter</span>;
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">date</span>:<span class="ActionScriptDefault_Text">Date</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">Date</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Bindable</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptReserved">protected</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">locales</span>:<span class="ActionScriptDefault_Text">ArrayCollection</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">ArrayCollection</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">[</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"Default Locale"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptDefault_Text">LocaleID</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">DEFAULT</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"Swedish"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"sv_SE"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"Dutch"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"nl_NL"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"French"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"fr_FR"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"German"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"de_DE"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"Japanese"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"ja_JP"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"Korean"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"ko_KR"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"US-English"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"en_US"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">formatCurrency</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">""</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">locale</span>:<span class="ActionScriptDefault_Text">String</span>;
+
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ddl</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedIndex</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptOperator">-</span>1<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptDefault_Text">locale</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">LocaleID</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">DEFAULT</span>;
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptDefault_Text">locale</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">ddl</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedItem</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">data</span>
+
+ <span class="ActionScriptDefault_Text">cf</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">CurrencyFormatter</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">locale</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"Locale selected: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">locale</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" - Actual locale name: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">cf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">actualLocaleIDName</span><span class="ActionScriptOperator">+</span><span class="ActionScriptString">"\n"</span>;
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"\nCurrency Symbol: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">cf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">currencySymbol</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" Currency ISO Code: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">cf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">currencyISOCode</span> ;
+
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">num</span>:<span class="ActionScriptDefault_Text">Number</span> <span class="ActionScriptOperator">=</span> 0;
+ <span class="ActionScriptDefault_Text">num</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">Number</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">curr</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">radioGrp</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedValue</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptString">"Format by Symbol"</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">cf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">formattingWithCurrencySymbolIsSafe</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">cf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">currencyISOCode</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"\nFormat using Symbol: "</span><span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">cf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">format</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">num</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptReserved">true</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"\nFormat using symbol is not safe. Format by ISO code instead"</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">else</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Num "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">num</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"\nFormat using ISO Code: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">cf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">format</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">num</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"\n\n\nLast Operation Status: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">cf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">lastOperationStatus</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:Panel</span><span class="MXMLDefault_Text"> skinClass="</span><span class="MXMLString">skins.TDFPanelSkin</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" title="</span><span class="MXMLString">Currency Formatting by Locale</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> left="</span><span class="MXMLString">12</span><span class="MXMLDefault_Text">" top="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Enter currency to format (for example: 1206.99):</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextInput</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">curr</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Select to format currency by symbol or ISO code:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:HGroup></span>
+ <span class="MXMLComponent_Tag"><s:RadioButton</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">bySymbol</span><span class="MXMLDefault_Text">" groupName="</span><span class="MXMLString">radioGrp</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">Format by Symbol</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:RadioButton</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">byISO</span><span class="MXMLDefault_Text">" groupName="</span><span class="MXMLString">radioGrp</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">Format by ISO</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"><s:DropDownList</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">ddl</span><span class="MXMLDefault_Text">" dataProvider="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">locales</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">" prompt="</span><span class="MXMLString">Select locale...</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">200</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Format Currency</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">formatCurrency</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> top="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">" right="</span><span class="MXMLString">20</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Console:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextArea</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">ta</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">350</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">120</span><span class="MXMLDefault_Text">" editable="</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">" </span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">95%</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">justify</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">" bottom="</span><span class="MXMLString">25</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">"
+ text="</span><span class="MXMLString">This sample will format a currency value with the selected locale and by symbol or ISO code depending on radio button selection. Before formatting by
+symbol, you should check if the formatting by that symbol is safe, such as shown in this example. The last operation status
+will indicate if an error occurred in formatting. </span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:Panel></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/source/DateFormatterSample-app.xml.txt
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/source/DateFormatterSample-app.xml.txt b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/source/DateFormatterSample-app.xml.txt
new file mode 100644
index 0000000..27c5d7d
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/source/DateFormatterSample-app.xml.txt
@@ -0,0 +1,156 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta2
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>DateFormatterSample</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>DateFormatterSample</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>DateFormatterSample</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
+ <!-- <publisherID></publisherID> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width in pixels. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height in pixels. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
[03/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/SimpleImageHSlider.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/SimpleImageHSlider.mxml b/TourDeFlex/TourDeFlex3/src/controls/SimpleImageHSlider.mxml
new file mode 100755
index 0000000..964e540
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/SimpleImageHSlider.mxml
@@ -0,0 +1,57 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the HSlider control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ private var imageWidth:Number=0;
+ private var imageHeight:Number=0;
+
+ // Event handler function to change the image size.
+ private function changeSize():void
+ {
+ phoneImage.width=uint(imageWidth*hSlider.value/100);
+ phoneImage.height=uint(imageHeight*hSlider.value/100);
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:Panel id="panel" title="HSlider Control Example" height="100%" width="95%"
+ paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
+
+ <mx:HBox height="100%" width="100%">
+ <mx:Image id="phoneImage" source="@Embed('assets/Nokia_6630.png')"
+ creationComplete="imageWidth=phoneImage.width; imageHeight=phoneImage.height;" />
+ </mx:HBox>
+
+ <mx:Label color="blue" text="Drag the slider to resize the image."/>
+
+ <mx:HSlider id="hSlider" minimum="0" maximum="100" value="100"
+ dataTipPlacement="top"
+ tickColor="black"
+ snapInterval="1" tickInterval="10"
+ labels="['0%','100%']"
+ allowTrackClick="true"
+ liveDragging="true"
+ change="changeSize();"/>
+ </mx:Panel>
+</mx:Application>
+
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/SimpleImageVSlider.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/SimpleImageVSlider.mxml b/TourDeFlex/TourDeFlex3/src/controls/SimpleImageVSlider.mxml
new file mode 100755
index 0000000..3eea6d7
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/SimpleImageVSlider.mxml
@@ -0,0 +1,63 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the VSlider control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ private var imageWidth:Number=0;
+ private var imageHeight:Number=0;
+
+ // Event handler function to change the image size.
+ private function changeSize():void
+ {
+ phoneImage.width=uint(imageWidth*hSlider.value/100);
+ phoneImage.height=uint(imageHeight*hSlider.value/100);
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:Panel id="panel" title="VSlider Control Example"
+ height="100%" width="100%"
+ layout="horizontal"
+ paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
+
+ <mx:HBox width="50%">
+ <mx:Image id="phoneImage" source="@Embed('assets/Nokia_6630.png')"
+ creationComplete="imageWidth=phoneImage.width; imageHeight=phoneImage.height;" />
+ </mx:HBox>
+
+ <mx:VBox horizontalAlign="center">
+ <mx:Label color="blue" text="Drag the slider to resize the image."/>
+
+ <mx:VSlider id="hSlider"
+ dataTipPlacement="top"
+ minimum="0" maximum="100" value="100"
+ tickColor="black"
+ snapInterval="1" tickInterval="10"
+ labels="['0%','100%']"
+ allowTrackClick="true"
+ liveDragging="true"
+ change="changeSize();"/>
+ </mx:VBox>
+
+ </mx:Panel>
+</mx:Application>
+
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/SimpleList.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/SimpleList.mxml b/TourDeFlex/TourDeFlex3/src/controls/SimpleList.mxml
new file mode 100755
index 0000000..bdd5ee1
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/SimpleList.mxml
@@ -0,0 +1,57 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the List Control -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+ [Bindable]
+ public var selectedItem:Object;
+ ]]>
+ </mx:Script>
+
+
+ <mx:Model id="mystates">
+ <states>
+ <state label="Alabama" data="AL"/>
+ <state label="Alaska" data="AK"/>
+ <state label="Arizona" data="AZ"/>
+ <state label="Arkansas" data="AR"/>
+ <state label="California" data="CA"/>
+ <state label="Colorado" data="CO"/>
+ <state label="Connecticut" data="CT"/>
+ </states>
+ </mx:Model>
+
+ <mx:Panel title="List Control Example" height="75%" width="75%"
+ paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
+
+ <mx:Label text="Select a state to see its abbreviation."/>
+
+ <mx:List id="source" width="100%" color="blue"
+ dataProvider="{mystates.state}"
+ change="this.selectedItem=List(event.target).selectedItem"/>
+
+ <mx:VBox width="100%">
+ <mx:Label text="Selected State: {selectedItem.label}"/>
+ <mx:Label text="State abbreviation: {selectedItem.data}"/>
+ </mx:VBox>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/SimpleLoader.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/SimpleLoader.mxml b/TourDeFlex/TourDeFlex3/src/controls/SimpleLoader.mxml
new file mode 100755
index 0000000..272c633
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/SimpleLoader.mxml
@@ -0,0 +1,31 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the SWFLoader control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Panel title="SWFLoader Control Example" height="90%" width="90%"
+ paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
+
+ <mx:Label text="The Label control of the outer application."/>
+
+ <mx:SWFLoader id="Load" source="@Embed(source='Local.swf')" height="100" width="350"/>
+
+ </mx:Panel>
+</mx:Application>
+
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/SimpleMenuExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/SimpleMenuExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/SimpleMenuExample.mxml
new file mode 100755
index 0000000..b31f34a
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/SimpleMenuExample.mxml
@@ -0,0 +1,70 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the Menu control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ import mx.controls.Menu;
+ import mx.events.MenuEvent;
+ import mx.controls.Alert;
+ import flash.geom.Point;
+
+ private var point1:Point = new Point();
+ private var myMenu:Menu;
+
+ // Create and display the Menu control.
+ private function showMenu():void {
+ myMenu= Menu.createMenu(panel, myMenuData, false);
+ myMenu.labelField="@label"
+ myMenu.addEventListener("itemClick", menuHandler);
+
+ // Calculate position of Menu in Application's coordinates.
+ point1.x=mybutton.x;
+ point1.y=mybutton.y;
+ point1=mybutton.localToGlobal(point1);
+
+ myMenu.show(point1.x + 25, point1.y + 25);
+ }
+
+ // Event handler for the Menu control's change event.
+ private function menuHandler(event:MenuEvent):void {
+ Alert.show("Label: " + event.item.@label, "Clicked menu item");
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:XML id="myMenuData">
+ <root>
+ <menuitem label="MenuItem 1" eventName="copy"/>
+ <menuitem label="MenuItem 2" eventName="paste"/>
+ </root>
+ </mx:XML>
+
+ <mx:Panel id="panel" title="Menu Control Example" height="75%" width="75%"
+ paddingTop="10" paddingLeft="10">
+
+ <mx:Label width="100%" color="blue"
+ text="Click the button to open the Menu control."/>
+
+ <mx:Button id="mybutton" label="Open Menu" click="showMenu();"/>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/SimpleProgressBar.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/SimpleProgressBar.mxml b/TourDeFlex/TourDeFlex3/src/controls/SimpleProgressBar.mxml
new file mode 100755
index 0000000..9818e06
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/SimpleProgressBar.mxml
@@ -0,0 +1,57 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the ProgressBar control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ private var j:uint=10;
+
+ // Event handler function to set the value of the
+ // ProgressBar control.
+ private function runit():void
+ {
+ if(j<=100)
+ {
+ bar.setProgress(j,100);
+ bar.label= "CurrentProgress" + " " + j + "%";
+ j+=10;
+ }
+ if(j>100)
+ {
+ j=0;
+ }
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:Panel title="ProgressBar Control Example" height="75%" width="75%"
+ paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
+
+ <mx:Label width="100%" color="blue"
+ text="Click the button to increment the progress bar." />
+ <mx:Button id="Speed" label="Run" click="runit();"/>
+
+ <mx:ProgressBar id="bar" labelPlacement="bottom" themeColor="#F20D7A"
+ minimum="0" visible="true" maximum="100" label="CurrentProgress 0%"
+ direction="right" mode="manual" width="100%"/>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/SimpleVRule.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/SimpleVRule.mxml b/TourDeFlex/TourDeFlex3/src/controls/SimpleVRule.mxml
new file mode 100755
index 0000000..4da4e53
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/SimpleVRule.mxml
@@ -0,0 +1,31 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the VRule control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Panel title="VRule Control Example" id="myPanel" horizontalAlign="center"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:VRule rollOverEffect="WipeUp" strokeWidth="1" strokeColor="red"/>
+ <mx:Label width="100%" color="blue"
+ text="Move mouse over VRule control to redraw it."/>
+
+ </mx:Panel>
+</mx:Application>
+
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/SpacerExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/SpacerExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/SpacerExample.mxml
new file mode 100755
index 0000000..25bdea8
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/SpacerExample.mxml
@@ -0,0 +1,36 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the Spacer control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Panel id="panel" title="Spacer Control Example" height="75%" width="75%"
+ paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
+
+ <mx:Text width="100%" color="blue"
+ text="The Spacer control pushes the second image to the right edge of the HBox container."/>
+
+ <mx:HBox width="100%">
+ <mx:Image source="@Embed('assets/Nokia_6630.png')"/>
+ <mx:Spacer width="100%"/>
+ <mx:Image source="@Embed('assets/Nokia_6680.png')"/>
+ </mx:HBox>
+
+ </mx:Panel>
+</mx:Application>
+
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/TabBarExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/TabBarExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/TabBarExample.mxml
new file mode 100755
index 0000000..bd8f44e
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/TabBarExample.mxml
@@ -0,0 +1,57 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the TabBar control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ import mx.events.ItemClickEvent;
+ import mx.controls.TabBar;
+
+ [Bindable]
+ public var STATE_ARRAY:Array = [{label:"Alabama", data:"Montgomery"},
+ {label:"Alaska", data:"Juneau"},
+ {label:"Arkansas", data:"LittleRock"}
+ ];
+
+ private function clickEvt(event:ItemClickEvent):void {
+ // Access target TabBar control.
+ var targetComp:TabBar = TabBar(event.currentTarget);
+ forClick.text="label is: " + event.label + ", index is: " +
+ event.index + ", capital is: " +
+ targetComp.dataProvider[event.index].data;
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:Panel title="TabBar Control Example" height="75%" width="75%"
+ paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
+
+ <mx:Label width="100%" color="blue"
+ text="Select a tab to change the current panel."/>
+
+ <mx:TabBar itemClick="clickEvt(event);">
+ <mx:dataProvider>{STATE_ARRAY}</mx:dataProvider>
+ </mx:TabBar>
+
+ <mx:TextArea id="forClick" height="100%" width="100%"/>
+
+ </mx:Panel>
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/TextAreaExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/TextAreaExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/TextAreaExample.mxml
new file mode 100755
index 0000000..37b6860
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/TextAreaExample.mxml
@@ -0,0 +1,37 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the TextArea control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Panel title="TextArea Control Example" height="75%" width="75%"
+ paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
+
+ <mx:TextArea width="400" height="100">
+ <mx:text>
+ This is a multiline, editable TextArea control. If you need
+ a non-editable multiline control, use the Text control.
+ </mx:text>
+ </mx:TextArea>
+
+ <mx:TextArea width="400" height="100">
+ <mx:htmlText><![CDATA[This is <font color="#FF0000">HTML text</font> in a <b>TextArea control</b>. Use the <u>htmlText property</u> of the <font color="#008800">TextArea control</font> to include basic HTML markup in your text.]]></mx:htmlText>
+ </mx:TextArea>
+
+ </mx:Panel>
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/TextExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/TextExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/TextExample.mxml
new file mode 100755
index 0000000..73fe1a7
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/TextExample.mxml
@@ -0,0 +1,39 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the Text control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Panel title="Text Control Example" height="75%" width="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10">
+
+ <mx:Text width="100%">
+ <mx:text>
+ This is a multiline, non-editable text component.
+ If you need an editable multiline component, use TextArea.
+ </mx:text>
+ </mx:Text>
+
+ <mx:Text width="100%">
+ <mx:htmlText>
+ <![CDATA[This is <font color="#FF0000">HTML text</font> in a <b>Text component</b>. Using the <u>htmlText attribute</u> of the <font color="#008800">Text component</font> you can use basic HTML markup.]]>
+ </mx:htmlText>
+ </mx:Text>
+
+ </mx:Panel>
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/TextInputExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/TextInputExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/TextInputExample.mxml
new file mode 100755
index 0000000..198f29c
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/TextInputExample.mxml
@@ -0,0 +1,32 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the TextInput control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Panel title="TextInput Control Example" height="75%" width="75%"
+ paddingTop="10" paddingLeft="10">
+
+ <mx:TextInput id="src" text="Hello World!"/>
+
+ <mx:Button label="Copy Text" click="dest.text = src.text"/>
+
+ <mx:TextInput id="dest"/>
+
+ </mx:Panel>
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/TileListExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/TileListExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/TileListExample.mxml
new file mode 100755
index 0000000..a5198a1
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/TileListExample.mxml
@@ -0,0 +1,68 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the TileList Control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ [Bindable]
+ [Embed(source="assets/Nokia_6630.png")]
+ public var phone1:Class;
+
+ [Bindable]
+ [Embed(source="assets/Nokia_6680.png")]
+ public var phone2:Class;
+
+ [Bindable]
+ [Embed(source="assets/Nokia_7610.png")]
+ public var phone3:Class;
+
+ [Bindable]
+ [Embed(source="assets/Nokia_lg_v_keypad.png")]
+ public var phone4:Class;
+
+ [Bindable]
+ [Embed(source="assets/Nokia_sm_v_keypad.png")]
+ public var phone5:Class;
+ ]]>
+ </mx:Script>
+
+ <mx:Panel title="TileList Control Example" height="100%" width="100%"
+ paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
+
+ <mx:Label width="100%" color="blue"
+ text="A TileList control displays items in rows and columns."/>
+
+ <mx:TileList id="CameraSelection" height="250" width="300"
+ maxColumns="2" rowHeight="225" columnWidth="125">
+ <mx:dataProvider>
+ <mx:Array>
+ <mx:Object label="Nokia 6630" icon="{phone1}"/>
+ <mx:Object label="Nokia 6680" icon="{phone2}"/>
+ <mx:Object label="Nokia 7610" icon="{phone3}"/>
+ <mx:Object label="Nokia LGV" icon="{phone4}"/>
+ <mx:Object label="Nokia LMV" icon="{phone5}"/>
+ </mx:Array>
+ </mx:dataProvider>
+ </mx:TileList>
+
+ </mx:Panel>
+</mx:Application>
+
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/ToggleButtonBarExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/ToggleButtonBarExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/ToggleButtonBarExample.mxml
new file mode 100755
index 0000000..acb9391
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/ToggleButtonBarExample.mxml
@@ -0,0 +1,55 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the ToggleButtonBar control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ import mx.events.ItemClickEvent;
+
+ // Event handler function to print a message
+ // describing the selected Button control.
+ private function clickHandler(event:ItemClickEvent):void {
+ myTA.text="Selected button index: " + String(event.index) +
+ "\n" + "Selected button label: " + event.label;
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:Panel title="ToggleButtonBar Control Example" height="75%" width="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Label width="100%" color="blue"
+ text="Select a button in the ToggleButtonBar control."/>
+
+ <mx:TextArea id="myTA" width="100%" height="100%"/>
+
+ <mx:ToggleButtonBar itemClick="clickHandler(event);">
+ <mx:dataProvider>
+ <mx:Array>
+ <mx:String>Flash</mx:String>
+ <mx:String>Director</mx:String>
+ <mx:String>Dreamweaver</mx:String>
+ <mx:String>ColdFusion</mx:String>
+ </mx:Array>
+ </mx:dataProvider>
+ </mx:ToggleButtonBar>
+ </mx:Panel>
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/TreeExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/TreeExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/TreeExample.mxml
new file mode 100755
index 0000000..15848ad
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/TreeExample.mxml
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<!-- Tree control example. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ [Bindable]
+ public var selectedNode:XML;
+
+ // Event handler for the Tree control change event.
+ public function treeChanged(event:Event):void {
+ selectedNode=Tree(event.target).selectedItem as XML;
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:XMLList id="treeData">
+ <node label="Mail Box">
+ <node label="Inbox">
+ <node label="Marketing"/>
+ <node label="Product Management"/>
+ <node label="Personal"/>
+ </node>
+ <node label="Outbox">
+ <node label="Professional"/>
+ <node label="Personal"/>
+ </node>
+ <node label="Spam"/>
+ <node label="Sent"/>
+ </node>
+ </mx:XMLList>
+
+ <mx:Panel title="Tree Control Example" height="75%" width="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Label width="100%" color="blue"
+ text="Select a node in the Tree control."/>
+
+ <mx:HDividedBox width="100%" height="100%">
+ <mx:Tree id="myTree" width="50%" height="100%" labelField="@label"
+ showRoot="false" dataProvider="{treeData}" change="treeChanged(event)"/>
+ <mx:TextArea height="100%" width="50%"
+ text="Selected Item: {selectedNode.@label}"/>
+ </mx:HDividedBox>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/VScrollBarExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/VScrollBarExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/VScrollBarExample.mxml
new file mode 100755
index 0000000..4b03686
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/VScrollBarExample.mxml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate the VScrollBar control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ import mx.events.ScrollEvent;
+
+ // Event handler function to display the scroll location
+ // as you move the scroll thumb.
+ private function myScroll(event:ScrollEvent):void
+ {
+ showPosition.text = "VScrollBar properties summary:" + '\n' +
+ "------------------------------------" + '\n' +
+ "Current scroll position: " + event.currentTarget.scrollPosition + '\n' +
+ "The maximum scroll position: " + event.currentTarget.maxScrollPosition + '\n' +
+ "The minimum scroll position: " + event.currentTarget.minScrollPosition ;
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:Panel id="panel" title="VScrollBar Control Example" height="75%" width="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Label width="100%" color="blue"
+ text="Click on the scroll bar to view its properties."/>
+
+ <mx:VScrollBar id="bar" height="100%"
+ minScrollPosition="0" maxScrollPosition="{panel.width - 20}"
+ lineScrollSize="50" pageScrollSize="100"
+ repeatDelay="1000" repeatInterval="500"
+ scroll="myScroll(event);"/>
+
+ <mx:TextArea height="100%" width="100%" id="showPosition" color="blue"/>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/VideoDisplayExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/VideoDisplayExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/VideoDisplayExample.mxml
new file mode 100755
index 0000000..204a114
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/VideoDisplayExample.mxml
@@ -0,0 +1,38 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the VideoDisplay control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Panel title="VideoDisplay Control Example" height="75%" width="75%"
+ horizontalAlign="center"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Text width="75%" color="blue"
+ text="Use the buttons to control the video. The Stop button resets the video to the beginning."/>
+
+ <mx:VideoDisplay id="myVid" height="158" width="211" source="assets/phone.flv" autoPlay="false"/>
+
+ <mx:HBox>
+ <mx:Button label="Play" click="myVid.play();"/>
+ <mx:Button label="Pause" click="myVid.pause();"/>
+ <mx:Button label="Stop" click="myVid.stop();"/>
+ </mx:HBox>
+
+ </mx:Panel>
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/assets/TransportButtons.fla
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/assets/TransportButtons.fla b/TourDeFlex/TourDeFlex3/src/controls/assets/TransportButtons.fla
new file mode 100755
index 0000000..c875899
Binary files /dev/null and b/TourDeFlex/TourDeFlex3/src/controls/assets/TransportButtons.fla differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/assets/buttonDisabled.gif
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/assets/buttonDisabled.gif b/TourDeFlex/TourDeFlex3/src/controls/assets/buttonDisabled.gif
new file mode 100755
index 0000000..9a19d26
Binary files /dev/null and b/TourDeFlex/TourDeFlex3/src/controls/assets/buttonDisabled.gif differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/assets/buttonDown.gif
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/assets/buttonDown.gif b/TourDeFlex/TourDeFlex3/src/controls/assets/buttonDown.gif
new file mode 100755
index 0000000..18c0ea4
Binary files /dev/null and b/TourDeFlex/TourDeFlex3/src/controls/assets/buttonDown.gif differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/assets/buttonOver.gif
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/assets/buttonOver.gif b/TourDeFlex/TourDeFlex3/src/controls/assets/buttonOver.gif
new file mode 100755
index 0000000..9c66b81
Binary files /dev/null and b/TourDeFlex/TourDeFlex3/src/controls/assets/buttonOver.gif differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/assets/buttonUp.gif
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/assets/buttonUp.gif b/TourDeFlex/TourDeFlex3/src/controls/assets/buttonUp.gif
new file mode 100755
index 0000000..36dfb34
Binary files /dev/null and b/TourDeFlex/TourDeFlex3/src/controls/assets/buttonUp.gif differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/core/RepeaterExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/core/RepeaterExample.mxml b/TourDeFlex/TourDeFlex3/src/core/RepeaterExample.mxml
new file mode 100755
index 0000000..c6be9e6
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/core/RepeaterExample.mxml
@@ -0,0 +1,51 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the Repeater class. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ import mx.controls.Alert;
+
+ [Bindable]
+ private var dp:Array = [1, 2, 3, 4, 5, 6, 7, 8, 9];
+
+ ]]>
+ </mx:Script>
+
+ <mx:Panel title="Repeater Example" width="75%" height="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Text width="100%" color="blue"
+ text="Use the Repeater class to create 9 Button controls in a 3 by 3 Tile container."/>
+
+ <mx:Tile direction="horizontal" borderStyle="inset"
+ horizontalGap="10" verticalGap="15"
+ paddingLeft="10" paddingTop="10" paddingBottom="10" paddingRight="10">
+
+ <mx:Repeater id="rp" dataProvider="{dp}">
+ <mx:Button height="49" width="50"
+ label="{String(rp.currentItem)}"
+ click="Alert.show(String(event.currentTarget.getRepeaterItem()) + ' pressed')"/>
+ </mx:Repeater>
+ </mx:Tile>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/core/SimpleApplicationExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/core/SimpleApplicationExample.mxml b/TourDeFlex/TourDeFlex3/src/core/SimpleApplicationExample.mxml
new file mode 100755
index 0000000..8db04f8
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/core/SimpleApplicationExample.mxml
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate the Application container. -->
+
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
+ backgroundGradientColors="[0xCCCCCC, 0x66CCFF]"
+ backgroundColor="0xCCCCCC"
+ horizontalAlign="center" verticalAlign="center"
+ applicationComplete="appComplete();">
+
+ <mx:Script>
+ <![CDATA[
+
+ // Event handlers for the components.
+ private function appComplete():void {
+ myTA.text+="Application creation complete" + "\n";
+ }
+
+ private function panelCreationComplete():void {
+ myTA.text+="Panel creation complete" + "\n";
+ }
+
+ private function textAreaCreationComplete():void {
+ myTA.text+="\n" + "TextArea creation complete" + "\n";
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:ApplicationControlBar dock="true">
+ <mx:Button label="Set Solid Fill"
+ click="this.setStyle('backgroundGradientColors', [0xCCCCCC, 0xCCCCCC]);"/>
+ <mx:Button label="Set Gradient Fill"
+ click="this.setStyle('backgroundGradientColors', [0xCCCCCC, 0x66CCFF]);"/>
+ </mx:ApplicationControlBar>
+
+ <mx:Panel title="Application Container Example" backgroundColor="0x9CB0BA"
+ width="75%" height="75%"
+ creationComplete="panelCreationComplete();">
+
+ <mx:TextArea id="myTA" height="100%" width="100%"
+ text="Event order: "
+ creationComplete="textAreaCreationComplete();"/>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/effects/AddItemActionEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/AddItemActionEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/AddItemActionEffectExample.mxml
new file mode 100755
index 0000000..22d8a2e
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/effects/AddItemActionEffectExample.mxml
@@ -0,0 +1,98 @@
+<?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.
+ -->
+
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+ import mx.effects.easing.Elastic;
+ import mx.collections.ArrayCollection;
+
+ [Bindable]
+ private var myDP:ArrayCollection = new ArrayCollection(
+ ['A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P']);
+
+ private function deleteItem():void {
+ // As each item is removed, the index of the other items changes.
+ // So first get the items to delete, then determine their indices
+ // as you remove them.
+ var toRemove:Array = [];
+ for (var i:int = 0; i < tlist0.selectedItems.length; i++)
+ toRemove.push(tlist0.selectedItems[i]);
+ for (i = 0; i < toRemove.length; i++)
+ myDP.removeItemAt(myDP.getItemIndex(toRemove[i]));
+ }
+
+ private var zcount:int = 0;
+ private function addItem():void {
+ // Always add the new item after the third item,
+ // or after the last item if the length is less than 3.
+ myDP.addItemAt("Z"+zcount++,Math.min(3,myDP.length));
+ }
+ ]]>
+ </mx:Script>
+
+ <!-- Define a custom data effect as a Sequence effect. -->
+ <mx:Sequence id="itemsChangeEffect1">
+ <mx:Blur
+ blurYTo="12" blurXTo="12"
+ duration="300"
+ perElementOffset="150"
+ filter="removeItem"/>
+ <mx:Parallel>
+ <mx:Move
+ duration="750"
+ easingFunction="{Elastic.easeOut}"
+ perElementOffset="20"/>
+ <mx:RemoveItemAction
+ startDelay="400"
+ filter="removeItem"/>
+ <mx:AddItemAction
+ startDelay="400"
+ filter="addItem"/>
+ <mx:Blur
+ startDelay="410"
+ blurXFrom="18" blurYFrom="18" blurXTo="0" blurYTo="0"
+ duration="300"
+ filter="addItem"/>
+ </mx:Parallel>
+ </mx:Sequence>
+
+ <mx:Panel title="AddItemEffect/RemoveItemEffect Example" width="75%" height="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <!-- This TileList uses a custom data change effect -->
+ <mx:TileList id="tlist0"
+ height="100%" width="100%"
+ fontSize="18" fontStyle="bold"
+ columnCount="4" rowCount="4"
+ direction="horizontal"
+ dataProvider="{myDP}"
+ allowMultipleSelection="true"
+ offscreenExtraRowsOrColumns="4"
+ itemsChangeEffect="{itemsChangeEffect1}"/>
+
+ <mx:Button
+ label="Delete selected item(s)"
+ click="deleteItem();"/>
+ <mx:Button
+ label="Add item"
+ click="addItem();"/>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/effects/AnimatePropertyEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/AnimatePropertyEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/AnimatePropertyEffectExample.mxml
new file mode 100755
index 0000000..1de3f59
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/effects/AnimatePropertyEffectExample.mxml
@@ -0,0 +1,37 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the AnimateProperty effect. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Sequence id="animateScaleXUpDown" >
+ <mx:AnimateProperty property="scaleX" fromValue="1" toValue="1.5" duration="1000" />
+ <mx:AnimateProperty property="scaleX" fromValue="1.5" toValue="1" duration="1000" />
+ </mx:Sequence>
+
+ <mx:Panel title="AnimateProperty Effect Example" width="75%" height="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Text width="100%" color="blue"
+ text="Click on the image to use the AnimateProperty effect with the scaleX property."/>
+
+ <mx:Image id="flex" source="@Embed(source='assets/Nokia_6630.png')"
+ mouseDownEffect="{animateScaleXUpDown}"/>
+
+ </mx:Panel>
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/effects/BlurEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/BlurEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/BlurEffectExample.mxml
new file mode 100755
index 0000000..871c134
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/effects/BlurEffectExample.mxml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate the Blur effect. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Blur id="blurImage" duration="1000"
+ blurXFrom="0.0" blurXTo="10.0"
+ blurYFrom="0.0" blurYTo="10.0"/>
+ <mx:Blur id="unblurImage" duration="1000"
+ blurXFrom="10.0" blurXTo="0.0"
+ blurYFrom="10.0" blurYTo="0.0"/>
+
+ <mx:Panel title="Blur Effect Example" width="75%" height="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Text width="100%" color="blue"
+ text="Click and hold the mouse on the image to see blurImage effect. Release the mouse to see the unblurImage effect."/>
+
+ <mx:Image id="flex" source="@Embed(source='assets/Nokia_6630.png')"
+ mouseDownEffect="{blurImage}"
+ mouseUpEffect="{unblurImage}"/>
+
+ </mx:Panel>
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/effects/CompositeEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/CompositeEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/CompositeEffectExample.mxml
new file mode 100755
index 0000000..ff2f605
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/effects/CompositeEffectExample.mxml
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate the Composite effect. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ import mx.effects.Move;
+ import mx.effects.Sequence;
+ import mx.effects.Parallel;
+
+ private var movesequenceA:Move;
+ private var movesequenceB:Move;
+ private var moveparallelbutton:Move;
+ private var sequenceAB:Sequence;
+ private var parallelAB:Parallel;
+
+ private function startEffect(ax:Number, ay:Number, bx:Number, by:Number):void
+ {
+ movesequenceA= new Move(a);
+ movesequenceB= new Move(b);
+ moveparallelbutton= new Move(button);
+ sequenceAB= new Sequence();
+ parallelAB= new Parallel();
+
+ sequenceAB.addChild(movesequenceA);
+ sequenceAB.addChild(movesequenceB);
+
+ parallelAB.addChild(moveparallelbutton);
+
+ moveparallelbutton.xTo=0;
+ moveparallelbutton.xFrom= 245;
+ moveparallelbutton.yFrom=85;
+ moveparallelbutton.duration= 4000;
+
+ movesequenceA.xTo= ax;
+ movesequenceA.xBy= 200;
+ movesequenceA.yTo= ay;
+ movesequenceA.yBy= 175;
+ movesequenceA.duration= 2000;
+ movesequenceB.yFrom =175;
+ movesequenceB.xTo= bx;
+ movesequenceB.xBy= 200;
+ movesequenceB.yTo= by;
+ movesequenceB.yBy= 200;
+ movesequenceB.duration= 2000;
+
+ sequenceAB.play();
+ parallelAB.play();
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:Panel title="Composite Effect" width="75%" height="75%">
+ <mx:Canvas id="canvas" width="100%" height="100%">
+
+ <mx:Label id="a" color="#009966" text="Sequence 1"
+ height="{(canvas.height-20)/2}"
+ width="{(canvas.width-20)/2}"
+ effectStart=" a.text= 'sequence 1 Running';"
+ effectEnd="a.text='sequence 1 ended!!!' "/>
+
+ <mx:Label id="b" x="0" y="175" color="#00CCFF"
+ text="Sequence 2"
+ height="{(canvas.height-20)/2}"
+ width="{(canvas.width-20)/2}"
+ effectStart=" b.text= 'sequence 2 Running';"
+ effectEnd="b.text='sequence 2 ended!!'" />
+
+ <mx:Button id="button" x="245" y="85"
+ label="Start effect"
+ click="startEffect(200,175,200,0)"
+ effectStart="button.label='parallel effect running'"
+ effectEnd="button.label='parallel effect ended!!'"/>
+
+ </mx:Canvas>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/effects/DefaultListEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/DefaultListEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/DefaultListEffectExample.mxml
new file mode 100755
index 0000000..9ddd160
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/effects/DefaultListEffectExample.mxml
@@ -0,0 +1,75 @@
+<?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.
+ -->
+
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+ import mx.effects.DefaultListEffect;
+ import mx.collections.ArrayCollection;
+
+ [Bindable]
+ private var myDP:ArrayCollection = new ArrayCollection(
+ ['A','B','C','D','E','F','G','H']);
+
+ private function deleteItem():void {
+ // As each item is removed, the index of the other items changes.
+ // So first get the items to delete, then determine their indices
+ // as you remove them.
+ var toRemove:Array = [];
+ for (var i:int = 0; i < list0.selectedItems.length; i++)
+ toRemove.push(list0.selectedItems[i]);
+ for (i = 0; i < toRemove.length; i++)
+ myDP.removeItemAt(myDP.getItemIndex(toRemove[i]));
+ }
+
+ private var zcount:int = 0;
+ private function addItem():void {
+ // Always add the new item after the third item,
+ // or after the last item if the length is less than 3.
+ myDP.addItemAt("Z"+zcount++,Math.min(3,myDP.length));
+ }
+ ]]>
+ </mx:Script>
+
+ <!-- Define an instance of the DefaultListEffect effect,
+ and set its fadeOutDuration and color properties. -->
+ <mx:DefaultListEffect id="myDLE"
+ fadeOutDuration="1000"
+ color="0x0000ff"/>
+
+ <mx:Panel title="DefaultListEffect Example" width="75%" height="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:List id="list0"
+ width="150"
+ dataProvider="{myDP}"
+ variableRowHeight="true"
+ fontSize="18"
+ allowMultipleSelection="true"
+ itemsChangeEffect="{myDLE}"/>
+
+ <mx:Button
+ label="Delete item"
+ click="deleteItem();"/>
+ <mx:Button
+ label="Add item"
+ click="addItem();"/>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/effects/DefaultTileListEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/DefaultTileListEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/DefaultTileListEffectExample.mxml
new file mode 100755
index 0000000..d76ed29
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/effects/DefaultTileListEffectExample.mxml
@@ -0,0 +1,77 @@
+<?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.
+ -->
+
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+ import mx.effects.DefaultTileListEffect;
+ import mx.effects.easing.Elastic;
+ import mx.collections.ArrayCollection;
+ import mx.effects.Move;
+
+ [Bindable]
+ private var myDP:ArrayCollection = new ArrayCollection(
+ ['A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P']);
+
+ private function deleteItems():void {
+ // As each item is removed, the index of the other items changes.
+ // So first get the items to delete, then determine their indices
+ // as you remove them.
+ var toRemove:Array = [];
+ for (var i:int = 0; i < tlist0.selectedItems.length; i++)
+ toRemove.push(tlist0.selectedItems[i]);
+ for (i = 0; i < toRemove.length; i++)
+ myDP.removeItemAt(myDP.getItemIndex(toRemove[i]));
+ }
+
+ private var zcount:int = 0;
+ private function addItems():void {
+ myDP.addItemAt("Z"+zcount++,Math.min(2,myDP.length));
+ }
+ ]]>
+ </mx:Script>
+
+ <!-- Define an instance of the DefaultTileListEffect effect,
+ and set its moveDuration and color properties. -->
+ <mx:DefaultTileListEffect id="myDTLE"
+ moveDuration="100"
+ color="0x0000ff"/>
+
+ <mx:Panel title="DefaultTileListEffect Example" width="75%" height="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:TileList id="tlist0"
+ height="100%" width="100%"
+ columnCount="4" rowCount="4"
+ fontSize="18" fontWeight="bold"
+ direction="horizontal"
+ dataProvider="{myDP}"
+ allowMultipleSelection="true"
+ offscreenExtraRowsOrColumns="2"
+ itemsChangeEffect="{myDTLE}" />
+
+ <mx:Button
+ label="Delete selected item(s)"
+ click="deleteItems();"/>
+ <mx:Button
+ label="Add item"
+ click="addItems();"/>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/effects/DissolveEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/DissolveEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/DissolveEffectExample.mxml
new file mode 100755
index 0000000..d864e04
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/effects/DissolveEffectExample.mxml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate the Dissolve effect. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Dissolve id="dissolveOut" duration="1000" alphaFrom="1.0" alphaTo="0.0"/>
+ <mx:Dissolve id="dissolveIn" duration="1000" alphaFrom="0.0" alphaTo="1.0"/>
+
+ <mx:Panel title="Dissolve Effect Example"
+ width="95%" height="95%" layout="horizontal"
+ paddingTop="5" paddingLeft="10" paddingRight="10" paddingBottom="5">
+
+ <mx:VBox height="100%">
+ <mx:Label text="Nokia 9930"
+ fontSize="14"
+ visible="{cb1.selected}"
+ hideEffect="{dissolveOut}" showEffect="{dissolveIn}"/>
+
+ <mx:Image source="@Embed(source='assets/Nokia_6630.png')"
+ visible="{cb1.selected}"
+ hideEffect="{dissolveOut}" showEffect="{dissolveIn}"/>
+ </mx:VBox>
+
+ <mx:VBox height="100%" width="100%">
+ <mx:Text width="100%" color="blue"
+ text="Use the Dissolve effect to show or hide the text, image, and button."/>
+
+ <mx:Spacer height="100%"/>
+
+ <mx:Button label="Purchase"
+ visible="{cb1.selected}"
+ hideEffect="{dissolveOut}" showEffect="{dissolveIn}"/>
+ </mx:VBox>
+
+ <mx:ControlBar>
+ <mx:CheckBox id="cb1" label="visible" selected="true"/>
+ </mx:ControlBar>
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/effects/FadeEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/FadeEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/FadeEffectExample.mxml
new file mode 100755
index 0000000..e2c0782
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/effects/FadeEffectExample.mxml
@@ -0,0 +1,54 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the Fade effect. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
+ initialize="Font.registerFont(myriad_font);">
+
+ <mx:Script>
+ <![CDATA[
+
+ import flash.text.Font;
+
+ [Embed("assets/MyriadWebPro.ttf", fontName="MyMyriad")]
+ public var myriad_font:Class;
+ ]]>
+ </mx:Script>
+
+ <mx:Fade id="fadeOut" duration="1000" alphaFrom="1.0" alphaTo="0.0"/>
+ <mx:Fade id="fadeIn" duration="1000" alphaFrom="0.0" alphaTo="1.0"/>
+
+ <mx:Panel title="Fade Effect Example" width="95%" height="95%"
+ paddingTop="5" paddingLeft="10" paddingRight="10" paddingBottom="5">
+
+ <mx:Text width="100%" color="blue"
+ text="Use the Fade effect to show or hide the text and image. Use an embedded font when applying the Fade effect to text."/>
+
+ <mx:Label text="Nokia 9930"
+ fontFamily="MyMyriad" fontSize="14"
+ visible="{cb1.selected}"
+ hideEffect="{fadeOut}" showEffect="{fadeIn}"/>
+
+ <mx:Image source="@Embed(source='assets/Nokia_6630.png')"
+ visible="{cb1.selected}"
+ hideEffect="{fadeOut}" showEffect="{fadeIn}"/>
+
+ <mx:CheckBox id="cb1" label="visible" selected="true"/>
+
+ </mx:Panel>
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/effects/GlowEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/GlowEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/GlowEffectExample.mxml
new file mode 100755
index 0000000..ab02394
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/effects/GlowEffectExample.mxml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate the Glow effect. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Glow id="glowImage" duration="1000"
+ alphaFrom="1.0" alphaTo="0.3"
+ blurXFrom="0.0" blurXTo="50.0"
+ blurYFrom="0.0" blurYTo="50.0"
+ color="0x00FF00"/>
+ <mx:Glow id="unglowImage" duration="1000"
+ alphaFrom="0.3" alphaTo="1.0"
+ blurXFrom="50.0" blurXTo="0.0"
+ blurYFrom="50.0" blurYTo="0.0"
+ color="0x0000FF"/>
+
+ <mx:Panel title="Glow Effect Example" width="75%" height="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Text width="100%" color="blue"
+ text="Click and hold the mouse on the image to see glowImage effect. Release the mouse to see unglowImage effect."/>
+
+ <mx:Image source="@Embed(source='assets/Nokia_6630.png')"
+ mouseDownEffect="{glowImage}"
+ mouseUpEffect="{unglowImage}"/>
+
+ </mx:Panel>
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/effects/IrisEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/IrisEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/IrisEffectExample.mxml
new file mode 100755
index 0000000..069e5ed
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/effects/IrisEffectExample.mxml
@@ -0,0 +1,38 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the Iris effect. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Iris id="irisOut" duration="1000" showTarget="true"/>
+ <mx:Iris id="irisIn" duration="1000" showTarget="false"/>
+
+ <mx:Panel title="Iris Effect Example" width="75%" height="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Text width="100%" color="blue"
+ text="Use the Iris effect to show or hide the phone image."/>
+
+ <mx:Image id="flex" source="@Embed(source='assets/Nokia_6630.png')"
+ visible="{cb1.selected}"
+ showEffect="{irisIn}" hideEffect="{irisOut}"/>
+
+ <mx:CheckBox id="cb1" label="visible" selected="true"/>
+
+ </mx:Panel>
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/effects/MoveEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/MoveEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/MoveEffectExample.mxml
new file mode 100755
index 0000000..a5aacf3
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/effects/MoveEffectExample.mxml
@@ -0,0 +1,48 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the Move effect. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ private function moveImage():void {
+ myMove.end();
+ myMove.xTo=mouseX-60;
+ myMove.play();
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:Move id="myMove" target="{img}"/>
+
+ <mx:Panel title="Move Effect Example" width="95%" height="95%"
+ paddingTop="5" paddingLeft="10" paddingRight="10" paddingBottom="5">
+
+ <mx:Text width="100%" color="blue"
+ text="Click anywhere on the canvas to move the phone horizontally to that position"/>
+
+ <mx:Canvas id="canvas" width="100%" height="100%" mouseDown="moveImage();">
+
+ <mx:Image id="img" source="@Embed(source='assets/Nokia_6630.png')"/>
+
+ </mx:Canvas>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/effects/ParallelEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/ParallelEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/ParallelEffectExample.mxml
new file mode 100755
index 0000000..cf56980
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/effects/ParallelEffectExample.mxml
@@ -0,0 +1,49 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the Parallel effect. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Parallel id="expand" target="{img}">
+ <mx:Move xTo="{canvas.width/2 - 50}" yTo="{canvas.height/2 - 100}"/>
+ <mx:Resize widthTo="100" heightTo="200"/>
+ </mx:Parallel>
+
+ <mx:Parallel id="contract" target="{img}">
+ <mx:Move xTo="20" yTo="20"/>
+ <mx:Resize widthTo="30" heightTo="60"/>
+ </mx:Parallel>
+
+ <mx:Panel title="Parallel Effect Example" width="100%" height="100%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Text width="100%" color="blue"
+ text="Use the Button controls to move and resize the phone image in parallel."/>
+
+ <mx:Canvas id="canvas" width="100%" height="100%">
+ <mx:Image id="img" x="20" y="20" width="30" height="60"
+ source="@Embed(source='assets/Nokia_6630.png')"/>
+ </mx:Canvas>
+
+ <mx:ControlBar>
+ <mx:Button label="Expand" click="expand.end(); expand.play();"/>
+ <mx:Button label="Contract" click="contract.end(); contract.play();"/>
+ </mx:ControlBar>
+
+ </mx:Panel>
+</mx:Application>
[33/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/data/objects-web_ja.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/data/objects-web_ja.xml b/TourDeFlex/TourDeFlex/src/data/objects-web_ja.xml
new file mode 100644
index 0000000..1aa9511
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/data/objects-web_ja.xml
@@ -0,0 +1,5835 @@
+<!--
+
+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.
+
+-->
+<Objects version="2009-03-22" searchTags="uicontrol,input,container,effect,transition,date,number,string,navigator,formatter,validator,chart,visualization,map,data,blazeds,lcds,api,cloud,air,technique" searchTagsTotals="48,6,21,32,2,6,5,18,7,7,11,23,20,13,30,13,13,14,14,21,25">
+ <Category name="Introduction to Flex">
+ <Object id="90000" name="What's Flex" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="What's Flex - from Flex.org">
+ <Illustrations>
+ <Illustration name="What's Flex" path="http://tourdeflex.adobe.com/introduction/whatsflex.html" openLinksExternal="true" autoExpand="true">
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="90005" name="What's Possible" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="What's Flex - from Flex.org">
+ <Illustrations>
+ <Illustration name="What's Possible (showcase)" path="http://tourdeflex.adobe.com/introduction/whatspossible.html" openLinksExternal="true" autoExpand="true">
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="90010" name="Get Started" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="What's Flex - from Flex.org">
+ <Illustrations>
+ <Illustration name="Get Started" path="http://tourdeflex.adobe.com/introduction/getstarted.html" openLinksExternal="true" autoExpand="true">
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="90015" name="Flex Resources" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="What's Flex - from Flex.org">
+ <Illustrations>
+ <Illustration name="Flex Resources" path="http://tourdeflex.adobe.com/introduction/resources.html" openLinksExternal="true" autoExpand="true">
+ </Illustration>
+ </Illustrations>
+ </Object>
+ </Category>
+ <Category name="Flex 4">
+ <Object id="700001" name="Read Me" iconPath="http://tourdeflex.adobe.com/samples/common/adobe.png" author="Holly Schinsky" tags="readme">
+ <Illustrations>
+ <Illustration name="Read Me" path="http://tourdeflex.adobe.com/flex4samples/flex4-readme-new.html" autoExpand="true" openLinksExternal="true"/>
+ </Illustrations>
+ </Object>
+ <Category name="Components">
+ <Category name="Controls">
+ <Object id="70030" name="AdvancedDataGrid" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/AdvancedDataGrid.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - AdvancedDataGrid">
+ <Illustrations>
+ <Illustration name="AdvancedDataGrid" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-AdvancedDataGrid/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-AdvancedDataGrid/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-AdvancedDataGrid/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=AdvancedDataGrid" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30600" name="Button" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Button.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Button">
+ <Illustrations>
+ <Illustration name="Button" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/Button/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/Button/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/Button/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=Button" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30700" name="ButtonBar" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ButtonBar.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ButtonBar">
+ <Illustrations>
+ <Illustration name="ButtonBar" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/ButtonBar/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/ButtonBar/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/ButtonBar/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=ButtonBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30300" name="CheckBox" author="Holly Schinsky/Adobe" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/CheckBox.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - CheckBox">
+ <Illustrations>
+ <Illustration name="CheckBox" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/CheckBox/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/CheckBox/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/CheckBox/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=CheckBox" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70260" name="ColorPicker" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ColorPicker.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ColorPicker">
+ <Illustrations>
+ <Illustration name="ColorPicker" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ColorPicker/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ColorPicker/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ColorPicker/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=ColorPicker" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30305" name="ComboBox" author="Holly Schinsky/Adobe" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ComboBox.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ComboBox">
+ <Illustrations>
+ <Illustration name="ComboBox" path="http://tourdeflex.adobe.com/flex4.0/ComboBox/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/ComboBox/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/ComboBox/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=ComboBox" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70040" name="DataGrid" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/DataGrid.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DataGrid">
+ <Illustrations>
+ <Illustration name="DataGrid" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DataGrid/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DataGrid/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DataGrid/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=DataGrid" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70050" name="DateChooser" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/DateChooser.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DateChooser">
+ <Illustrations>
+ <Illustration name="DateChooser" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateChooser/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateChooser/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateChooser/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=DateChooser" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70060" name="DateField" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/DateField.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DateField">
+ <Illustrations>
+ <Illustration name="DateField" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateField/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateField/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateField/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=DateField" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30400" name="DropDownList" author="Holly Schinsky/Adobe" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/DropDownList.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DropDownList">
+ <Illustrations>
+ <Illustration name="DropDownList" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/DropDownList/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/DropDownList/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/DropDownList/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/component&topic=DropDownList" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70090" name="Image" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Image.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Image">
+ <Illustrations>
+ <Illustration name="Image" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Image/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Image/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Image/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=Image" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70100" name="LinkButton" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/LinkButton.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - LinkButton">
+ <Illustrations>
+ <Illustration name="LinkButton" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LinkButton/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LinkButton/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LinkButton/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=LinkButton" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30800" name="List" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/List.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - List">
+ <Illustrations>
+ <Illustration name="List" path="http://tourdeflex.adobe.com/flex4samples/UIControls/TreeListAndGridControls/List/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/TreeListAndGridControls/List/srcview/source/sample.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/UIControls/TreeListAndGridControls/List/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=List" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30805" name="Menu" author="Holly Schinsky/Adobe" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Menu.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Menu">
+ <Illustrations>
+ <Illustration name="Menu" path="http://tourdeflex.adobe.com/flex4.0/Menu/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Menu/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Menu/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=Menu" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30200" name="NumericStepper" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/NumericStepper.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - NumericStepper">
+ <Illustrations>
+ <Illustration name="NumericStepper" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/NumericStepper/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/NumericStepper/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/NumericStepper/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=NumericStepper" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70110" name="OLAPDataGrid" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/OLAPDataGrid/OLAPDataGrid.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - OLAPDataGrid">
+ <Illustrations>
+ <Illustration name="OLAPDataGrid" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-OLAPDataGrid/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-OLAPDataGrid/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-OLAPDataGrid/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=OLAPDataGrid" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30720" name="PopUpAnchor" author="Holly Schinsky" dateAdded="2009-09-21" downloadPath="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/srcview/Sample-Flex4-PopUpAnchor.zip" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Button.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Popup Anchor">
+ <Illustrations>
+ <Illustration name="PopUpAnchor" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="CloseButtonSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/srcview/source/skins/CloseButtonSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=PopUpAnchor" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ <Illustration name="PopUpAnchor2" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/sample2.html">
+ <Documents>
+ <Document name="sample2.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/srcview/source/sample2.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=PopUpAnchor" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70120" name="PopUpButton" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/PopUpButton/PopUpButton.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - PopUpButton">
+ <Illustrations>
+ <Illustration name="PopUpButton" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PopUpButton/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PopUpButton/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PopUpButton/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=PopUpButton" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70130" name="ProgressBar" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ProgressBar.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ProgressBar">
+ <Illustrations>
+ <Illustration name="ProgressBar" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ProgressBar/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ProgressBar/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ProgressBar/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=ProgressBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30100" name="RadioButton" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/RadioButton.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - RadioButton">
+ <Illustrations>
+ <Illustration name="RadioButton" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/RadioButton/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/RadioButton/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/RadioButton/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=RadioButton" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30105" name="RichEditableText" author="Holly Schinsky/Adobe" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/RichEditableText.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - RichEditableText">
+ <Illustrations>
+ <Illustration name="RichEditableText" path="http://tourdeflex.adobe.com/flex4.0/RichEditableText/sample.swf">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/RichEditableText/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/RichEditableText/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=RichEditableText" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30107" name="RichText" author="Holly Schinsky/Adobe" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/RichText.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - RichText">
+ <Illustrations>
+ <Illustration name="RichText" path="http://tourdeflex.adobe.com/flex4.0/FXG/RichText/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/RichText/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/RichText/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=RichText" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30910" name="ScrollBar (2)" author="Holly Schinsky" dateAdded="2009-09-21" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Scroller.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ScrollBar">
+ <Illustrations>
+ <Illustration name="ScrollBar" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/ScrollBar/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/ScrollBar/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/ScrollBar/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="HScrollBar Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=VScrollBar" openLinksExternal="true"/>
+ <Document name="VScrollBar Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=HScrollBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ <Illustration name="HScrollBar/VScrollBar" path="http://tourdeflex.adobe.com/flex4.0/ScrollBars/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/ScrollBars/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/ScrollBars/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="HScrollBar Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=VScrollBar" openLinksExternal="true"/>
+ <Document name="VScrollBar Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=HScrollBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31000" name="Scroller (2)" author="Peter DeHaan/Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Scroller.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Scroller">
+ <Illustrations>
+ <Illustration name="Scroller Viewport" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Scroller/sample1.html">
+ <Documents>
+ <Document name="sample1.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Scroller/srcview/source/sample1.mxml.html"/>
+ <Document name="MyPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Scroller/srcview/source/skins/MyPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=Scroller" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ <Illustration name="Scroller Child Tabbing" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Scroller/sample2.html">
+ <Documents>
+ <Document name="sample2.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Scroller/srcview/source/sample2.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Scroller/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=Scroller" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30915" name="Slider" author="Holly Schinsky" dateAdded="2009-09-21" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/VSlider.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Slider">
+ <Illustrations>
+ <Illustration name="Slider" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Slider/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Slider/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Slider/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="VSlider Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=VSlider" openLinksExternal="true"/>
+ <Document name="HSlider Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=HSlider" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30925" name="Spinner" author="Holly Schinsky" dateAdded="2009-10-20" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Spinner.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Spinner">
+ <Illustrations>
+ <Illustration name="Spinner" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Spinner/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Spinner/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Spinner/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=Spinner" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70140" name="SWFLoader" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/SWFLoader.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SWFLoader">
+ <Illustrations>
+ <Illustration name="SWFLoader" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SWFLoader/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SWFLoader/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SWFLoader/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=SWFLoader" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30926" name="TabBar" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TabBar.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - TabBar">
+ <Illustrations>
+ <Illustration name="TabBar" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/srcview/source/sample1.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/srcview/index.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=TabBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30928" name="TextArea" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TextArea.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - TextArea">
+ <Illustrations>
+ <Illustration name="TextArea" path="http://tourdeflex.adobe.com/flex4.0/TextArea/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/TextArea/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/TextArea/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=TextArea" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30930" name="TextInput" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TextInput.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - TextInput">
+ <Illustrations>
+ <Illustration name="TextInput" path="http://tourdeflex.adobe.com/flex4.0/TextInput/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/TextInput/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/TextInput/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=TextInput" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30500" name="ToggleButton" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ToggleButton.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ToggleButton">
+ <Illustrations>
+ <Illustration name="ToggleButton" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/ToggleButton/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/ToggleButton/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/ToggleButton/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=ToggleButton" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70150" name="Tree" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Tree.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Tree">
+ <Illustrations>
+ <Illustration name="Tree" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Tree/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Tree/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Tree/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=ToggleButton" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70160" name="VideoDisplay" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/VideoDisplay.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - VideoDisplay">
+ <Illustrations>
+ <Illustration name="VideoDisplay" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-VideoDisplay/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-VideoDisplay/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-VideoDisplay/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=VideoDisplay" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30900" name="VideoPlayer" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/VideoPlayer.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - VideoPlayer">
+ <Illustrations>
+ <Illustration name="VideoPlayer" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/VideoPlayer/sample1.html">
+ <Documents>
+ <Document name="sample1.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/VideoPlayer/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/VideoPlayer/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=VideoPlayer" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ </Category>
+ <Category name="Layout">
+ <Object id="31099" name="Read Me" iconPath="http://tourdeflex.adobe.com/samples/common/adobe.png" author="Holly Schinsky" tags="readme">
+ <Illustrations>
+ <Illustration name="Read Me" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/groups-containers-readme.html" autoExpand="true" openLinksExternal="true"/>
+ </Illustrations>
+ </Object>
+ <Object id="31100" name="BorderContainer" author="Holly Schinsky" dateAdded="2009-09-10" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/BorderContainer.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - BorderContainer">
+ <Illustrations>
+ <Illustration name="BorderContainer" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/Border/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/Border/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/Border/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=BorderContainer" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31105" name="DataGroup" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/DataGroup.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DataGroup">
+ <Illustrations>
+ <Illustration name="DataGroup" path="http://tourdeflex.adobe.com/flex4.0/DataGroup/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/DataGroup/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/DataGroup/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=DataGroup" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70000" name="Form" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Form.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Form">
+ <Illustrations>
+ <Illustration name="Form" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Form/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Form/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Form/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/containers&topic=Form" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31110" name="HGroup/VGroup (3)" author="Holly Schinsky/Evtim Georgiev" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/HGroup.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - HGroup/VGroup">
+ <Illustrations>
+ <Illustration name="HGroup" path="http://tourdeflex.adobe.com/flex4.0/Group-HGroup-VGroup/SampleHGroup.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Group-HGroup-VGroup/srcview/source/SampleHGroup.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Group-HGroup-VGroup/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=HGroup" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ <Illustration name="VGroup" path="http://tourdeflex.adobe.com/flex4.0/Group-HGroup-VGroup/SampleVGroup.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Group-HGroup-VGroup/srcview/source/SampleVGroup.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Group-HGroup-VGroup/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=VGroup" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ <Illustration name="Group Axis Alignment" path="http://tourdeflex.adobe.com/flex4.0/Groups-verticalAlign-horizontalAlign-forLayout/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Groups-verticalAlign-horizontalAlign-forLayout/srcview/source/sample.mxml.html"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31150" name="Panel" author="Holly Schinsky" dateAdded="2009-09-10" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Panel.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Panel">
+ <Illustrations>
+ <Illustration name="Panel" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/Panel/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/Panel/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/Panel/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=Panel" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31720" name="SkinnableContainer" author="Holly Schinsky" dateAdded="2009-11-16" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/SkinnableContainer.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SkinnableContainer">
+ <Illustrations>
+ <Illustration name="SkinnableContainer" path="http://tourdeflex.adobe.com/flex4samples/Skinning/SkinningContainer/sample.html">
+ <Documents>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/Skinning/SkinningContainer/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=SkinnableContainer" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31725" name="SkinnableDataContainer" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/SkinnableDataContainer.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SkinnableContainer">
+ <Illustrations>
+ <Illustration name="SkinnableDataContainer" path="http://tourdeflex.adobe.com/flex4.0/SkinnableDataContainer/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/SkinnableDataContainer/srcview/source/sample.mxml.html" openLinksExternal="true"/>
+ <Document name="TDFPanelSkin" path="http://tourdeflex.adobe.com/flex4.0/SkinnableDataContainer/srcview/source/skins/TDFPanelSkin.mxml.html" openLinksExternal="true"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4.0/SkinnableDataContainer/srcview/" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=SkinnableDataContainer" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31160" name="Tabbed Navigation (2)" author="Holly Schinsky" dateAdded="2009-11-16" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TabNavigator.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Tabbed Navigation">
+ <Illustrations>
+ <Illustration name="Tabbed Navigation" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/sample1.html">
+ <Documents>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/srcview/index.html" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ <Illustration name="Custom Tabs" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/sample2.html">
+ <Documents>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/srcview/index.html" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31165" name="TileGroup" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TileGroup.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - TileGroup">
+ <Illustrations>
+ <Illustration name="TileGroup" path="http://tourdeflex.adobe.com/flex4.0/TileGroup/TileGroupSample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/TileGroup/srcview/source/TileGroupSample.mxml.html" openLinksExternal="true"/>
+ <Document name="TDFPanelSkin" path="http://tourdeflex.adobe.com/flex4.0/TileGroup/srcview/source/skins/TDFPanelSkin.mxml.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=TileGroup" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70020" name="TitleWindow" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TitleWindow.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - TitleWindow">
+ <Illustrations>
+ <Illustration name="TitleWindow" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-TitleWindow/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-TitleWindow/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-TitleWindow/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=TitleWindow" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ </Category>
+ <Category name="Navigators">
+ <Object id="70170" name="Accordion" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Accordion.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Accordion">
+ <Illustrations>
+ <Illustration name="Accordion" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Accordion/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Accordion/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Accordion/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/containers&topic=Accordion" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70180" name="LinkBar" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/LinkBar.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - LinkBar">
+ <Illustrations>
+ <Illustration name="LinkBar" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LinkBar/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LinkBar/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LinkBar/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/containers&topic=LinkBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70190" name="TabNavigator" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TabNavigator.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - TabNavigator">
+ <Illustrations>
+ <Illustration name="TabNavigator" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-TabNavigator/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-TabNavigator/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-TabNavigator/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/containers&topic=TabNavigator" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70200" name="ToggleButtonBar" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/ToggleButtonBar/ButtonBar.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ToggleButtonBar">
+ <Illustrations>
+ <Illustration name="ToggleButtonBar" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ToggleButtonBar/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ToggleButtonBar/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ToggleButtonBar/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=ToggleButtonBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70210" name="ViewStack" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ViewStack.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ViewStack">
+ <Illustrations>
+ <Illustration name="ViewStack" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ViewStack/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ViewStack/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ViewStack/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/containers&topic=ViewStack" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ </Category>
+ <Category name="Charts">
+ <Object id="70220" name="AreaChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/AreaChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - AreaChart">
+ <Illustrations>
+ <Illustration name="AreaChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-AreaChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-AreaChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-AreaChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=AreaChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70230" name="BarChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/BarChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - BarChart">
+ <Illustrations>
+ <Illustration name="BarChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-BarChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-BarChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-BarChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=BarChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70240" name="BubbleChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/BubbleChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - BubbleChart">
+ <Illustrations>
+ <Illustration name="BubbleChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-BubbleChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-BubbleChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-BubbleChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=BubbleChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70250" name="CandlestickChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/CandlestickChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - CandlestickChart">
+ <Illustrations>
+ <Illustration name="CandlestickChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-CandlestickChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-CandlestickChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-CandlestickChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=CandlestickChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70270" name="ColumnChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ColumnChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ColumnChart">
+ <Illustrations>
+ <Illustration name="ColumnChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ColumnChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ColumnChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ColumnChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=ColumnChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70280" name="HLOCChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/HLOCChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - HLOCChart">
+ <Illustrations>
+ <Illustration name="HLOCChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-HLOCChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-HLOCChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-HLOCChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=HLOCChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70290" name="LineChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/LineChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - LineChart">
+ <Illustrations>
+ <Illustration name="LineChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LineChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LineChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LineChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=LineChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70300" name="PieChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/PieChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - PieChart">
+ <Illustrations>
+ <Illustration name="PieChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PieChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PieChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PieChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=PieChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70310" name="PlotChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/PlotChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - PlotChart">
+ <Illustrations>
+ <Illustration name="PlotChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PlotChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PlotChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PlotChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=PlotChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Category name="Charting Effects">
+ <Object id="70320" name="SeriesInterpolate" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SeriesInterpolate/Effects.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SeriesInterploate">
+ <Illustrations>
+ <Illustration name="SeriesInterpolate" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesInterploate/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesInterploate/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesInterploate/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts/effects&topic=SeriesInterpolate" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70330" name="SeriesSlide" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SeriesSlide/Effects.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SeriesSlide">
+ <Illustrations>
+ <Illustration name="SeriesSlide" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesSlide/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesSlide/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesSlide/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts/effects&topic=SeriesSlide" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70340" name="SeriesZoom" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SeriesZoom/Effects.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SeriesZoom">
+ <Illustrations>
+ <Illustration name="SeriesZoom" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesZoom/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesZoom/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesZoom/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts/effects&topic=SeriesZoom" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ </Category>
+ </Category>
+ <Category name="Graphics">
+ <Object id="31799" name="Read Me" iconPath="http://tourdeflex.adobe.com/samples/common/adobe.png" author="Holly Schinsky" tags="readme">
+ <Illustrations>
+ <Illustration name="Read Me" path="http://tourdeflex.adobe.com/flex4samples/Graphics/fxg-readme.html" autoExpand="true" openLinksExternal="true"/>
+ </Illustrations>
+ </Object>
+ <Object id="31805" name="BitmapImage" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - BitmapImage">
+ <Illustrations>
+ <Illustration name="BitmapImage" path="http://tourdeflex.adobe.com/flex4.0/FXG/BitmapImage/BitmapImageExample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/BitmapImage/srcview/source/BitmapImageExample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/BitmapImage/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4.0/FXG/BitmapImage/srcview/index.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/primitives&topic=BitmapImage" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31800" name="DropShadow Graphic" author="Joan Lafferty" dateAdded="2009-09-04" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DropShadowGraphic">
+ <Illustrations>
+ <Illustration name="DropShadow Graphic" path="http://tourdeflex.adobe.com/flex4samples/Graphics/DropShadowGraphic/DropShadowGraphicExample.html">
+ <Documents>
+ <Document name="DropShadowGraphicExample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/DropShadowGraphic/srcview/source/DropShadowGraphicExample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/DropShadowGraphic/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=flash/filters&topic=DropShadowFilter" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31885" name="Ellipse" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Ellipse">
+ <Illustrations>
+ <Illustration name="Ellipse" path="http://tourdeflex.adobe.com/flex4.0/FXG/Ellipse/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/Ellipse/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/Ellipse/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/primitives&topic=Ellipse" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31900" name="Ellipse Transform" author="Joan Lafferty" dateAdded="2009-09-04" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - EllipseTransform">
+ <Illustrations>
+ <Illustration name="Ellipse Transform" path="http://tourdeflex.adobe.com/flex4samples/Graphics/EllipseTransform/EllipseTransformExample.html">
+ <Documents>
+ <Document name="EllipseTransformExample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/EllipseTransform/srcview/source/EllipseTransformExample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/EllipseTransform/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/primitives&topic=Ellipse" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31905" name="Line" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Line">
+ <Illustrations>
+ <Illustration name="Line" path="http://tourdeflex.adobe.com/flex4.0/FXG/Line/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/Line/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/Line/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/primitives&topic=Line" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="32000" name="Linear Gradient Spread" author="Joan Lafferty" dateAdded="2009-09-04" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - LinearGradientSpreadMethod">
+ <Illustrations>
+ <Illustration name="LinearGradient Spread" path="http://tourdeflex.adobe.com/flex4samples/Graphics/LinearGradientSpread/LinearGradientsSpreadMethodExample.html">
+ <Documents>
+ <Document name="LinearGradientSpreadMethodExample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/LinearGradientSpread/srcview/source/LinearGradientsSpreadMethodExample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/LinearGradientSpread/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/graphics&topic=LinearGradient" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="32100" name="Static FXG" author="Joan Lafferty" dateAdded="2009-09-04" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Static FXG">
+ <Illustrations>
+ <Illustration name="Static FXG" path="http://tourdeflex.adobe.com/flex4samples/Graphics/StaticFXG/StaticFXG_Sample.html">
+ <Documents>
+ <Document name="StaticFXG_Sxample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/StaticFXG/srcview/source/StaticFXG_Sample.mxml.html"/>
+ <Document name="OrangeCrayonStar.fxg" path="http://tourdeflex.adobe.com/flex4samples/Graphics/StaticFXG/srcview/source/OrangeCrayonStar.fxg"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/StaticFXG/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ </Category>
+ <Category name="Effects">
+ <Object id="31199" name="Read Me" iconPath="http://tourdeflex.adobe.com/samples/common/adobe.png" author="Holly Schinsky" tags="readme">
+ <Illustrations>
+ <Illustration name="Read Me" path="http://tourdeflex.adobe.com/flex4samples/Effects/effects-readme.html" autoExpand="true" openLinksExternal="true"/>
+ </Illustrations>
+ </Object>
+ <Object id="31202" name="AnimateProperties" author="David Flatley" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - AnimateProperties">
+ <Illustrations>
+ <Illustration name="AnimateProperties" path="http://tourdeflex.adobe.com/flex4samples/Effects/AnimateProperties/Sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/AnimateProperties/srcview/source/Sample.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/Effects/AnimateProperties/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=Animate" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31205" name="AnimateTransitionShader" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - AnimateTransitionShader - Bounce">
+ <Illustrations>
+ <Illustration name="AnimateTransitionShader" path="http://tourdeflex.adobe.com/flex4.0/AnimateShaderTransitionEffect/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/AnimateShaderTransitionEffect/srcview/source/sample.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4.0/AnimateShaderTransitionEffect/srcview/" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=AnimateTransitionShader" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31200" name="AnimateTransform" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - AnimateTransform - Bounce">
+ <Illustrations>
+ <Illustration name="AnimateTransform" path="http://tourdeflex.adobe.com/flex4samples/Effects/AnimateTransform-Bounce/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/AnimateTransform-Bounce/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/AnimateTransform-Bounce/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=AnimateTransform" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31250" name="Fade" author="Holly Schinsky" dateAdded="2009-10-20" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Fade Effect">
+ <Illustrations>
+ <Illustration name="Fade" path="http://tourdeflex.adobe.com/flex4samples/Effects/Fade/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/Fade/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/Fade/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/Effects/Fade/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=Fade" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31253" name="CrossFade" author="Holly Schinsky" dateAdded="2009-10-20" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Cross Fade Effect">
+ <Illustrations>
+ <Illustration name="CrossFade" path="http://tourdeflex.adobe.com/flex4samples/Effects/CrossFade/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/CrossFade/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/CrossFade/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/Effects/CrossFade/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=CrossFade" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31256" name="Move3D" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Move3D Effect">
+ <Illustrations>
+ <Illustration name="Move3D" path="http://tourdeflex.adobe.com/flex4.0/Move3D/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Move3D/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Move3D/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4.0/Move3D/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=Move3D" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31300" name="Rotate3D" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Rotate3D">
+ <Illustrations>
+ <Illustration name="Rotate3D" path="http://tourdeflex.adobe.com/flex4samples/Effects/Rotate3D/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/Rotate3D/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/Rotate3D/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=Rotate3D" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31400" name="Scale3D" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Scale3D">
+ <Illustrations>
+ <Illustration name="Scale3D" path="http://tourdeflex.adobe.com/flex4samples/Effects/Scale3D/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/Scale3D/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/Rotate3D/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=Scale3D" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31405" name="Wipe" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Move3D Effect">
+ <Illustrations>
+ <Illustration name="Wipe" path="http://tourdeflex.adobe.com/flex4.0/Wipe/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Wipe/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Wipe/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4.0/Wipe/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=Wipe" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ </Category>
+ <Category name="Formatters">
+ <Object id="70440" name="Formatter" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/Formatter/formattericon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Formatter">
+ <Illustrations>
+ <Illustration name="Formatter" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Formatter/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Formatter/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Formatter/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/formatters&topic=Formatter" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70450" name="CurrencyFormatter" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/Formatter/formattericon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - CurrencyFormatter">
+ <Illustrations>
+ <Illustration name="CurrencyFormatter" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-CurrencyFormatter/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-CurrencyFormatter/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-CurrencyFormatter/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/formatters&topic=CurrencyFormatter" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70070" name="DateFormatter" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/Formatter/formattericon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DateFormatter">
+ <Illustrations>
+ <Illustration name="DateFormatter" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateFormatter/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateFormatter/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateFormatter/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/formatters&topic=DateFormatter" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70460" name="NumberFormatter" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/Formatter/formattericon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - NumberFormatter">
+ <Illustrations>
+ <Illustration name="NumberFormatter" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-NumberFormatter/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-NumberFormatter/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-NumberFormatter/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/formatters&topic=NumberFormatter" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70470" name="PhoneFormatter" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/Formatter/formattericon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - PhoneFormatter">
+ <Illustrations>
+ <Illustration name="PhoneFormatter" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PhoneFormatter/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PhoneFormatter/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PhoneFormatter/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/formatters&topic=PhoneFormatter" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70480" name="SwitchSymbolFormatter" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/Formatter/formattericon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SwitchSymbolFormatter">
+ <Illustrations>
+ <Illustration name="SwitchSymbolFormatter" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SwitchSymbolFormatter/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SwitchSymbolFormatter/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SwitchSymbolFormatter/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/formatters&topic=SwitchSymbolFormatter" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70490" name="ZipCodeFormatter" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/Formatter/formattericon.png" tags="gumbo,flex4,flex 4" viewCount="0" descrip
<TRUNCATED>
[29/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/NativeMenus/NativeMenus.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/NativeMenus/NativeMenus.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/NativeMenus/NativeMenus.mxml.html
new file mode 100644
index 0000000..403abae
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/NativeMenus/NativeMenus.mxml.html
@@ -0,0 +1,158 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>NativeMenus.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">" xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ backgroundColor="</span><span class="MXMLString">0x323232</span><span class="MXMLDefault_Text">" xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"
+ remove="</span><span class="ActionScriptDefault_Text">revertMenus</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">controls</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Alert</span>;
+
+ <span class="ActionScriptComment">// Preserve the original menus for the purposes of this demo (MacOS)
+</span> <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">oldMenu</span>:<span class="ActionScriptDefault_Text">NativeMenu</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">NativeApplication</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">nativeApplication</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">menu</span>;
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">newWindow</span>:<span class="ActionScriptDefault_Text">NativeWindow</span>;
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">showMenus</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptComment">//For Windows
+</span> <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">NativeWindow</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">supportsMenu</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptComment">// On Windows, we need to create a window so we can add a menu (Tour de Flex has no Chrome)
+</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">options</span>:<span class="ActionScriptDefault_Text">NativeWindowInitOptions</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">NativeWindowInitOptions</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">options</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">systemChrome</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">NativeWindowSystemChrome</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">STANDARD</span>;
+ <span class="ActionScriptDefault_Text">options</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">transparent</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">false</span>;
+ <span class="ActionScriptDefault_Text">newWindow</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">NativeWindow</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">options</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">newWindow</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">width</span> <span class="ActionScriptOperator">=</span> 500;
+ <span class="ActionScriptDefault_Text">newWindow</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">height</span> <span class="ActionScriptOperator">=</span> 100;
+ <span class="ActionScriptDefault_Text">newWindow</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">title</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">"Demonstration of Native Menus for Windows applications"</span>;
+ <span class="ActionScriptDefault_Text">newWindow</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">menu</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">createMenu</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">newWindow</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">alwaysInFront</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">true</span>;
+ <span class="ActionScriptDefault_Text">newWindow</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">activate</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptDefault_Text">msg</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">"Window Menu (Windows) - A NativeWindow has been created to demonstrate the menu"</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptComment">// On MacOS, replace the current app menu with our new menu
+</span> <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">NativeApplication</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">supportsMenu</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptComment">// In
+</span> <span class="ActionScriptDefault_Text">NativeApplication</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">nativeApplication</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">menu</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">createMenu</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">msg</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">"Application Menu (MacOS) - The Application menu has been replaced with demo menu"</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">createMenu</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptDefault_Text">NativeMenu</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">menu</span>:<span class="ActionScriptDefault_Text">NativeMenu</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">NativeMenu</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">menuItem1</span>:<span class="ActionScriptDefault_Text">NativeMenuItem</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">NativeMenuItem</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Takeoff"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">menuItem1</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">submenu</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">createTakeoffMenu</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">menuItem1</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SELECT</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">selectHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">menu</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addItem</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">menuItem1</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">menuItem2</span>:<span class="ActionScriptDefault_Text">NativeMenuItem</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">NativeMenuItem</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Landing"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">menuItem2</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">submenu</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">createLandingMenu</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">menuItem2</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SELECT</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">selectHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">menu</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addItem</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">menuItem2</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">return</span> <span class="ActionScriptDefault_Text">menu</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">createTakeoffMenu</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptDefault_Text">NativeMenu</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">menu</span>:<span class="ActionScriptDefault_Text">NativeMenu</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">NativeMenu</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">takeoffItem1</span>:<span class="ActionScriptDefault_Text">NativeMenuItem</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">NativeMenuItem</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Gear Up"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">takeoffItem1</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">checked</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">true</span>;
+ <span class="ActionScriptDefault_Text">takeoffItem1</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SELECT</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">selectHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">menu</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addItem</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">takeoffItem1</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">takeoffItem2</span>:<span class="ActionScriptDefault_Text">NativeMenuItem</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">NativeMenuItem</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Retract Flaps"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">takeoffItem2</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">checked</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">true</span>;
+ <span class="ActionScriptDefault_Text">takeoffItem2</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SELECT</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">selectHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">menu</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addItem</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">takeoffItem2</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">return</span> <span class="ActionScriptDefault_Text">menu</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">createLandingMenu</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptDefault_Text">NativeMenu</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">menu</span>:<span class="ActionScriptDefault_Text">NativeMenu</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">NativeMenu</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">landingItem1</span>:<span class="ActionScriptDefault_Text">NativeMenuItem</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">NativeMenuItem</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Gear Down"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">landingItem1</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SELECT</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">selectHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">menu</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addItem</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">landingItem1</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">landingItem2</span>:<span class="ActionScriptDefault_Text">NativeMenuItem</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">NativeMenuItem</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Extend Flaps"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">landingItem2</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SELECT</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">selectHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">menu</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addItem</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">landingItem2</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">landingItem3</span>:<span class="ActionScriptDefault_Text">NativeMenuItem</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">NativeMenuItem</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Shutdown"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">landingItem3</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SELECT</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">selectHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">shutdownMenu</span>:<span class="ActionScriptDefault_Text">NativeMenu</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">NativeMenu</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+
+
+ <span class="ActionScriptComment">// Create submenu
+</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">shutdownItem1</span>:<span class="ActionScriptDefault_Text">NativeMenuItem</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">NativeMenuItem</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Turn off avionics"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">shutdownItem1</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SELECT</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">selectHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">shutdownMenu</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addItem</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">shutdownItem1</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">shutdownItem2</span>:<span class="ActionScriptDefault_Text">NativeMenuItem</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">NativeMenuItem</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Pull Mixture"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">shutdownItem2</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SELECT</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">selectHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">shutdownMenu</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addItem</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">shutdownItem2</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">shutdownItem3</span>:<span class="ActionScriptDefault_Text">NativeMenuItem</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">NativeMenuItem</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Turn off Mags"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">shutdownItem3</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SELECT</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">selectHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">shutdownMenu</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addItem</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">shutdownItem3</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptComment">// Add submenu to parent menu
+</span> <span class="ActionScriptDefault_Text">landingItem3</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">submenu</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">shutdownMenu</span>;
+
+ <span class="ActionScriptDefault_Text">menu</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addItem</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">landingItem3</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">return</span> <span class="ActionScriptDefault_Text">menu</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">selectHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptComment">// Put code here to handle the selection
+</span> <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">target</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">label</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptComment">// Cleanup when we leave
+</span> <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">revertMenus</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">NativeApplication</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">supportsMenu</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">NativeApplication</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">nativeApplication</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">menu</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">oldMenu</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">NativeWindow</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">supportsMenu</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">newWindow</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">close</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" top="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">msg</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">#FFFFFF</span><span class="MXMLDefault_Text">" textAlign="</span><span class="MXMLString">center</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Show Menus</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">showMenus</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Reset</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">revertMenus</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/NativeMenus/readme.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/NativeMenus/readme.html b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/NativeMenus/readme.html
new file mode 100644
index 0000000..8be8de8
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/NativeMenus/readme.html
@@ -0,0 +1,24 @@
+<!--
+ 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.
+-->
+<h3>Adobe AIR - Native Menus</H3>
+Resources:
+<UL>
+<LI><A HREF="http://help.adobe.com/en_US/AIR/1.1/devappsflex/WS5b3ccc516d4fbf351e63e3d118676a48d0-8000.html">Working with native menus - AIR Help</A>
+<LI><A HREF="http://livedocs.adobe.com/flex/3/langref/flash/display/NativeMenu.html">Adobe Flex 3 Language Reference - NativeMenu</A>
+<LI><A HREF="http://livedocs.adobe.com/flex/3/langref/flash/display/NativeMenuItem.html">Adobe Flex 3 Language Reference - NativeMenuItem</A>
+</UL>
+
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/NativeMenus/screenshots.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/NativeMenus/screenshots.html b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/NativeMenus/screenshots.html
new file mode 100644
index 0000000..0138894
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/NativeMenus/screenshots.html
@@ -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.
+-->
+<HTML>
+<HEAD></HEAD>
+<BODY BGCOLOR="#323232">
+<IMG ALIGN="CENTER" SRC="screenshots.png">
+</BODY>
+</HTML>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/NativeMenus/screenshots.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/NativeMenus/screenshots.png b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/NativeMenus/screenshots.png
new file mode 100644
index 0000000..c22f9c0
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/NativeMenus/screenshots.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/NativeWindows/main.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/NativeWindows/main.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/NativeWindows/main.mxml.html
new file mode 100644
index 0000000..acfae5b
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/NativeWindows/main.mxml.html
@@ -0,0 +1,89 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>main.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">" xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ backgroundColor="</span><span class="MXMLString">0x323232</span><span class="MXMLDefault_Text">" xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">" remove="</span><span class="ActionScriptDefault_Text">newWindow</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">close</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">newWindow</span>:<span class="ActionScriptDefault_Text">MyNativeWindow</span>;
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">openNewWindow</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">newWindow</span> <span class="ActionScriptOperator">!=</span> <span class="ActionScriptReserved">null</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptDefault_Text">newWindow</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">close</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">newWindow</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">MyNativeWindow</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">newWindow</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">width</span> <span class="ActionScriptOperator">=</span> 200;
+ <span class="ActionScriptDefault_Text">newWindow</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">height</span> <span class="ActionScriptOperator">=</span> 200;
+ <span class="ActionScriptDefault_Text">newWindow</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">type</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">windowTypeOption</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedItem</span> <span class="ActionScriptReserved">as</span> <span class="ActionScriptDefault_Text">String</span>;
+ <span class="ActionScriptDefault_Text">newWindow</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">systemChrome</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">systemChromeOption</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedItem</span> <span class="ActionScriptReserved">as</span> <span class="ActionScriptDefault_Text">String</span>;
+ <span class="ActionScriptDefault_Text">newWindow</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">transparent</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">transparentOption</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedItem</span> <span class="ActionScriptReserved">as</span> <span class="ActionScriptDefault_Text">Boolean</span>;
+ <span class="ActionScriptDefault_Text">newWindow</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">setStyle</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"showFlexChrome"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">flexChromeOption</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedItem</span> <span class="ActionScriptReserved">as</span> <span class="ActionScriptDefault_Text">Boolean</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">try</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">openError</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">""</span>;
+ <span class="ActionScriptDefault_Text">newWindow</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">open</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span> <span class="ActionScriptReserved">catch</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">err</span>:<span class="ActionScriptDefault_Text">Error</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">openError</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">err</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">message</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+
+ <span class="MXMLSpecial_Tag"><fx:Declarations></span>
+ <span class="MXMLSpecial_Tag"><fx:Component</span><span class="MXMLDefault_Text"> className="</span><span class="MXMLString">MyNativeWindow</span><span class="MXMLDefault_Text">"</span><span class="MXMLSpecial_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:Window</span><span class="MXMLDefault_Text"> horizontalAlign="</span><span class="MXMLString">center</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">middle</span><span class="MXMLDefault_Text">" backgroundColor="</span><span class="MXMLString">blue</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">close</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptReserved">this</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">close</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></mx:Window></span>
+ <span class="MXMLSpecial_Tag"></fx:Component></span>
+ <span class="MXMLSpecial_Tag"></fx:Declarations></span>
+
+
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" top="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:Form></span>
+ <span class="MXMLComponent_Tag"><mx:FormItem</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Window Type</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">white</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:ComboBox</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">windowTypeOption</span><span class="MXMLDefault_Text">" dataProvider="</span><span class="MXMLString">['normal','utility','lightweight']</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">black</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></mx:FormItem></span>
+
+ <span class="MXMLComponent_Tag"><mx:FormItem</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">System Chrome</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">white</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:ComboBox</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">systemChromeOption</span><span class="MXMLDefault_Text">" dataProvider="</span><span class="MXMLString">['standard','none']</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">black</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></mx:FormItem></span>
+
+ <span class="MXMLComponent_Tag"><mx:FormItem</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Transparent</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">white</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:ComboBox</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">transparentOption</span><span class="MXMLDefault_Text">" dataProvider="</span><span class="MXMLString">[false,true]</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">black</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></mx:FormItem></span>
+
+ <span class="MXMLComponent_Tag"><mx:FormItem</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Flex Chrome</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">white</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:ComboBox</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">flexChromeOption</span><span class="MXMLDefault_Text">" dataProvider="</span><span class="MXMLString">[false,true]</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">black</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></mx:FormItem></span>
+ <span class="MXMLComponent_Tag"></mx:Form></span>
+
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Open New Window</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">black</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">openNewWindow</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Error Log:</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">0xFFFFFF</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextArea</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">openError</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">350</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">80</span><span class="MXMLDefault_Text">" editable="</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/NativeWindows/readme.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/NativeWindows/readme.html b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/NativeWindows/readme.html
new file mode 100644
index 0000000..560dc02
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/NativeWindows/readme.html
@@ -0,0 +1,23 @@
+<!--
+ 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.
+-->
+<h3>Adobe AIR - Native Windows</H3>
+Resources:
+<UL>
+<LI><A HREF="http://help.adobe.com/en_US/AIR/1.1/devappsflex/WS5b3ccc516d4fbf351e63e3d118666ade46-7e17.html">Working with native windows - AIR Help</A>
+<LI><A HREF="http://livedocs.adobe.com/flex/3/langref/flash/display/NativeWindow.html">Adobe Flex 3 Language Reference - NativeMenu</A>
+</UL>
+
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/PDFContent/PDFContent.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/PDFContent/PDFContent.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/PDFContent/PDFContent.mxml.html
new file mode 100644
index 0000000..dee7b10
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/PDFContent/PDFContent.mxml.html
@@ -0,0 +1,69 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>PDFContent.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"
+ creationComplete="</span><span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"
+ resize="</span><span class="ActionScriptDefault_Text">reloadPDF</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"
+ viewSourceURL="</span><span class="MXMLString">srcview/index.html</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><fx:Script></span>
+
+ <span class="MXMLDefault_Text"><![CDATA[</span><span class="MXMLDefault_Text">
+ import mx.controls.Alert;
+ private var pdf:HTMLLoader = new HTMLLoader();
+ private function init():void {
+ // Check to see if Adobe Reader 8.1 or higher is installed
+ // Possible values:
+ // HTMLPDFCapability.STATUS_OK
+ // HHTMLPDFCapability.ERROR_INSTALLED_READER_NOT_FOUND
+ // HTMLPDFCapability.ERROR_INSTALLED_READER_TOO_OLD
+ // HTMLPDFCapability.ERROR_PREFERRED_READER_TOO_OLD
+ if(HTMLLoader.pdfCapability == HTMLPDFCapability.STATUS_OK)
+ {
+ var request:URLRequest = new URLRequest("air_flex_datasheet.pdf");
+
+ pdf.width = this.width;
+ pdf.height = this.height;
+ pdf.load(request);
+ myWin.addChild(pdf); // Add the HTMLLoader to my HTML component
+ } else {
+ Alert.show("PDF cannot be displayed. Error code:" + HTMLLoader.pdfCapability);
+ }
+ }
+
+ // Called if window is resized
+ private function reloadPDF():void {
+ pdf.width = this.width;
+ pdf.height = this.height;
+ pdf.reload();
+ }
+ </span><span class="MXMLDefault_Text">]]></span>
+ <span class="MXMLComponent_Tag"></fx:Script></span>
+ <span class="MXMLComponent_Tag"><mx:HTML</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">myWin</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/PDFContent/air_flex_datasheet.pdf
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/PDFContent/air_flex_datasheet.pdf b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/PDFContent/air_flex_datasheet.pdf
new file mode 100644
index 0000000..954eeff
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/PDFContent/air_flex_datasheet.pdf differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/PDFContent/readme.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/PDFContent/readme.html b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/PDFContent/readme.html
new file mode 100644
index 0000000..720b0b6
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/PDFContent/readme.html
@@ -0,0 +1,21 @@
+<!--
+ 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.
+-->
+<h4>Additional Information</h4>
+<UL>
+<LI><A HREF="http://www.adobe.com/devnet/air/flex/quickstart/scripting_pdf.html">Cross-scripting PDF content in an Adobe AIR application</A>
+<LI><A HREF="http://livedocs.adobe.com/air/1/devappshtml/help.html?content=PDF_1.html">Adobe AIR 1.1 Docs - Adding PDF Content</A>
+</UL>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/ReadingApplicationSettings/ReadingApplicationSettings.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/ReadingApplicationSettings/ReadingApplicationSettings.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/ReadingApplicationSettings/ReadingApplicationSettings.mxml.html
new file mode 100644
index 0000000..842e9ea
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/ReadingApplicationSettings/ReadingApplicationSettings.mxml.html
@@ -0,0 +1,53 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>ReadingApplicationSettings.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">" xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"
+ creationComplete="</span><span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">" layout="</span><span class="MXMLString">absolute</span><span class="MXMLDefault_Text">" styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" backgroundColor="</span><span class="MXMLString">0x323232</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptComment">// Retrieve data frmo the app descriptor
+</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">appXml</span>:<span class="ActionScriptDefault_Text">XML</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">NativeApplication</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">nativeApplication</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">applicationDescriptor</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">ns</span>:<span class="ActionScriptDefault_Text">Namespace</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">appXml</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">namespace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">appId</span>:<span class="ActionScriptDefault_Text">String</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">appXml</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ns</span><span class="ActionScriptOperator">::</span><span class="ActionScriptDefault_Text">id</span><span class="ActionScriptBracket/Brace">[</span>0<span class="ActionScriptBracket/Brace">]</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">appVersion</span>:<span class="ActionScriptDefault_Text">String</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">appXml</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ns</span><span class="ActionScriptOperator">::</span><span class="ActionScriptDefault_Text">version</span><span class="ActionScriptBracket/Brace">[</span>0<span class="ActionScriptBracket/Brace">]</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">appName</span>:<span class="ActionScriptDefault_Text">String</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">appXml</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ns</span><span class="ActionScriptOperator">::</span><span class="ActionScriptDefault_Text">filename</span><span class="ActionScriptBracket/Brace">[</span>0<span class="ActionScriptBracket/Brace">]</span>;
+
+ <span class="ActionScriptDefault_Text">message</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">"Application Descriptor Data:\n\n"</span>;
+ <span class="ActionScriptDefault_Text">message</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">" Application ID: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">appId</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">"\n"</span>;
+ <span class="ActionScriptDefault_Text">message</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">" Version: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">appVersion</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">"\n"</span>;
+ <span class="ActionScriptDefault_Text">message</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">" Filename: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">appName</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">"\n\n"</span>;
+ <span class="ActionScriptDefault_Text">message</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">" Publisher ID: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">NativeApplication</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">nativeApplication</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">publisherID</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">"\n"</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:TextArea</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">message</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">90%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">90%</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" verticalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/ReadingApplicationSettings/readme.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/ReadingApplicationSettings/readme.html b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/ReadingApplicationSettings/readme.html
new file mode 100644
index 0000000..2dcf6e2
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/ReadingApplicationSettings/readme.html
@@ -0,0 +1,23 @@
+<!--
+ 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.
+-->
+<B>Important Links</B>
+<UL>
+<LI><A HREF="http://help.adobe.com/en_US/AIR/1.1/devappsflex/WS5b3ccc516d4fbf351e63e3d118676a5e5e-7fff.html">Adobe AIR 1.1 Help - Reading Application Settings</A>
+</UL>
+<B>Why does this sample use DemoWindow?</B><BR>
+
+Note: Publisher ID does not show up when running with ADL
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/SQLite/Employee.as.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/SQLite/Employee.as.html b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/SQLite/Employee.as.html
new file mode 100644
index 0000000..cec219f
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/SQLite/Employee.as.html
@@ -0,0 +1,38 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>Employee.as</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="ActionScriptpackage">package</span>
+<span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Bindable</span><span class="ActionScriptBracket/Brace">]</span>
+ <span class="ActionScriptReserved">public</span> <span class="ActionScriptclass">class</span> <span class="ActionScriptDefault_Text">Employee</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">id</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">int</span>;
+ <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">firstname</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">String</span>;
+ <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">lastname</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">String</span>;
+ <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">position</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">String</span>;
+
+ <span class="ActionScriptBracket/Brace">}</span>
+<span class="ActionScriptBracket/Brace">}</span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/SQLite/readme.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/SQLite/readme.html b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/SQLite/readme.html
new file mode 100644
index 0000000..6a874b2
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/SQLite/readme.html
@@ -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.
+-->
+Additional information about using SQLite with AIR:
+<UL>
+<LI><A HREF="http://help.adobe.com/en_US/AIR/1.1/devappsflex/WS5b3ccc516d4fbf351e63e3d118676a5497-7fb4.html">Adobe AIR 1.1 HELP - Working with local SQL databases</A>
+<LI><A HREF="http://www.adobe.com/devnet/air/flex/articles/air_sql_operations.html">Adobe AIR Dev Center - User experience considerations with SQLite operations</A>
+<LI><A HREF="http://coenraets.org/blog/2008/02/sqlite-admin-for-air-10/">Christophe Coenraets - SQLite Admin for AIR 1.0</A>
+</UL>
\ No newline at end of file
[19/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/DateFormatterSample.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/DateFormatterSample.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/DateFormatterSample.mxml.html
new file mode 100644
index 0000000..e5d1133
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/DateFormatterSample.mxml.html
@@ -0,0 +1,112 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>DateFormatterSample.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Declarations></span>
+ <span class="MXMLComponent_Tag"><s:RadioButtonGroup</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">styleGrp</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLSpecial_Tag"></fx:Declarations></span>
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">globalization</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">DateTimeFormatter</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">globalization</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">DateTimeStyle</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">globalization</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">LocaleID</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">collections</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ArrayCollection</span>;
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">formatter</span>:<span class="ActionScriptDefault_Text">DateTimeFormatter</span>;
+
+ <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Bindable</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptReserved">protected</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">locales</span>:<span class="ActionScriptDefault_Text">ArrayCollection</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">ArrayCollection</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">[</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"Default Locale"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptDefault_Text">LocaleID</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">DEFAULT</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"Swedish"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"sv_SE"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"Dutch"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"nl_NL"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"French"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"fr_FR"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"German"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"de_DE"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"Japanese"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"ja_JP"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"Korean"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"ko_KR"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"US-English"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"en_US"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">formatDate</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">""</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">date</span>:<span class="ActionScriptDefault_Text">Date</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">Date</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">locale</span>:<span class="ActionScriptDefault_Text">String</span>;
+
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ddl</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedIndex</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptOperator">-</span>1<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptDefault_Text">locale</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">LocaleID</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">DEFAULT</span>;
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptDefault_Text">locale</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">ddl</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedItem</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">data</span>
+
+ <span class="ActionScriptDefault_Text">formatter</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">DateTimeFormatter</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">locale</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"Locale selected: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">locale</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" - Actual locale name: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">formatter</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">actualLocaleIDName</span>;
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"\nFormatting date/time: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">date</span>;
+ <span class="ActionScriptComment">//trace("Date " +new Date());
+</span> <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">styleGrp</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedValue</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptString">"Long Style"</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">longStyle</span>:<span class="ActionScriptDefault_Text">String</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">formatter</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">format</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">date</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">longStylePattern</span>:<span class="ActionScriptDefault_Text">String</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">formatter</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">getDateTimePattern</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"\nLong Style Date pattern "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">longStylePattern</span>;
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"\nLong Style Date: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">longStyle</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">else</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">formatter</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">setDateTimeStyles</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">DateTimeStyle</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">NONE</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">DateTimeStyle</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SHORT</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">shortStyle</span>:<span class="ActionScriptDefault_Text">String</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">formatter</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">format</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">date</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">shortStylePattern</span>:<span class="ActionScriptDefault_Text">String</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">formatter</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">getDateTimePattern</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"\nShort Style date pattern "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">shortStylePattern</span>;
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"\nShort Style Date: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">shortStyle</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"\n\n\nLast Operation Status: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">formatter</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">lastOperationStatus</span>;
+
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+ <span class="MXMLComponent_Tag"><s:Panel</span><span class="MXMLDefault_Text"> skinClass="</span><span class="MXMLString">skins.TDFPanelSkin</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" title="</span><span class="MXMLString">DateTime and Currency Formatting by Locale</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> top="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">" left="</span><span class="MXMLString">12</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Select style of date/time formatting:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:HGroup></span>
+ <span class="MXMLComponent_Tag"><s:RadioButton</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">shortDate</span><span class="MXMLDefault_Text">" groupName="</span><span class="MXMLString">styleGrp</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">Short Style</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:RadioButton</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">longDate</span><span class="MXMLDefault_Text">" groupName="</span><span class="MXMLString">styleGrp</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">Long Style</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"><s:DropDownList</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">ddl</span><span class="MXMLDefault_Text">" dataProvider="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">locales</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">" prompt="</span><span class="MXMLString">Select locale...</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">200</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Format Today's Date</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">formatDate</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> top="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">" right="</span><span class="MXMLString">20</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Console:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextArea</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">ta</span><span class="MXMLDefault_Text">" editable="</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">400</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">93%</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">justify</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">" bottom="</span><span class="MXMLString">25</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">"
+ text="</span><span class="MXMLString">This sample will format today's date/time with the selected locale and date/time style (short versus long). The last operation status
+will indicate if an error occurred in formatting.</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:Panel></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/NumberFormatterSample.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/NumberFormatterSample.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/NumberFormatterSample.mxml.html
new file mode 100644
index 0000000..38d7ea0
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/NumberFormatterSample.mxml.html
@@ -0,0 +1,113 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>NumberFormatterSample.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">globalization</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">LastOperationStatus</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">globalization</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">LocaleID</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">globalization</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">NumberFormatter</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">globalization</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">NumberParseResult</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">collections</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ArrayCollection</span>;
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">locale</span>:<span class="ActionScriptDefault_Text">String</span>;
+
+ <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Bindable</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptReserved">protected</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">locales</span>:<span class="ActionScriptDefault_Text">ArrayCollection</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">ArrayCollection</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">[</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"Default Locale"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptDefault_Text">LocaleID</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">DEFAULT</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"Swedish"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"sv_SE"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"Dutch"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"nl_NL"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"French"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"fr_FR"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"German"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"de_DE"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"Japanese"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"ja_JP"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"Korean"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"ko_KR"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"US-English"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"en_US"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">parseNumber</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptOperator">=</span><span class="ActionScriptString">""</span>;
+
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ddl</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedIndex</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptOperator">-</span>1<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptDefault_Text">locale</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">LocaleID</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">DEFAULT</span>;
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptDefault_Text">locale</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">ddl</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedItem</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">data</span>
+
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">nf</span>:<span class="ActionScriptDefault_Text">NumberFormatter</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">NumberFormatter</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">locale</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"Locale selected: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">locale</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" Actual LocaleID Name: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">nf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">actualLocaleIDName</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">"\n\n"</span>;
+
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">parseResult</span>:<span class="ActionScriptDefault_Text">NumberParseResult</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">nf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">parse</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">num</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">nf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">lastOperationStatus</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptDefault_Text">LastOperationStatus</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">NO_ERROR</span> <span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span><span class="ActionScriptString">"The value of Parsed Number:"</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">parseResult</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">value</span> <span class="ActionScriptOperator">+</span><span class="ActionScriptString">"\n"</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">parsedNumber</span>:<span class="ActionScriptDefault_Text">Number</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">nf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">parseNumber</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">num</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">nf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">lastOperationStatus</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptDefault_Text">LastOperationStatus</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">NO_ERROR</span> <span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptOperator">+=</span><span class="ActionScriptString">"The value of Parsed Number:"</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">parsedNumber</span> <span class="ActionScriptOperator">+</span><span class="ActionScriptString">"\n"</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"\n\nLast Operation Status: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">nf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">lastOperationStatus</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">"\n"</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">formatNumber</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptOperator">=</span><span class="ActionScriptString">""</span>;
+
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ddl</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedIndex</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptOperator">-</span>1<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptDefault_Text">locale</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">LocaleID</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">DEFAULT</span>;
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptDefault_Text">locale</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">ddl</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedItem</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">data</span>
+
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">nf</span>:<span class="ActionScriptDefault_Text">NumberFormatter</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">NumberFormatter</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">locale</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"Locale selected: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">locale</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" - Actual locale name: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">nf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">actualLocaleIDName</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">"\n\n"</span>;
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"Formatted Number: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">nf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">formatNumber</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Number</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">num</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">+</span><span class="ActionScriptString">"\n"</span>;
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"Formatted Integer: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">nf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">formatInt</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Number</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">num</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">+</span><span class="ActionScriptString">"\n"</span>;
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"Formatted Unsigned Integer: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">nf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">formatUint</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Number</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">num</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">+</span><span class="ActionScriptString">"\n"</span>;
+
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"\n\nLast Operation Status: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">nf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">lastOperationStatus</span><span class="ActionScriptOperator">+</span><span class="ActionScriptString">"\n"</span>;
+
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:Panel</span><span class="MXMLDefault_Text"> skinClass="</span><span class="MXMLString">skins.TDFPanelSkin</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" title="</span><span class="MXMLString">Number Formatting/Parsing by Locale</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> top="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">" left="</span><span class="MXMLString">12</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Enter a number with commas, decimals or negative</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">(for example: 123,456,789.123):</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextInput</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">num</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:DropDownList</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">ddl</span><span class="MXMLDefault_Text">" dataProvider="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">locales</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">" prompt="</span><span class="MXMLString">Select locale...</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">200</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:HGroup></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Parse</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">parseNumber</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Format</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">formatNumber</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> right="</span><span class="MXMLString">20</span><span class="MXMLDefault_Text">" top="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Console:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextArea</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">ta</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">350</span><span class="MXMLDefault_Text">" editable="</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">" </span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">95%</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">justify</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">" bottom="</span><span class="MXMLString">25</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">"
+ text="</span><span class="MXMLString">This sample will format or parse a number with the selected locale. The last operation status
+will indicate if an error occurred in formatting or parsing. </span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:Panel></span>
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/TDFPanelSkin.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/TDFPanelSkin.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/TDFPanelSkin.mxml.html
new file mode 100644
index 0000000..6b501d4
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/TDFPanelSkin.mxml.html
@@ -0,0 +1,148 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta http-equiv="Content-Style-Type" content="text/css">
+ <title>TDFPanelSkin.mxml</title>
+ <meta name="Generator" content="Cocoa HTML Writer">
+ <meta name="CocoaVersion" content="1187.4">
+ <style type="text/css">
+ p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier}
+ p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px}
+ p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; color: #941100}
+ p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; min-height: 15.0px}
+ </style>
+</head>
+<body>
+<p class="p1"><?xml version="1.0" encoding="utf-8"?></p>
+<p class="p2"><br></p>
+<p class="p3"><!--</p>
+<p class="p4"><br></p>
+<p class="p3">Licensed to the Apache Software Foundation (ASF) under one or more</p>
+<p class="p3">contributor license agreements.<span class="Apple-converted-space"> </span>See the NOTICE file distributed with</p>
+<p class="p3">this work for additional information regarding copyright ownership.</p>
+<p class="p3">The ASF licenses this file to You under the Apache License, Version 2.0</p>
+<p class="p3">(the "License"); you may not use this file except in compliance with</p>
+<p class="p3">the License.<span class="Apple-converted-space"> </span>You may obtain a copy of the License at</p>
+<p class="p4"><br></p>
+<p class="p3">http://www.apache.org/licenses/LICENSE-2.0</p>
+<p class="p4"><br></p>
+<p class="p3">Unless required by applicable law or agreed to in writing, software</p>
+<p class="p3">distributed under the License is distributed on an "AS IS" BASIS,</p>
+<p class="p3">WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</p>
+<p class="p3">See the License for the specific language governing permissions and</p>
+<p class="p3">limitations under the License.</p>
+<p class="p4"><br></p>
+<p class="p3">--></p>
+<p class="p2"><br></p>
+<p class="p1"><s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"<span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span>alpha.disabled="0.5" minWidth="131" minHeight="127"></p>
+<p class="p2"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><fx:Metadata></p>
+<p class="p1"><span class="Apple-converted-space"> </span>[HostComponent("spark.components.Panel")]</p>
+<p class="p1"><span class="Apple-converted-space"> </span></fx:Metadata><span class="Apple-converted-space"> </span></p>
+<p class="p2"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:states></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normal" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabled" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normalWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabledWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:states></p>
+<p class="p2"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- drop shadow --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" top="0" right="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:DropShadowFilter blurX="15" blurY="15" alpha="0.18" distance="11" angle="90" knockout="true" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p2"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: border --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColorStroke color="0" alpha="0.50" weight="1" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p2"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: background fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" height="15"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradient rotation="90"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xE2E2E2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradient></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p2"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: contents --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group left="1" right="1" top="1" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:VerticalLayout gap="0" horizontalAlign="justify" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p2"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="topGroup" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: title bar fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- Note: We have custom skinned the title bar to be solid black for Tour de Flex --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbFill" left="0" right="0" top="0" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p2"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: title bar highlight --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradientStroke rotation="90" weight="1"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xEAEAEA" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xD9D9D9" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradientStroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p2"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: title bar divider --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xC0C0C0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p2"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: text --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Label id="titleDisplay" maxDisplayedLines="1"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>left="9" right="3" top="1" minHeight="30"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>verticalAlign="middle" fontWeight="bold" color="#E2E2E2"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Label></p>
+<p class="p2"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p2"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p2"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="bottomGroup" minWidth="0" minHeight="0"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>includeIn="normalWithControlBar, disabledWithControlBar" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: control bar background --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" top="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xE2EdF7" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p2"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: control bar divider line --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" height="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xD1E0F2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p2"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: control bar --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"></s:Skin></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/Sample-AIR2-Globalization/src/CurrencyFormatterSample-app.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/Sample-AIR2-Globalization/src/CurrencyFormatterSample-app.xml b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/Sample-AIR2-Globalization/src/CurrencyFormatterSample-app.xml
new file mode 100755
index 0000000..3bd1998
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/Sample-AIR2-Globalization/src/CurrencyFormatterSample-app.xml
@@ -0,0 +1,156 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta2
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>CurrencyFormatterSample</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>CurrencyFormatterSample</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>CurrencyFormatterSample</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
+ <!-- <publisherID></publisherID> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width in pixels. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height in pixels. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/Sample-AIR2-Globalization/src/CurrencyFormatterSample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/Sample-AIR2-Globalization/src/CurrencyFormatterSample.mxml b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/Sample-AIR2-Globalization/src/CurrencyFormatterSample.mxml
new file mode 100644
index 0000000..eca8d38
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/Sample-AIR2-Globalization/src/CurrencyFormatterSample.mxml
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:s="library://ns.adobe.com/flex/spark"
+ xmlns:mx="library://ns.adobe.com/flex/mx"
+ styleName="plain" width="100%" height="100%">
+
+ <fx:Declarations>
+ <s:RadioButtonGroup id="radioGrp"/>
+ </fx:Declarations>
+
+ <fx:Script>
+ <![CDATA[
+ import flash.globalization.CurrencyFormatter;
+ import flash.globalization.DateTimeFormatter;
+ import flash.globalization.LocaleID;
+
+ import mx.collections.ArrayCollection;
+
+ protected var cf:CurrencyFormatter;
+ protected var dtf:DateTimeFormatter;
+ protected var date:Date = new Date();
+
+ [Bindable]
+ protected var locales:ArrayCollection = new ArrayCollection([
+ {label:"Default Locale", data:LocaleID.DEFAULT},
+ {label:"Swedish", data:"sv_SE"},
+ {label:"Dutch", data:"nl_NL"},
+ {label:"French", data:"fr_FR"},
+ {label:"German", data:"de_DE"},
+ {label:"Japanese", data:"ja_JP"},
+ {label:"Korean", data:"ko_KR"},
+ {label:"US-English", data:"en_US"},
+ ]);
+
+ protected function formatCurrency():void
+ {
+ ta.text = "";
+ var locale:String;
+
+ if (ddl.selectedIndex == -1)
+ locale = LocaleID.DEFAULT;
+ else locale = ddl.selectedItem.data
+
+ cf = new CurrencyFormatter(locale);
+ ta.text += "Locale selected: " + locale + " - Actual locale name: " + cf.actualLocaleIDName+"\n";
+ ta.text += "\nCurrency Symbol: " + cf.currencySymbol + " Currency ISO Code: " + cf.currencyISOCode ;
+
+ var num:Number = 0;
+ num = Number(curr.text);
+
+ if (radioGrp.selectedValue == "Format by Symbol")
+ {
+ if (cf.formattingWithCurrencySymbolIsSafe(cf.currencyISOCode))
+ {
+ ta.text += "\nFormat using Symbol: "+ cf.format(num, true);
+ }
+ else ta.text += "\nFormat using symbol is not safe. Format by ISO code instead";
+ }
+ else
+ {
+ trace("Num " + num);
+ ta.text += "\nFormat using ISO Code: " + cf.format(num);
+ }
+ ta.text += "\n\n\nLast Operation Status: " + cf.lastOperationStatus;
+ }
+ ]]>
+ </fx:Script>
+
+ <s:Panel skinClass="skins.TDFPanelSkin" width="100%" height="100%" title="Currency Formatting by Locale">
+ <s:VGroup left="12" top="10">
+ <s:Label text="Enter currency to format (for example: 1206.99):"/>
+ <s:TextInput id="curr"/>
+ <s:Label text="Select to format currency by symbol or ISO code:"/>
+ <s:HGroup>
+ <s:RadioButton id="bySymbol" groupName="radioGrp" label="Format by Symbol"/>
+ <s:RadioButton id="byISO" groupName="radioGrp" label="Format by ISO"/>
+ </s:HGroup>
+ <s:DropDownList id="ddl" dataProvider="{locales}" prompt="Select locale..." width="200"/>
+ <s:Button label="Format Currency" click="formatCurrency()"/>
+ </s:VGroup>
+ <s:VGroup top="10" right="20">
+ <s:Label text="Console:"/>
+ <s:TextArea id="ta" width="350" height="120" editable="false" />
+ </s:VGroup>
+ <s:Label width="95%" verticalAlign="justify" color="#323232" bottom="25" horizontalCenter="0"
+ text="This sample will format a currency value with the selected locale and by symbol or ISO code depending on radio button selection. Before formatting by
+symbol, you should check if the formatting by that symbol is safe, such as shown in this example. The last operation status
+will indicate if an error occurred in formatting. "/>
+ </s:Panel>
+
+</mx:Module>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/Sample-AIR2-Globalization/src/DateFormatterSample-app.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/Sample-AIR2-Globalization/src/DateFormatterSample-app.xml b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/Sample-AIR2-Globalization/src/DateFormatterSample-app.xml
new file mode 100755
index 0000000..27c5d7d
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/Sample-AIR2-Globalization/src/DateFormatterSample-app.xml
@@ -0,0 +1,156 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta2
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>DateFormatterSample</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>DateFormatterSample</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>DateFormatterSample</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
+ <!-- <publisherID></publisherID> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width in pixels. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height in pixels. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/Sample-AIR2-Globalization/src/DateFormatterSample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/Sample-AIR2-Globalization/src/DateFormatterSample.mxml b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/Sample-AIR2-Globalization/src/DateFormatterSample.mxml
new file mode 100644
index 0000000..63a3c0d
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/Sample-AIR2-Globalization/src/DateFormatterSample.mxml
@@ -0,0 +1,105 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:s="library://ns.adobe.com/flex/spark"
+ xmlns:mx="library://ns.adobe.com/flex/mx"
+ styleName="plain" width="100%" height="100%">
+
+ <fx:Declarations>
+ <s:RadioButtonGroup id="styleGrp"/>
+ </fx:Declarations>
+ <fx:Script>
+ <![CDATA[
+ import flash.globalization.DateTimeFormatter;
+ import flash.globalization.DateTimeStyle;
+ import flash.globalization.LocaleID;
+
+ import mx.collections.ArrayCollection;
+
+ protected var formatter:DateTimeFormatter;
+
+ [Bindable]
+ protected var locales:ArrayCollection = new ArrayCollection([
+ {label:"Default Locale", data:LocaleID.DEFAULT},
+ {label:"Swedish", data:"sv_SE"},
+ {label:"Dutch", data:"nl_NL"},
+ {label:"French", data:"fr_FR"},
+ {label:"German", data:"de_DE"},
+ {label:"Japanese", data:"ja_JP"},
+ {label:"Korean", data:"ko_KR"},
+ {label:"US-English", data:"en_US"},
+ ]);
+
+ protected function formatDate():void
+ {
+ ta.text = "";
+ var date:Date = new Date();
+ var locale:String;
+
+ if (ddl.selectedIndex == -1)
+ locale = LocaleID.DEFAULT;
+ else locale = ddl.selectedItem.data
+
+ formatter = new DateTimeFormatter(locale);
+
+ ta.text += "Locale selected: " + locale + " - Actual locale name: " + formatter.actualLocaleIDName;
+ ta.text += "\nFormatting date/time: " + date;
+ //trace("Date " +new Date());
+ if (styleGrp.selectedValue == "Long Style")
+ {
+ var longStyle:String = formatter.format(date);
+ var longStylePattern:String = formatter.getDateTimePattern();
+ ta.text += "\nLong Style Date pattern " + longStylePattern;
+ ta.text += "\nLong Style Date: " + longStyle;
+ }
+ else
+ {
+ formatter.setDateTimeStyles(DateTimeStyle.NONE, DateTimeStyle.SHORT);
+ var shortStyle:String = formatter.format(date);
+ var shortStylePattern:String = formatter.getDateTimePattern();
+ ta.text += "\nShort Style date pattern " + shortStylePattern;
+ ta.text += "\nShort Style Date: " + shortStyle;
+ }
+ ta.text += "\n\n\nLast Operation Status: " + formatter.lastOperationStatus;
+
+ }
+ ]]>
+
+ </fx:Script>
+ <s:Panel skinClass="skins.TDFPanelSkin" width="100%" height="100%" title="DateTime and Currency Formatting by Locale">
+ <s:VGroup top="10" left="12">
+ <s:Label text="Select style of date/time formatting:"/>
+ <s:HGroup>
+ <s:RadioButton id="shortDate" groupName="styleGrp" label="Short Style"/>
+ <s:RadioButton id="longDate" groupName="styleGrp" label="Long Style"/>
+ </s:HGroup>
+ <s:DropDownList id="ddl" dataProvider="{locales}" prompt="Select locale..." width="200"/>
+ <s:Button label="Format Today's Date" click="formatDate()"/>
+ </s:VGroup>
+ <s:VGroup top="10" right="20">
+ <s:Label text="Console:"/>
+ <s:TextArea id="ta" editable="false" width="400"/>
+ </s:VGroup>
+ <s:Label width="93%" verticalAlign="justify" color="#323232" bottom="25" horizontalCenter="0"
+ text="This sample will format today's date/time with the selected locale and date/time style (short versus long). The last operation status
+will indicate if an error occurred in formatting."/>
+ </s:Panel>
+
+</mx:Module>
[38/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/data/objects-desktop-update.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/data/objects-desktop-update.xml b/TourDeFlex/TourDeFlex/src/data/objects-desktop-update.xml
new file mode 100644
index 0000000..7240855
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/data/objects-desktop-update.xml
@@ -0,0 +1,37 @@
+<!--
+
+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.
+
+-->
+<update>
+<version>2009-06-16</version>
+<url>http://tourdeflex.adobe.com/download/objects-desktop.xml</url>
+<description>
+06/16/2009: New - Added 5 new ESRI ArcGIS samples
+06/11/2009: New - Axiis Data Visualization Framework (Open Source) added
+06/09/2009: New - Flex Data Access / Data Management Samples added by Holly Schinsky
+06/01/2009: New - Flex 4 Preview samples added!
+06/01/2009: New - New ESRI ArcGIS Sample by Moxie Zhang, ESRI, Inc. - Mapping
+05/25/2009: New - New Collaboration Sample by Holly Schinsky - Data Access, Messaging
+05/20/2009: New - New Java Remoting Samples by Holly Schinsky - Data Access, RemoteObject
+05/19/2009: New - JSON and REST API Sample by Holly Schinsky - Data Access, Techniques
+05/10/2009: New - Added sample for reducing idle CPU usage in AIR apps
+05/01/2009: New - "AutoCompleteComboBox" by Jeffry Houser - Other Computers - Flextras
+04/30/2009: New - "IBM ILOG DASHBOARD" - Data Visualization
+04/12/2009: New - "Determine Client Capabilities" - Flex Core Components / Coding Techniques
+04/09/2009: New - "Working with Filters" - Flex Core Components / Coding Techniques
+</description>
+</update>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/data/objects-desktop.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/data/objects-desktop.xml b/TourDeFlex/TourDeFlex/src/data/objects-desktop.xml
new file mode 100644
index 0000000..2f32d30
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/data/objects-desktop.xml
@@ -0,0 +1,18 @@
+<!--
+
+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.
+
+-->
[05/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/charts/DateTimeAxisExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/charts/DateTimeAxisExample.mxml b/TourDeFlex/TourDeFlex3/src/charts/DateTimeAxisExample.mxml
new file mode 100755
index 0000000..535f9a3
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/charts/DateTimeAxisExample.mxml
@@ -0,0 +1,68 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the DateTimeAxis class. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ import mx.collections.ArrayCollection;
+
+ [Bindable]
+ public var stockDataAC:ArrayCollection = new ArrayCollection( [
+ {date: "2005, 7, 27", close: 41.71},
+ {date: "2005, 7, 28", close: 42.21},
+ {date: "2005, 7, 29", close: 42.11},
+ {date: "2005, 8, 1", close: 42.71},
+ {date: "2005, 8, 2", close: 42.99},
+ {date: "2005, 8, 3", close: 44} ]);
+
+ public function myParseFunction(s:String):Date {
+ // Get an array of Strings from the comma-separated String passed in.
+ var a:Array = s.split(",");
+ // Create the new Date object. Subtract one from
+ // the month property because months are zero-based in
+ // the Date constructor.
+ var newDate:Date = new Date(a[0],a[1]-1,a[2]);
+ return newDate;
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:Panel title="DateTimeAxis Example" height="100%" width="100%">
+
+ <mx:LineChart id="mychart" height="100%" width="100%"
+ paddingRight="5" paddingLeft="5"
+ showDataTips="true" dataProvider="{stockDataAC}">
+
+ <mx:horizontalAxis>
+ <mx:DateTimeAxis dataUnits="days" parseFunction="myParseFunction"/>
+ </mx:horizontalAxis>
+
+ <mx:verticalAxis>
+ <mx:LinearAxis baseAtZero="false" />
+ </mx:verticalAxis>
+
+ <mx:series>
+ <mx:LineSeries yField="close" xField="date" displayName="AAPL"/>
+ </mx:series>
+ </mx:LineChart>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/charts/GridLinesExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/charts/GridLinesExample.mxml b/TourDeFlex/TourDeFlex3/src/charts/GridLinesExample.mxml
new file mode 100755
index 0000000..b09333b
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/charts/GridLinesExample.mxml
@@ -0,0 +1,68 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the GridLines class. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ import mx.collections.ArrayCollection;
+
+ [Bindable]
+ private var expensesAC:ArrayCollection = new ArrayCollection( [
+ { Month: "Jan", Profit: 2000, Expenses: 1500, Amount: 450 },
+ { Month: "Feb", Profit: 1000, Expenses: 200, Amount: 600 },
+ { Month: "Mar", Profit: 1500, Expenses: 500, Amount: 300 },
+ { Month: "Apr", Profit: 1800, Expenses: 1200, Amount: 900 },
+ { Month: "May", Profit: 2400, Expenses: 575, Amount: 500 } ]);
+ ]]>
+ </mx:Script>
+
+ <mx:Panel title="GridLines Example" height="100%" width="100%">
+
+ <mx:LineChart id="linechart" height="100%" width="100%"
+ paddingLeft="5" paddingRight="5"
+ showDataTips="true" dataProvider="{expensesAC}">
+
+ <mx:horizontalAxis>
+ <mx:CategoryAxis categoryField="Month"/>
+ </mx:horizontalAxis>
+
+ <mx:backgroundElements>
+ <mx:GridLines direction="horizontal">
+ <mx:horizontalStroke>
+ <mx:Stroke weight="1"/>
+ </mx:horizontalStroke>
+ <mx:horizontalFill>
+ <mx:SolidColor color="0xCCCCCC" alpha=".66"/>
+ </mx:horizontalFill>
+ </mx:GridLines>
+ </mx:backgroundElements>
+
+ <mx:series>
+ <mx:LineSeries yField="Profit" form="curve" displayName="Profit"/>
+ <mx:LineSeries yField="Expenses" form="curve" displayName="Expenses"/>
+ <mx:LineSeries yField="Amount" form="curve" displayName="Amount"/>
+ </mx:series>
+ </mx:LineChart>
+
+ <mx:Legend dataProvider="{linechart}"/>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/charts/HLOCChartExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/charts/HLOCChartExample.mxml b/TourDeFlex/TourDeFlex3/src/charts/HLOCChartExample.mxml
new file mode 100755
index 0000000..34dc196
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/charts/HLOCChartExample.mxml
@@ -0,0 +1,75 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the HLOCChart control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+ <mx:Script>
+ <![CDATA[
+ import mx.collections.ArrayCollection;
+
+ [Bindable]
+ private var stockDataAC:ArrayCollection = new ArrayCollection( [
+ { Date: "25-Jul", Open: 40.55, High: 40.75, Low: 40.24, Close:40.31},
+ { Date: "26-Jul", Open: 40.15, High: 40.78, Low: 39.97, Close:40.34},
+ { Date: "27-Jul", Open: 40.38, High: 40.66, Low: 40, Close:40.63},
+ { Date: "28-Jul", Open: 40.49, High: 40.99, Low: 40.3, Close:40.98},
+ { Date: "29-Jul", Open: 40.13, High: 40.4, Low: 39.65, Close:39.95},
+ { Date: "1-Aug", Open: 39.00, High: 39.50, Low: 38.7, Close:38.6},
+ { Date: "2-Aug", Open: 38.68, High: 39.34, Low: 37.75, Close:38.84},
+ { Date: "3-Aug", Open: 38.76, High: 38.76, Low: 38.03, Close:38.12},
+ { Date: "4-Aug", Open: 37.98, High: 37.98, Low: 36.56, Close:36.69},
+ { Date: "5-Aug", Open: 36.61, High: 37, Low: 36.48, Close:36.86} ]);
+ ]]>
+ </mx:Script>
+
+ <!-- Define custom Stroke for the wick and ticks. -->
+ <mx:Stroke id="s1" color="0x000000" weight="5" joints="bevel" caps="square"/>
+
+ <mx:Panel title="HLOCChart Control Example" height="100%" width="100%">
+ <mx:HLOCChart id="hlocchart" height="100%" width="100%"
+ paddingRight="5" paddingLeft="5"
+ showDataTips="true" dataProvider="{stockDataAC}">
+
+ <mx:verticalAxis>
+ <mx:LinearAxis id="vaxis" baseAtZero="false" title="Price"/>
+ </mx:verticalAxis>
+
+ <mx:horizontalAxis>
+ <mx:CategoryAxis id="haxis" categoryField="Date" title="Date"/>
+ </mx:horizontalAxis>
+
+ <mx:horizontalAxisRenderers>
+ <mx:AxisRenderer axis="{haxis}" canDropLabels="true"/>
+ </mx:horizontalAxisRenderers>
+
+ <mx:series>
+ <mx:HLOCSeries
+ openField="Open"
+ highField="High"
+ lowField="Low"
+ closeField="Close"
+ stroke="{s1}"
+ openTickStroke="{s1}"
+ closeTickStroke="{s1}"
+ openTickLength="7"
+ closeTickLength="7"
+ />
+ </mx:series>
+ </mx:HLOCChart>
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/charts/Line_AreaChartExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/charts/Line_AreaChartExample.mxml b/TourDeFlex/TourDeFlex3/src/charts/Line_AreaChartExample.mxml
new file mode 100755
index 0000000..a28e43c
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/charts/Line_AreaChartExample.mxml
@@ -0,0 +1,85 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the LineChart and AreaChart controls. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ import mx.collections.ArrayCollection;
+
+ [Bindable]
+ private var expensesAC:ArrayCollection = new ArrayCollection( [
+ { Month: "Jan", Profit: 2000, Expenses: 1500, Amount: 450 },
+ { Month: "Feb", Profit: 1000, Expenses: 200, Amount: 600 },
+ { Month: "Mar", Profit: 1500, Expenses: 500, Amount: 300 },
+ { Month: "Apr", Profit: 1800, Expenses: 1200, Amount: 900 },
+ { Month: "May", Profit: 2400, Expenses: 575, Amount: 500 } ]);
+ ]]>
+ </mx:Script>
+
+ <!-- Define custom colors for use as fills in the AreaChart control. -->
+ <mx:SolidColor id="sc1" color="blue" alpha=".3"/>
+ <mx:SolidColor id="sc2" color="red" alpha=".3"/>
+ <mx:SolidColor id="sc3" color="green" alpha=".3"/>
+
+ <!-- Define custom Strokes. -->
+ <mx:Stroke id = "s1" color="blue" weight="2"/>
+ <mx:Stroke id = "s2" color="red" weight="2"/>
+ <mx:Stroke id = "s3" color="green" weight="2"/>
+
+ <mx:Panel title="LineChart and AreaChart Controls Example"
+ height="100%" width="100%" layout="horizontal">
+
+ <mx:LineChart id="linechart" height="100%" width="45%"
+ paddingLeft="5" paddingRight="5"
+ showDataTips="true" dataProvider="{expensesAC}">
+
+ <mx:horizontalAxis>
+ <mx:CategoryAxis categoryField="Month"/>
+ </mx:horizontalAxis>
+
+ <mx:series>
+ <mx:LineSeries yField="Profit" form="curve" displayName="Profit" lineStroke="{s1}"/>
+ <mx:LineSeries yField="Expenses" form="curve" displayName="Expenses" lineStroke="{s2}"/>
+ <mx:LineSeries yField="Amount" form="curve" displayName="Amount" lineStroke="{s3}"/>
+ </mx:series>
+ </mx:LineChart>
+
+ <mx:Legend dataProvider="{linechart}"/>
+
+ <mx:AreaChart id="Areachart" height="100%" width="45%"
+ paddingLeft="5" paddingRight="5"
+ showDataTips="true" dataProvider="{expensesAC}">
+
+ <mx:horizontalAxis>
+ <mx:CategoryAxis categoryField="Month"/>
+ </mx:horizontalAxis>
+
+ <mx:series>
+ <mx:AreaSeries yField="Profit" form="curve" displayName="Profit" areaStroke="{s1}" areaFill="{sc1}"/>
+ <mx:AreaSeries yField="Expenses" form="curve" displayName="Expenses" areaStroke="{s2}" areaFill="{sc2}"/>
+ <mx:AreaSeries yField="Amount" form="curve" displayName="Amount" areaStroke="{s3}" areaFill="{sc3}"/>
+ </mx:series>
+ </mx:AreaChart>
+
+ <mx:Legend dataProvider="{Areachart}"/>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/charts/LogAxisExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/charts/LogAxisExample.mxml b/TourDeFlex/TourDeFlex3/src/charts/LogAxisExample.mxml
new file mode 100755
index 0000000..2bf06ff
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/charts/LogAxisExample.mxml
@@ -0,0 +1,61 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the LogAxis class. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ import mx.collections.ArrayCollection;
+
+ [Bindable]
+ private var expensesAC:ArrayCollection = new ArrayCollection( [
+ { Month: "Jan", Profit: 20000, Expenses: 1500, Amount: 450 },
+ { Month: "Feb", Profit: 1000, Expenses: 15000, Amount: 600 },
+ { Month: "Mar", Profit: 15000, Expenses: 5000, Amount: 300 },
+ { Month: "Apr", Profit: 1800, Expenses: 1200, Amount: 900 },
+ { Month: "May", Profit: 2400, Expenses: 575, Amount: 500 } ]);
+ ]]>
+ </mx:Script>
+
+ <mx:Panel title="LogAxis Example" height="100%" width="100%">
+
+ <mx:LineChart id="linechart" height="100%" width="100%"
+ paddingLeft="5" paddingRight="5"
+ showDataTips="true" dataProvider="{expensesAC}">
+
+ <mx:horizontalAxis>
+ <mx:CategoryAxis categoryField="Month"/>
+ </mx:horizontalAxis>
+
+ <mx:verticalAxis>
+ <mx:LogAxis interval="10"/>
+ </mx:verticalAxis>
+
+ <mx:series>
+ <mx:LineSeries yField="Profit" form="curve" displayName="Profit"/>
+ <mx:LineSeries yField="Expenses" form="curve" displayName="Expenses"/>
+ <mx:LineSeries yField="Amount" form="curve" displayName="Amount"/>
+ </mx:series>
+ </mx:LineChart>
+
+ <mx:Legend dataProvider="{linechart}"/>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/charts/PieChartExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/charts/PieChartExample.mxml b/TourDeFlex/TourDeFlex3/src/charts/PieChartExample.mxml
new file mode 100755
index 0000000..727078d
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/charts/PieChartExample.mxml
@@ -0,0 +1,84 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the PieChart control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+ <mx:Script>
+ <![CDATA[
+ import mx.collections.ArrayCollection;
+
+ [Bindable]
+ private var medalsAC:ArrayCollection = new ArrayCollection( [
+ { Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
+ { Country: "China", Gold: 32, Silver:17, Bronze: 14 },
+ { Country: "Russia", Gold: 27, Silver:27, Bronze: 38 } ]);
+
+ private function displayGold(data:Object, field:String, index:Number, percentValue:Number):String {
+ var temp:String= (" " + percentValue).substr(0,6);
+ return data.Country + ": " + '\n' + "Total Gold: " + data.Gold + '\n' + temp + "%";
+ }
+ ]]>
+ </mx:Script>
+
+ <!-- Define custom colors for use as pie wedge fills. -->
+ <mx:SolidColor id="sc1" color="blue" alpha=".6"/>
+ <mx:SolidColor id="sc2" color="red" alpha=".6"/>
+ <mx:SolidColor id="sc3" color="0x663300" alpha=".6"/>
+
+ <!-- This Stroke is used for the callout lines. -->
+ <mx:Stroke id="callouts" weight="2" color="0x999999" alpha=".8" caps="square"/>
+
+ <!-- This Stroke is used to separate the wedges in the pie. -->
+ <mx:Stroke id="radial" weight="1" color="0xFFFFCC" alpha=".3"/>
+
+ <!-- This Stroke is used for the outer border of the pie. -->
+ <mx:Stroke id="pieborder" color="0x000000" weight="2" alpha=".5"/>
+
+
+ <mx:Panel title="Olympics 2004 Medals Tally Panel" height="100%" width="100%">
+ <mx:PieChart id="chart"
+ height="100%"
+ width="100%"
+ paddingRight="5"
+ paddingLeft="5"
+ showDataTips="true"
+ dataProvider="{medalsAC}"
+ >
+ <!--
+ -->
+ <mx:series>
+ <mx:PieSeries
+ nameField="Country"
+ labelPosition="callout"
+ field="Gold"
+ labelFunction="displayGold"
+ calloutStroke="{callouts}"
+ radialStroke="{radial}"
+ stroke="{pieborder}"
+ fills="{[sc1, sc2, sc3]}"
+ >
+ <!-- Clear the drop shadow filters from the chart. -->
+ <mx:filters>
+ <mx:Array/>
+ </mx:filters>
+ </mx:PieSeries>
+ </mx:series>
+ </mx:PieChart>
+ <mx:Legend dataProvider="{chart}"/>
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/charts/PlotChartExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/charts/PlotChartExample.mxml b/TourDeFlex/TourDeFlex3/src/charts/PlotChartExample.mxml
new file mode 100755
index 0000000..27a6088
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/charts/PlotChartExample.mxml
@@ -0,0 +1,78 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the PlotChart control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+ <mx:Script>
+ <![CDATA[
+ import mx.collections.ArrayCollection;
+
+ [Bindable]
+ private var expensesAC:ArrayCollection = new ArrayCollection( [
+ { Month: "Jan", Profit: 2000, Expenses: 1500, Amount: 450 },
+ { Month: "Feb", Profit: 1000, Expenses: 200, Amount: 600 },
+ { Month: "Mar", Profit: 1500, Expenses: 500, Amount: 300 } ]);
+ ]]>
+ </mx:Script>
+
+ <!-- Define custom colors for use as plot point fills. -->
+ <mx:SolidColor id="sc1" color="blue" alpha=".3"/>
+ <mx:SolidColor id="sc2" color="red" alpha=".3"/>
+ <mx:SolidColor id="sc3" color="green" alpha=".3"/>
+
+ <!-- Define custom Strokes. -->
+ <mx:Stroke id="s1" color="blue" weight="1"/>
+ <mx:Stroke id="s2" color="red" weight="1"/>
+ <mx:Stroke id="s3" color="green" weight="1"/>
+
+ <mx:Panel title="PlotChart Control Example" height="100%" width="100%">
+ <mx:PlotChart id="plot"
+ height="100%"
+ width="100%"
+ paddingLeft="5"
+ paddingRight="5"
+ showDataTips="true"
+ dataProvider="{expensesAC}"
+ >
+ <mx:series>
+ <mx:PlotSeries
+ xField="Expenses"
+ yField="Profit"
+ displayName="Plot 1"
+ fill="{sc1}"
+ stroke="{s1}"
+ />
+ <mx:PlotSeries
+ xField="Amount"
+ yField="Expenses"
+ displayName="Plot 2"
+ fill="{sc2}"
+ stroke="{s2}"
+ />
+ <mx:PlotSeries
+ xField="Profit"
+ yField="Amount"
+ displayName="Plot 3"
+ fill="{sc3}"
+ stroke="{s3}"
+ />
+ </mx:series>
+ </mx:PlotChart>
+ <mx:Legend dataProvider="{plot}"/>
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/charts/SeriesInterpolateExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/charts/SeriesInterpolateExample.mxml b/TourDeFlex/TourDeFlex3/src/charts/SeriesInterpolateExample.mxml
new file mode 100755
index 0000000..566140a
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/charts/SeriesInterpolateExample.mxml
@@ -0,0 +1,94 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the CandlestickChart control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ import mx.collections.ArrayCollection;
+
+ [Bindable]
+ private var companyAAC:ArrayCollection = new ArrayCollection( [
+ { Date: "25-Jul", Open: 40.75, High: 40.75, Low: 40.24, Close:40.31},
+ { Date: "26-Jul", Open: 39.98, High: 40.78, Low: 39.97, Close:40.34},
+ { Date: "27-Jul", Open: 40.38, High: 40.66, Low: 40, Close:40.63},
+ { Date: "28-Jul", Open: 40.49, High: 40.99, Low: 40.3, Close:40.98},
+ { Date: "29-Jul", Open: 40.13, High: 40.4, Low: 39.65, Close:39.95},
+ { Date: "1-Aug", Open: 39.00, High: 39.50, Low: 38.7, Close:38.6},
+ { Date: "2-Aug", Open: 38.68, High: 39.34, Low: 37.75, Close:38.84},
+ { Date: "3-Aug", Open: 38.76, High: 38.76, Low: 38.03, Close:38.12},
+ { Date: "4-Aug", Open: 37.98, High: 37.98, Low: 36.56, Close:36.69},
+ { Date: "5-Aug", Open: 36.61, High: 37, Low: 36.48, Close:36.86} ]);
+
+ [Bindable]
+ private var companyBAC:ArrayCollection = new ArrayCollection( [
+ { Date: "25-Jul", Open: 18.50, High: 19, Low: 18.48, Close:18.86},
+ { Date: "26-Jul", Open: 19.56, High: 19.98, Low: 18.6, Close:18.69},
+ { Date: "27-Jul", Open: 20.81, High: 20.99, Low: 20.03, Close:20.12},
+ { Date: "28-Jul", Open: 20.70, High: 21.00, Low: 19.5, Close:20.84},
+ { Date: "29-Jul", Open: 21.7, High: 21.79, Low: 20.45, Close:20.6},
+ { Date: "1-Aug", Open: 22.45, High: 22.65, Low: 21.65, Close:21.95},
+ { Date: "2-Aug", Open: 22.56, High: 22.6, Low: 22.05, Close:22.98},
+ { Date: "3-Aug", Open: 22.42, High: 22.70, Low: 22.1, Close:22.63},
+ { Date: "4-Aug", Open: 21.67, High: 22.82, Low: 21.67, Close:22.34},
+ { Date: "5-Aug", Open: 22.44, High: 22.85, Low: 22.12, Close:22.31} ]);
+ ]]>
+ </mx:Script>
+
+ <mx:SeriesInterpolate id="interpolateIn" duration="1000"/>
+
+ <mx:Panel title="CandlestickChart Control Example" height="100%" width="100%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:CandlestickChart id="candlestickchart" height="100%" width="100%"
+ paddingRight="5" paddingLeft="5"
+ showDataTips="true" dataProvider="{companyAAC}">
+
+ <mx:verticalAxis>
+ <mx:LinearAxis id="vaxis" baseAtZero="false" title="Price"/>
+ </mx:verticalAxis>
+
+ <mx:horizontalAxis>
+ <mx:CategoryAxis id="haxis" categoryField="Date" title="Date"/>
+ </mx:horizontalAxis>
+
+ <mx:horizontalAxisRenderers>
+ <mx:AxisRenderer axis="{haxis}" canDropLabels="true"/>
+ </mx:horizontalAxisRenderers>
+
+ <mx:series>
+ <mx:CandlestickSeries
+ openField="Open" highField="High"
+ lowField="Low" closeField="Close"
+ showDataEffect="{interpolateIn}"/>
+ </mx:series>
+ </mx:CandlestickChart>
+
+ <mx:Label width="100%" color="blue"
+ text="Choose a company to view recent stock data."/>
+
+ <mx:HBox>
+ <mx:RadioButton groupName="stocks" label="View Company A"
+ selected="true" click="candlestickchart.dataProvider=companyAAC;"/>
+ <mx:RadioButton groupName="stocks" label="View Company B"
+ click="candlestickchart.dataProvider=companyBAC;"/>
+ </mx:HBox>
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/charts/SeriesSlideExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/charts/SeriesSlideExample.mxml b/TourDeFlex/TourDeFlex3/src/charts/SeriesSlideExample.mxml
new file mode 100755
index 0000000..c36427b
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/charts/SeriesSlideExample.mxml
@@ -0,0 +1,96 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the CandlestickChart control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ import mx.collections.ArrayCollection;
+
+ [Bindable]
+ private var companyAAC:ArrayCollection = new ArrayCollection( [
+ { Date: "25-Jul", Open: 40.75, High: 40.75, Low: 40.24, Close:40.31},
+ { Date: "26-Jul", Open: 39.98, High: 40.78, Low: 39.97, Close:40.34},
+ { Date: "27-Jul", Open: 40.38, High: 40.66, Low: 40, Close:40.63},
+ { Date: "28-Jul", Open: 40.49, High: 40.99, Low: 40.3, Close:40.98},
+ { Date: "29-Jul", Open: 40.13, High: 40.4, Low: 39.65, Close:39.95},
+ { Date: "1-Aug", Open: 39.00, High: 39.50, Low: 38.7, Close:38.6},
+ { Date: "2-Aug", Open: 38.68, High: 39.34, Low: 37.75, Close:38.84},
+ { Date: "3-Aug", Open: 38.76, High: 38.76, Low: 38.03, Close:38.12},
+ { Date: "4-Aug", Open: 37.98, High: 37.98, Low: 36.56, Close:36.69},
+ { Date: "5-Aug", Open: 36.61, High: 37, Low: 36.48, Close:36.86} ]);
+
+ [Bindable]
+ private var companyBAC:ArrayCollection = new ArrayCollection( [
+ { Date: "25-Jul", Open: 18.50, High: 19, Low: 18.48, Close:18.86},
+ { Date: "26-Jul", Open: 19.56, High: 19.98, Low: 18.6, Close:18.69},
+ { Date: "27-Jul", Open: 20.81, High: 20.99, Low: 20.03, Close:20.12},
+ { Date: "28-Jul", Open: 20.70, High: 21.00, Low: 19.5, Close:20.84},
+ { Date: "29-Jul", Open: 21.7, High: 21.79, Low: 20.45, Close:20.6},
+ { Date: "1-Aug", Open: 22.45, High: 22.65, Low: 21.65, Close:21.95},
+ { Date: "2-Aug", Open: 22.56, High: 22.6, Low: 22.05, Close:22.98},
+ { Date: "3-Aug", Open: 22.42, High: 22.70, Low: 22.1, Close:22.63},
+ { Date: "4-Aug", Open: 21.67, High: 22.82, Low: 21.67, Close:22.34},
+ { Date: "5-Aug", Open: 22.44, High: 22.85, Low: 22.12, Close:22.31} ]);
+ ]]>
+ </mx:Script>
+
+ <mx:SeriesSlide id="slideIn" duration="1000" direction="up"/>
+ <mx:SeriesSlide id="slideOut" duration="1000" direction="down"/>
+
+ <mx:Panel title="CandlestickChart Control Example" height="100%" width="100%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:CandlestickChart id="candlestickchart" height="100%" width="100%"
+ paddingRight="5" paddingLeft="5"
+ showDataTips="true" dataProvider="{companyAAC}">
+
+ <mx:verticalAxis>
+ <mx:LinearAxis id="vaxis" baseAtZero="false" title="Price"/>
+ </mx:verticalAxis>
+
+ <mx:horizontalAxis>
+ <mx:CategoryAxis id="haxis" categoryField="Date" title="Date"/>
+ </mx:horizontalAxis>
+
+ <mx:horizontalAxisRenderers>
+ <mx:AxisRenderer axis="{haxis}" canDropLabels="true"/>
+ </mx:horizontalAxisRenderers>
+
+ <mx:series>
+ <mx:CandlestickSeries
+ openField="Open" highField="High"
+ lowField="Low" closeField="Close"
+ showDataEffect="{slideIn}"
+ hideDataEffect="{slideOut}"/>
+ </mx:series>
+ </mx:CandlestickChart>
+
+ <mx:Label width="100%" color="blue"
+ text="Choose a company to view recent stock data."/>
+
+ <mx:HBox>
+ <mx:RadioButton groupName="stocks" label="View Company A"
+ selected="true" click="candlestickchart.dataProvider=companyAAC;"/>
+ <mx:RadioButton groupName="stocks" label="View Company B"
+ click="candlestickchart.dataProvider=companyBAC;"/>
+ </mx:HBox>
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/charts/SeriesZoomExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/charts/SeriesZoomExample.mxml b/TourDeFlex/TourDeFlex3/src/charts/SeriesZoomExample.mxml
new file mode 100755
index 0000000..5a35d63
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/charts/SeriesZoomExample.mxml
@@ -0,0 +1,96 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the CandlestickChart control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ import mx.collections.ArrayCollection;
+
+ [Bindable]
+ private var companyAAC:ArrayCollection = new ArrayCollection( [
+ { Date: "25-Jul", Open: 40.75, High: 40.75, Low: 40.24, Close:40.31},
+ { Date: "26-Jul", Open: 39.98, High: 40.78, Low: 39.97, Close:40.34},
+ { Date: "27-Jul", Open: 40.38, High: 40.66, Low: 40, Close:40.63},
+ { Date: "28-Jul", Open: 40.49, High: 40.99, Low: 40.3, Close:40.98},
+ { Date: "29-Jul", Open: 40.13, High: 40.4, Low: 39.65, Close:39.95},
+ { Date: "1-Aug", Open: 39.00, High: 39.50, Low: 38.7, Close:38.6},
+ { Date: "2-Aug", Open: 38.68, High: 39.34, Low: 37.75, Close:38.84},
+ { Date: "3-Aug", Open: 38.76, High: 38.76, Low: 38.03, Close:38.12},
+ { Date: "4-Aug", Open: 37.98, High: 37.98, Low: 36.56, Close:36.69},
+ { Date: "5-Aug", Open: 36.61, High: 37, Low: 36.48, Close:36.86} ]);
+
+ [Bindable]
+ private var companyBAC:ArrayCollection = new ArrayCollection( [
+ { Date: "25-Jul", Open: 18.50, High: 19, Low: 18.48, Close:18.86},
+ { Date: "26-Jul", Open: 19.56, High: 19.98, Low: 18.6, Close:18.69},
+ { Date: "27-Jul", Open: 20.81, High: 20.99, Low: 20.03, Close:20.12},
+ { Date: "28-Jul", Open: 20.70, High: 21.00, Low: 19.5, Close:20.84},
+ { Date: "29-Jul", Open: 21.7, High: 21.79, Low: 20.45, Close:20.6},
+ { Date: "1-Aug", Open: 22.45, High: 22.65, Low: 21.65, Close:21.95},
+ { Date: "2-Aug", Open: 22.56, High: 22.6, Low: 22.05, Close:22.98},
+ { Date: "3-Aug", Open: 22.42, High: 22.70, Low: 22.1, Close:22.63},
+ { Date: "4-Aug", Open: 21.67, High: 22.82, Low: 21.67, Close:22.34},
+ { Date: "5-Aug", Open: 22.44, High: 22.85, Low: 22.12, Close:22.31} ]);
+ ]]>
+ </mx:Script>
+
+ <mx:SeriesZoom id="zoomIn" duration="1000"/>
+ <mx:SeriesZoom id="zoomOut" duration="1000"/>
+
+ <mx:Panel title="CandlestickChart Control Example" height="100%" width="100%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:CandlestickChart id="candlestickchart" height="100%" width="100%"
+ paddingRight="5" paddingLeft="5"
+ showDataTips="true" dataProvider="{companyAAC}">
+
+ <mx:verticalAxis>
+ <mx:LinearAxis id="vaxis" baseAtZero="false" title="Price"/>
+ </mx:verticalAxis>
+
+ <mx:horizontalAxis>
+ <mx:CategoryAxis id="haxis" categoryField="Date" title="Date"/>
+ </mx:horizontalAxis>
+
+ <mx:horizontalAxisRenderers>
+ <mx:AxisRenderer axis="{haxis}" canDropLabels="true"/>
+ </mx:horizontalAxisRenderers>
+
+ <mx:series>
+ <mx:CandlestickSeries
+ openField="Open" highField="High"
+ lowField="Low" closeField="Close"
+ showDataEffect="{zoomIn}"
+ hideDataEffect="{zoomOut}"/>
+ </mx:series>
+ </mx:CandlestickChart>
+
+ <mx:Label width="100%" color="blue"
+ text="Choose a company to view recent stock data."/>
+
+ <mx:HBox>
+ <mx:RadioButton groupName="stocks" label="View Company A"
+ selected="true" click="candlestickchart.dataProvider=companyAAC;"/>
+ <mx:RadioButton groupName="stocks" label="View Company B"
+ click="candlestickchart.dataProvider=companyBAC;"/>
+ </mx:HBox>
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/charts_explorer.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/charts_explorer.xml b/TourDeFlex/TourDeFlex3/src/charts_explorer.xml
new file mode 100755
index 0000000..5c7ad68
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/charts_explorer.xml
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ 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.
+ -->
+
+<compTree>
+ <node label="Datavisualization Components">
+ <node label="Charts">
+ <node label="Chart Controls">
+ <node label="AreaChart" app="charts/Line_AreaChartExample"/>
+ <node label="AxisRenderer" app="charts/HLOCChartExample"/>
+ <node label="BarChart" app="charts/Column_BarChartExample"/>
+ <node label="BubbleChart" app="charts/BubbleChartExample"/>
+ <node label="CandlestickChart" app="charts/CandlestickChartExample"/>
+ <node label="CategoryAxis" app="charts/HLOCChartExample"/>
+ <node label="ColumnChart" app="charts/Column_BarChartExample"/>
+ <node label="DateTimeAxis" app="charts/DateTimeAxisExample"/>
+ <node label="GridLines" app="charts/GridLinesExample"/>
+ <node label="HLOCChart" app="charts/HLOCChartExample"/>
+ <node label="Legend" app="charts/PlotChartExample"/>
+ <node label="LinearAxis" app="charts/HLOCChartExample"/>
+ <node label="LineChart" app="charts/Line_AreaChartExample"/>
+ <node label="LogAxis" app="charts/LogAxisExample"/>
+ <node label="PieChart" app="charts/PieChartExample"/>
+ <node label="PlotChart" app="charts/PlotChartExample"/>
+ </node>
+
+
+ <node label="Chart Series">
+ <node label="AreaSeries" app="charts/Line_AreaChartExample"/>
+ <node label="BarSeries" app="charts/Column_BarChartExample"/>
+ <node label="BubbleSeries" app="charts/BubbleChartExample"/>
+ <node label="CandlestickSeries" app="charts/CandlestickChartExample"/>
+ <node label="ColumnSeries" app="charts/Column_BarChartExample"/>
+ <node label="HLOCSeries" app="charts/HLOCChartExample"/>
+ <node label="LineSeries" app="charts/Line_AreaChartExample"/>
+ <node label="PieSeries" app="charts/PieChartExample"/>
+ <node label="PlotSeries" app="charts/PlotChartExample"/>
+ </node>
+
+
+
+ <node label="Chart Effects">
+ <node label="SeriesInterpolate" app="charts/SeriesInterpolateExample"/>
+ <node label="SeriesSlide" app="charts/SeriesSlideExample"/>
+ <node label="SeriesZoom" app="charts/SeriesZoomExample"/>
+ </node>
+
+ </node>
+
+
+ <node label="AdancedDataGrid">
+ <node label="AdvancedDataGrid" app="controls/AdvancedDataGridExample"/>
+ </node>
+
+ <node label="OLAPDataGrid">
+ <node label="OLAPDataGrid" app="controls/OLAPDataGridExample"/>
+ </node>
+
+ <node label="Printing">
+ <node label="ADG Printing" app="printing/AdvancedPrintDataGridExample"/>
+ </node>
+ </node>
+</compTree>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/clean.bat
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/clean.bat b/TourDeFlex/TourDeFlex3/src/clean.bat
new file mode 100755
index 0000000..8e4aef1
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/clean.bat
@@ -0,0 +1,23 @@
+@echo off
+
+rem Licensed to the Apache Software Foundation (ASF) under one or more
+rem contributor license agreements. See the NOTICE file distributed with
+rem this work for additional information regarding copyright ownership.
+rem The ASF licenses this file to You under the Apache License, Version 2.0
+rem (the "License"); you may not use this file except in compliance with
+rem the License. You may obtain a copy of the License at
+rem
+rem http://www.apache.org/licenses/LICENSE-2.0
+rem
+rem Unless required by applicable law or agreed to in writing, software
+rem distributed under the License is distributed on an "AS IS" BASIS,
+rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+rem See the License for the specific language governing permissions and
+rem limitations under the License.
+
+echo Cleaning SWF files from package... You will need to recompile with build.bat in order to have a working project.
+
+for /R . %%f in (*.swf) do (
+ echo Deleting %%f...
+ del %%f
+)
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/containers/AccordionExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/containers/AccordionExample.mxml b/TourDeFlex/TourDeFlex3/src/containers/AccordionExample.mxml
new file mode 100755
index 0000000..d693dff
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/containers/AccordionExample.mxml
@@ -0,0 +1,53 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the Accordion layout container. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Panel title="Accordion Container Example" height="90%" width="90%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Label width="100%" color="blue"
+ text="Select an Accordion navigator button to change the panel."/>
+
+ <mx:Accordion id="accordion" width="100%" height="100%">
+ <!-- Define each panel using a VBox container. -->
+ <mx:VBox label="Accordion Button for Panel 1">
+ <mx:Label text="Accordion container panel 1"/>
+ </mx:VBox>
+
+ <mx:VBox label="Accordion Button for Panel 2">
+ <mx:Label text="Accordion container panel 2"/>
+ </mx:VBox>
+
+ <mx:VBox label="Accordion Button for Panel 3">
+ <mx:Label text="Accordion container panel 3"/>
+ </mx:VBox>
+ </mx:Accordion>
+
+ <mx:Label width="100%" color="blue"
+ text="Programmatically select the panel using a Button control."/>
+
+ <mx:HBox>
+ <mx:Button label="Select Panel 1" click="accordion.selectedIndex=0;"/>
+ <mx:Button label="Select Panel 2" click="accordion.selectedIndex=1;"/>
+ <mx:Button label="Select Panel 3" click="accordion.selectedIndex=2;"/>
+ </mx:HBox>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/containers/DividedBoxExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/containers/DividedBoxExample.mxml b/TourDeFlex/TourDeFlex3/src/containers/DividedBoxExample.mxml
new file mode 100755
index 0000000..4a28b9a
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/containers/DividedBoxExample.mxml
@@ -0,0 +1,39 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the DividedBox layout container. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Panel title="DividedBox Container Example" height="95%" width="95%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Text width="100%" color="blue"
+ text="A horizontal DividedBox container. Drag the divider side to side to resize the children."/>
+
+ <mx:DividedBox direction="horizontal" width="100%" height="100%">
+
+ <mx:Panel title="Panel 1" width="25%" height="100%" backgroundColor="0xCCCCCC">
+ </mx:Panel>
+
+ <mx:Panel title="Panel 2" width="25%" height="100%" backgroundColor="0xCCCCCC">
+ </mx:Panel>
+
+ </mx:DividedBox>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/containers/FormExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/containers/FormExample.mxml b/TourDeFlex/TourDeFlex3/src/containers/FormExample.mxml
new file mode 100755
index 0000000..b929234
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/containers/FormExample.mxml
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate Form layout container. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Model id="checkModel">
+ <User>
+ <FirstName>{fname.text}</FirstName>
+ <DOB>{dob.text}</DOB>
+ <Email>{email.text}</Email>
+ <Age>{age.text}</Age>
+ <SSN>{ssn.text}</SSN>
+ <Zip>{zip.text}</Zip>
+ <Phone>{phone.text}</Phone>
+ </User>
+ </mx:Model>
+
+ <mx:Panel title="Form Container Example" height="75%" width="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Text width="100%" color="blue"
+ text="Moving from one form field to another triggers the validator."/>
+
+ <mx:Form width="100%" height="100%">
+ <mx:FormHeading label="Enter values into the form."/>
+
+ <mx:FormItem label="First name">
+ <mx:TextInput id="fname" width="200"/>
+ </mx:FormItem>
+
+ <mx:FormItem label="Date of birth (mm/dd/yyyy)">
+ <mx:TextInput id="dob" width="200"/>
+ </mx:FormItem>
+
+ <mx:FormItem label="E-mail address">
+ <mx:TextInput id="email" width="200"/>
+ </mx:FormItem>
+
+ <mx:FormItem label="Age">
+ <mx:TextInput id="age" width="200"/>
+ </mx:FormItem>
+
+ <mx:FormItem label="SSN">
+ <mx:TextInput id="ssn" width="200"/>
+ </mx:FormItem>
+
+ <mx:FormItem label="Zip">
+ <mx:TextInput id="zip" width="200"/>
+ </mx:FormItem>
+
+ <mx:FormItem label="Phone">
+ <mx:TextInput id="phone" width="200"/>
+ </mx:FormItem>
+ </mx:Form>
+
+ </mx:Panel>
+
+ <mx:StringValidator source="{fname}" property="text" minLength="4" maxLength="12"/>
+ <mx:PhoneNumberValidator source="{phone}" property="text"/>
+ <mx:DateValidator source="{dob}" property="text"/>
+ <mx:EmailValidator source="{email}" property="text"/>
+ <mx:NumberValidator source="{age}" property="text" integerError="Enter Integer value"
+ minValue="18" maxValue="100" domain="int"/>
+ <mx:SocialSecurityValidator source="{ssn}" property="text"/>
+ <mx:ZipCodeValidator source="{zip}" property="text"/>
+
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/containers/GridLayoutExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/containers/GridLayoutExample.mxml b/TourDeFlex/TourDeFlex3/src/containers/GridLayoutExample.mxml
new file mode 100755
index 0000000..c80e72a
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/containers/GridLayoutExample.mxml
@@ -0,0 +1,67 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the Grid layout container.-->
+<mx:Application borderStyle="none" xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Panel title="Grid Container Example" height="75%" width="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Label width="100%" color="blue"
+ text="A 3 by 3 Grid container of Button controls."/>
+
+ <mx:Grid>
+ <mx:GridRow>
+ <mx:GridItem>
+ <mx:Button label="Row 1 Col 1" width="100"/>
+ </mx:GridItem>
+ <mx:GridItem>
+ <mx:Button label="Row 1 Col 2" width="100"/>
+ </mx:GridItem>
+ <mx:GridItem>
+ <mx:Button label="Row 1 Col 3" width="100"/>
+ </mx:GridItem>
+ </mx:GridRow>
+
+ <mx:GridRow>
+ <mx:GridItem>
+ <mx:Button label="Row 2 Col 1" width="100"/>
+ </mx:GridItem>
+ <mx:GridItem>
+ <mx:Button label="Row 2 Col 2" width="100"/>
+ </mx:GridItem>
+ <mx:GridItem>
+ <mx:Button label="Row 2 Col 3" width="100"/>
+ </mx:GridItem>
+ </mx:GridRow>
+
+ <mx:GridRow>
+ <mx:GridItem>
+ <mx:Button label="Row 3 Col 1" width="100"/>
+ </mx:GridItem>
+ <mx:GridItem>
+ <mx:Button label="Row 3 Col 2" width="100"/>
+ </mx:GridItem>
+ <mx:GridItem>
+ <mx:Button label="Row 3 Col 3" width="100"/>
+ </mx:GridItem>
+ </mx:GridRow>
+ </mx:Grid>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/containers/HBoxExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/containers/HBoxExample.mxml b/TourDeFlex/TourDeFlex3/src/containers/HBoxExample.mxml
new file mode 100755
index 0000000..fa4010c
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/containers/HBoxExample.mxml
@@ -0,0 +1,39 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the HBox layout container. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Panel title="HBox Container Example" height="75%" width="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Label width="100%" color="blue"
+ text="An HBox container with horizontally aligned children."/>
+
+ <mx:HBox borderStyle="solid" paddingTop="10" paddingBottom="10"
+ paddingLeft="10" paddingRight="10">
+
+ <mx:Button label="Button 1"/>
+ <mx:Button label="Button 2"/>
+ <mx:Button label="Button 3"/>
+ <mx:ComboBox/>
+
+ </mx:HBox>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/containers/HDividedBoxExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/containers/HDividedBoxExample.mxml b/TourDeFlex/TourDeFlex3/src/containers/HDividedBoxExample.mxml
new file mode 100755
index 0000000..82a7528
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/containers/HDividedBoxExample.mxml
@@ -0,0 +1,41 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the HDividedBox layout -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Panel title="HDividedBox Container Example" width="90%" height="90%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Text width="100%" color="blue"
+ text="Drag the divider side to side to resize the children."/>
+
+ <mx:HDividedBox width="100%" height="100%">
+
+ <mx:Canvas label="Canvas 1" width="100%" height="100%" backgroundColor="#FFFFCC">
+ <mx:Label text="Add components here" fontWeight="bold"/>
+ </mx:Canvas>
+
+ <mx:Canvas label="Canvas 2" width="100%" height="100%" backgroundColor="#99CCFF">
+ <mx:Label text="Add components here" fontWeight="bold"/>
+ </mx:Canvas>
+
+ </mx:HDividedBox>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/containers/SimpleApplicationControlBarExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/containers/SimpleApplicationControlBarExample.mxml b/TourDeFlex/TourDeFlex3/src/containers/SimpleApplicationControlBarExample.mxml
new file mode 100755
index 0000000..36175ad
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/containers/SimpleApplicationControlBarExample.mxml
@@ -0,0 +1,57 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the ApplicationControlBar container. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
+ paddingLeft="10" paddingRight="10" paddingBottom="10"
+ backgroundColor="0xCCCCCC">
+
+ <mx:ApplicationControlBar dock="true" paddingTop="0" paddingBottom="0">
+ <mx:Label text="Docked" color="blue"/>
+
+ <mx:MenuBar id="myMenuBar" labelField="@label">
+ <mx:XMLList>
+ <menuitem label="MenuItem A" >
+ <menuitem label="SubMenuItem A-1" type="check"/>
+ <menuitem label="SubMenuItem A-2" type="check"/>
+ </menuitem>
+ <menuitem label="MenuItem B"/>
+ <menuitem label="MenuItem C"/>
+ <menuitem label="MenuItem D" >
+ <menuitem label="SubMenuItem D-1" type="radio" groupName="one"/>
+ <menuitem label="SubMenuItem D-2" type="radio" groupName="one"/>
+ <menuitem label="SubMenuItem D-3" type="radio" groupName="one"/>
+ </menuitem>
+ </mx:XMLList>
+ </mx:MenuBar>
+ </mx:ApplicationControlBar>
+
+ <mx:Label text="A docked ApplicationControlBar appears at the top of the application window."/>
+ <mx:Spacer height="100%" />
+
+ <mx:ApplicationControlBar width="80%">
+ <mx:Label text="Normal" color="blue"/>
+ <mx:Label text="Search:" />
+ <mx:TextInput width="100%" maxWidth="200" />
+ <mx:Spacer width="100%" />
+ <mx:Button label="Go flex.apache.org" />
+ </mx:ApplicationControlBar>
+
+ <mx:Label text="A normal ApplicationControlBar can appear anywhere in the application."/>
+
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/containers/SimpleBoxExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/containers/SimpleBoxExample.mxml b/TourDeFlex/TourDeFlex3/src/containers/SimpleBoxExample.mxml
new file mode 100755
index 0000000..bd9931a
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/containers/SimpleBoxExample.mxml
@@ -0,0 +1,46 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the Box layout container. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Panel title="Box Container Example" height="75%" width="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Label width="100%" color="blue"
+ text="A Box container with vertically aligned children."/>
+ <mx:Box direction="vertical" borderStyle="solid"
+ paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
+ <mx:Button label="Button 1"/>
+ <mx:Button label="Button 2"/>
+ <mx:Button label="Button 3"/>
+ <mx:ComboBox/>
+ </mx:Box>
+
+ <mx:Label width="100%" color="blue"
+ text="A Box container with horizontally aligned children."/>
+ <mx:Box direction="horizontal" borderStyle="solid"
+ paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
+ <mx:Button label="Button 1"/>
+ <mx:Button label="Button 2"/>
+ <mx:Button label="Button 3"/>
+ <mx:ComboBox/>
+ </mx:Box>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/containers/SimpleCanvasExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/containers/SimpleCanvasExample.mxml b/TourDeFlex/TourDeFlex3/src/containers/SimpleCanvasExample.mxml
new file mode 100755
index 0000000..786f222
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/containers/SimpleCanvasExample.mxml
@@ -0,0 +1,45 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the Canvas layout container.-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Panel title="Canvas Container Example" height="95%" width="95%"
+ paddingTop="5" paddingLeft="5" paddingRight="5" paddingBottom="5">
+
+ <mx:Label width="100%" color="blue"
+ text="Use absolute positioning to place the children of a Canvas container."/>
+
+ <mx:Canvas borderStyle="solid" height="200" width="100%">
+
+ <!-- Stagger the position of the TextInput controls using absolute positioning.-->
+ <mx:TextInput width="100" x="50" y="5"/>
+ <mx:TextInput width="100" x="100" y="30"/>
+ <mx:TextInput width="100" x="150" y="55"/>
+
+ <!-- Overlap the VBox containers using layout constraints.-->
+ <mx:VBox right="115" bottom="50" width="75" height="75" backgroundColor="#0080C0"/>
+ <mx:VBox right="70" bottom="30" width="75" height="75" backgroundColor="#FFFF80"/>
+ <mx:VBox right="25" bottom="10" width="75" height="75" backgroundColor="#8080C0" alpha="0.8"/>
+
+ <mx:Text right="25" y="110"
+ text="The Canvas container lets you place components on top of each other."/>
+ </mx:Canvas>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/containers/SimpleControlBarExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/containers/SimpleControlBarExample.mxml b/TourDeFlex/TourDeFlex3/src/containers/SimpleControlBarExample.mxml
new file mode 100755
index 0000000..5652152
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/containers/SimpleControlBarExample.mxml
@@ -0,0 +1,41 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the ControlBar container. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Panel title="ControlBar Container Example" width="75%" height="75%"
+ paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
+
+ <mx:HBox width="100%" height="100%">
+ <!-- Area for your catalog. -->
+ <mx:Image source="@Embed(source='assets/Nokia_6630.png')" width="50%" height="100%"/>
+ <mx:Text width="50%" color="blue"
+ text="The ControlBar container in this example adds a Label, NumericStepper, Spacer, and Button control to the bottom of the Panel container."/>
+ </mx:HBox>
+
+ <mx:ControlBar>
+ <mx:Label text="Quantity"/>
+ <mx:NumericStepper/>
+ <!-- Use Spacer to push Button control to the right. -->
+ <mx:Spacer width="100%"/>
+ <mx:Button label="Add to Cart"/>
+ </mx:ControlBar>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/containers/SimplePanelExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/containers/SimplePanelExample.mxml b/TourDeFlex/TourDeFlex3/src/containers/SimplePanelExample.mxml
new file mode 100755
index 0000000..0e93794
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/containers/SimplePanelExample.mxml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate Panel layout container. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ private function showProperties():void {
+ panelPropertyArea.text= "Status: " + panel.status + '\n' +
+ "Title: " + panel.title + '\n' +
+ "Width: " + panel.width + '\n' +
+ "Height: " + panel.height ;
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:Panel id="panel" title="Panel Container Example" status="Active"
+ height="75%" width="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Label width="100%" color="blue"
+ text="Click the Button control to see panel properties."/>
+
+ <mx:TextArea id="panelPropertyArea" width="100%" height="100%"/>
+ <mx:Button label="Click to view Panel properties" click="showProperties();"/>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/containers/SimpleTitleWindowExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/containers/SimpleTitleWindowExample.mxml b/TourDeFlex/TourDeFlex3/src/containers/SimpleTitleWindowExample.mxml
new file mode 100755
index 0000000..e7a7b7d
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/containers/SimpleTitleWindowExample.mxml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple custom MXML TitleWindow component.
+ The TitleWindowApp application displays this component.
+ You cannot run it independently. -->
+
+<mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml"
+ title="Title Window" x="168" y="86">
+
+ <mx:Script>
+ <![CDATA[
+ import mx.managers.PopUpManager;
+ import mx.controls.Text;
+
+ // A reference to the TextInput control in which to put the result.
+ public var loginName:Text;
+
+ // Event handler for the OK button.
+ private function returnName():void {
+ loginName.text="Name entered: " + userName.text;
+ PopUpManager.removePopUp(this);
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:HBox>
+ <mx:Label text="Enter Name: "/>
+ <mx:TextInput id="userName" width="100%"/>
+ </mx:HBox>
+
+ <mx:HBox>
+ <mx:Button label="OK" click="returnName();"/>
+ <mx:Button label="Cancel" click="PopUpManager.removePopUp(this);"/>
+ </mx:HBox>
+
+</mx:TitleWindow>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/containers/TabNavigatorExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/containers/TabNavigatorExample.mxml b/TourDeFlex/TourDeFlex3/src/containers/TabNavigatorExample.mxml
new file mode 100755
index 0000000..13af960
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/containers/TabNavigatorExample.mxml
@@ -0,0 +1,54 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the TabNavigator layout container. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Panel title="TabNavigator Container Example" height="90%" width="90%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Label width="100%" color="blue"
+ text="Select the tabs to change the panel."/>
+
+ <mx:TabNavigator id="tn" width="100%" height="100%">
+ <!-- Define each panel using a VBox container. -->
+
+ <mx:VBox label="Panel 1">
+ <mx:Label text="TabNavigator container panel 1"/>
+ </mx:VBox>
+
+ <mx:VBox label="Panel 2">
+ <mx:Label text="TabNavigator container panel 2"/>
+ </mx:VBox>
+
+ <mx:VBox label="Panel 3">
+ <mx:Label text="TabNavigator container panel 3"/>
+ </mx:VBox>
+ </mx:TabNavigator>
+
+ <mx:Label width="100%" color="blue"
+ text="Programmatically select the panel using a Button control."/>
+
+ <mx:HBox>
+ <mx:Button label="Select Tab 1" click="tn.selectedIndex=0"/>
+ <mx:Button label="Select Tab 2" click="tn.selectedIndex=1"/>
+ <mx:Button label="Select Tab 3" click="tn.selectedIndex=2"/>
+ </mx:HBox>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/containers/TileLayoutExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/containers/TileLayoutExample.mxml b/TourDeFlex/TourDeFlex3/src/containers/TileLayoutExample.mxml
new file mode 100755
index 0000000..c1ec262
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/containers/TileLayoutExample.mxml
@@ -0,0 +1,42 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the Tile layout container. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Panel title="Tile Container Example" height="75%" width="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Label width="100%" color="blue"
+ text="A Tile container lays out its children in a grid of equal-sized cells."/>
+
+ <mx:Tile direction="horizontal" borderStyle="inset"
+ horizontalGap="10" verticalGap="15"
+ paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
+
+ <mx:Button label="1" height="50" width="75"/>
+ <mx:Button label="2" height="50" width="75"/>
+ <mx:Button label="3" height="50" width="75"/>
+ <mx:Button label="4" height="50" width="75"/>
+ <mx:Button label="5" height="50" width="75"/>
+ <mx:Button label="6" height="50" width="75"/>
+
+ </mx:Tile>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/containers/TitleWindowApp.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/containers/TitleWindowApp.mxml b/TourDeFlex/TourDeFlex3/src/containers/TitleWindowApp.mxml
new file mode 100755
index 0000000..9137cf3
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/containers/TitleWindowApp.mxml
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<!-- Main application to demonstrate TitleWindow layout container. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ import mx.managers.PopUpManager;
+ import mx.containers.TitleWindow;
+ import flash.geom.Point;
+
+ private var point1:Point = new Point();
+
+ // Open the TitleWindow container.
+ // Cast the return value of the createPopUp() method
+ // to SimpleTitleWindowExample, the name of the
+ // component containing the TitleWindow container.
+ private function showWindow():void {
+ var login:SimpleTitleWindowExample=SimpleTitleWindowExample(PopUpManager.createPopUp( this, SimpleTitleWindowExample , true));
+
+ // Calculate position of TitleWindow in Application's coordinates.
+ // Position it 25 pixels down and to the right of the Button control.
+ point1.x=0;
+ point1.y=0;
+ point1=myButton.localToGlobal(point1);
+ login.x=point1.x+25;
+ login.y=point1.y+25;
+
+ // Pass a reference to the TextInput control
+ // to the TitleWindow container so that the
+ // TitleWindow container can return data to the main application.
+ login.loginName=returnedName;
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:Panel title="TitleWindow Container Example" height="75%" width="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Button id="myButton" label="Click to open the TitleWindow container"
+ click="showWindow();"/>
+
+ <mx:Text id="returnedName" text="" width="100%"/>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
[34/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/data/objects-web.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/data/objects-web.xml b/TourDeFlex/TourDeFlex/src/data/objects-web.xml
new file mode 100644
index 0000000..50032eb
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/data/objects-web.xml
@@ -0,0 +1,5815 @@
+<!--
+
+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.
+
+-->
+<Objects version="2009-04-05" searchTags="uicontrol,input,container,effect,transition,date,number,string,navigator,formatter,validator,chart,visualization,map,data,blazeds,lcds,api,cloud,air,technique" searchTagsTotals="48,6,21,32,2,6,5,18,7,7,11,23,20,13,30,13,13,14,14,21,25">
+ <Category name="Introduction to Flex">
+ <Object id="90000" name="What's Flex" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="What's Flex - from Flex.org">
+ <Illustrations>
+ <Illustration name="What's Flex" path="http://tourdeflex.adobe.com/introduction/whatsflex.html" openLinksExternal="true" autoExpand="true">
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="90005" name="What's Possible" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="What's Flex - from Flex.org">
+ <Illustrations>
+ <Illustration name="What's Possible (showcase)" path="http://tourdeflex.adobe.com/introduction/whatspossible.html" openLinksExternal="true" autoExpand="true">
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="90010" name="Get Started" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="What's Flex - from Flex.org">
+ <Illustrations>
+ <Illustration name="Get Started" path="http://tourdeflex.adobe.com/introduction/getstarted.html" openLinksExternal="true" autoExpand="true">
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="90015" name="Flex Resources" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="What's Flex - from Flex.org">
+ <Illustrations>
+ <Illustration name="Flex Resources" path="http://tourdeflex.adobe.com/introduction/resources.html" openLinksExternal="true" autoExpand="true">
+ </Illustration>
+ </Illustrations>
+ </Object>
+ </Category>
+ <Category name="Flex 4">
+ <Object id="700001" name="Read Me" iconPath="http://tourdeflex.adobe.com/samples/common/adobe.png" author="Holly Schinsky" tags="readme">
+ <Illustrations>
+ <Illustration name="Read Me" path="http://tourdeflex.adobe.com/flex4samples/flex4-readme-new.html" autoExpand="true" openLinksExternal="true"/>
+ </Illustrations>
+ </Object>
+ <Category name="Components">
+ <Category name="Controls">
+ <Object id="70030" name="AdvancedDataGrid" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/AdvancedDataGrid.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - AdvancedDataGrid">
+ <Illustrations>
+ <Illustration name="AdvancedDataGrid" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-AdvancedDataGrid/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-AdvancedDataGrid/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-AdvancedDataGrid/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=AdvancedDataGrid" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30600" name="Button" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Button.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Button">
+ <Illustrations>
+ <Illustration name="Button" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/Button/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/Button/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/Button/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=Button" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30700" name="ButtonBar" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ButtonBar.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ButtonBar">
+ <Illustrations>
+ <Illustration name="ButtonBar" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/ButtonBar/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/ButtonBar/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/ButtonBar/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=ButtonBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30300" name="CheckBox" author="Holly Schinsky/Adobe" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/CheckBox.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - CheckBox">
+ <Illustrations>
+ <Illustration name="CheckBox" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/CheckBox/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/CheckBox/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/CheckBox/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=CheckBox" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70260" name="ColorPicker" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ColorPicker.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ColorPicker">
+ <Illustrations>
+ <Illustration name="ColorPicker" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ColorPicker/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ColorPicker/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ColorPicker/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=ColorPicker" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30305" name="ComboBox" author="Holly Schinsky/Adobe" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ComboBox.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ComboBox">
+ <Illustrations>
+ <Illustration name="ComboBox" path="http://tourdeflex.adobe.com/flex4.0/ComboBox/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/ComboBox/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/ComboBox/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=ComboBox" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70040" name="DataGrid" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/DataGrid.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DataGrid">
+ <Illustrations>
+ <Illustration name="DataGrid" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DataGrid/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DataGrid/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DataGrid/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=DataGrid" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70050" name="DateChooser" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/DateChooser.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DateChooser">
+ <Illustrations>
+ <Illustration name="DateChooser" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateChooser/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateChooser/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateChooser/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=DateChooser" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70060" name="DateField" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/DateField.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DateField">
+ <Illustrations>
+ <Illustration name="DateField" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateField/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateField/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateField/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=DateField" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30400" name="DropDownList" author="Holly Schinsky/Adobe" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/DropDownList.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DropDownList">
+ <Illustrations>
+ <Illustration name="DropDownList" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/DropDownList/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/DropDownList/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/DropDownList/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/component&topic=DropDownList" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70090" name="Image" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Image.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Image">
+ <Illustrations>
+ <Illustration name="Image" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Image/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Image/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Image/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=Image" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70100" name="LinkButton" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/LinkButton.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - LinkButton">
+ <Illustrations>
+ <Illustration name="LinkButton" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LinkButton/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LinkButton/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LinkButton/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=LinkButton" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30800" name="List" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/List.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - List">
+ <Illustrations>
+ <Illustration name="List" path="http://tourdeflex.adobe.com/flex4samples/UIControls/TreeListAndGridControls/List/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/TreeListAndGridControls/List/srcview/source/sample.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/UIControls/TreeListAndGridControls/List/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=List" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30805" name="Menu" author="Holly Schinsky/Adobe" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Menu.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Menu">
+ <Illustrations>
+ <Illustration name="Menu" path="http://tourdeflex.adobe.com/flex4.0/Menu/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Menu/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Menu/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=Menu" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30200" name="NumericStepper" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/NumericStepper.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - NumericStepper">
+ <Illustrations>
+ <Illustration name="NumericStepper" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/NumericStepper/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/NumericStepper/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/NumericStepper/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=NumericStepper" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70110" name="OLAPDataGrid" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/OLAPDataGrid/OLAPDataGrid.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - OLAPDataGrid">
+ <Illustrations>
+ <Illustration name="OLAPDataGrid" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-OLAPDataGrid/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-OLAPDataGrid/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-OLAPDataGrid/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=OLAPDataGrid" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30720" name="PopUpAnchor" author="Holly Schinsky" dateAdded="2009-09-21" downloadPath="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/srcview/Sample-Flex4-PopUpAnchor.zip" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Button.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Popup Anchor">
+ <Illustrations>
+ <Illustration name="PopUpAnchor" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="CloseButtonSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/srcview/source/skins/CloseButtonSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=PopUpAnchor" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ <Illustration name="PopUpAnchor2" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/sample2.html">
+ <Documents>
+ <Document name="sample2.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/srcview/source/sample2.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=PopUpAnchor" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70120" name="PopUpButton" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/PopUpButton/PopUpButton.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - PopUpButton">
+ <Illustrations>
+ <Illustration name="PopUpButton" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PopUpButton/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PopUpButton/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PopUpButton/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=PopUpButton" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70130" name="ProgressBar" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ProgressBar.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ProgressBar">
+ <Illustrations>
+ <Illustration name="ProgressBar" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ProgressBar/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ProgressBar/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ProgressBar/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=ProgressBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30100" name="RadioButton" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/RadioButton.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - RadioButton">
+ <Illustrations>
+ <Illustration name="RadioButton" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/RadioButton/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/RadioButton/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/RadioButton/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=RadioButton" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30105" name="RichEditableText" author="Holly Schinsky/Adobe" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/RichEditableText.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - RichEditableText">
+ <Illustrations>
+ <Illustration name="RichEditableText" path="http://tourdeflex.adobe.com/flex4.0/RichEditableText/sample.swf">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/RichEditableText/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/RichEditableText/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=RichEditableText" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30107" name="RichText" author="Holly Schinsky/Adobe" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/RichText.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - RichText">
+ <Illustrations>
+ <Illustration name="RichText" path="http://tourdeflex.adobe.com/flex4.0/FXG/RichText/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/RichText/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/RichText/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=RichText" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30910" name="ScrollBar (2)" author="Holly Schinsky" dateAdded="2009-09-21" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Scroller.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ScrollBar">
+ <Illustrations>
+ <Illustration name="ScrollBar" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/ScrollBar/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/ScrollBar/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/ScrollBar/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="HScrollBar Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=VScrollBar" openLinksExternal="true"/>
+ <Document name="VScrollBar Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=HScrollBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ <Illustration name="HScrollBar/VScrollBar" path="http://tourdeflex.adobe.com/flex4.0/ScrollBars/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/ScrollBars/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/ScrollBars/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="HScrollBar Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=VScrollBar" openLinksExternal="true"/>
+ <Document name="VScrollBar Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=HScrollBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31000" name="Scroller (2)" author="Peter DeHaan/Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Scroller.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Scroller">
+ <Illustrations>
+ <Illustration name="Scroller Viewport" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Scroller/sample1.html">
+ <Documents>
+ <Document name="sample1.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Scroller/srcview/source/sample1.mxml.html"/>
+ <Document name="MyPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Scroller/srcview/source/skins/MyPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=Scroller" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ <Illustration name="Scroller Child Tabbing" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Scroller/sample2.html">
+ <Documents>
+ <Document name="sample2.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Scroller/srcview/source/sample2.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Scroller/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=Scroller" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30915" name="Slider" author="Holly Schinsky" dateAdded="2009-09-21" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/VSlider.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Slider">
+ <Illustrations>
+ <Illustration name="Slider" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Slider/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Slider/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Slider/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="VSlider Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=VSlider" openLinksExternal="true"/>
+ <Document name="HSlider Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=HSlider" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30925" name="Spinner" author="Holly Schinsky" dateAdded="2009-10-20" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Spinner.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Spinner">
+ <Illustrations>
+ <Illustration name="Spinner" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Spinner/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Spinner/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Spinner/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=Spinner" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70140" name="SWFLoader" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/SWFLoader.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SWFLoader">
+ <Illustrations>
+ <Illustration name="SWFLoader" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SWFLoader/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SWFLoader/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SWFLoader/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=SWFLoader" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30926" name="TabBar" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TabBar.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - TabBar">
+ <Illustrations>
+ <Illustration name="TabBar" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/srcview/source/sample1.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/srcview/index.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=TabBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30928" name="TextArea" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TextArea.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - TextArea">
+ <Illustrations>
+ <Illustration name="TextArea" path="http://tourdeflex.adobe.com/flex4.0/TextArea/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/TextArea/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/TextArea/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=TextArea" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30930" name="TextInput" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TextInput.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - TextInput">
+ <Illustrations>
+ <Illustration name="TextInput" path="http://tourdeflex.adobe.com/flex4.0/TextInput/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/TextInput/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/TextInput/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=TextInput" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30500" name="ToggleButton" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ToggleButton.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ToggleButton">
+ <Illustrations>
+ <Illustration name="ToggleButton" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/ToggleButton/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/ToggleButton/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/ToggleButton/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=ToggleButton" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70150" name="Tree" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Tree.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Tree">
+ <Illustrations>
+ <Illustration name="Tree" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Tree/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Tree/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Tree/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=ToggleButton" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70160" name="VideoDisplay" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/VideoDisplay.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - VideoDisplay">
+ <Illustrations>
+ <Illustration name="VideoDisplay" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-VideoDisplay/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-VideoDisplay/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-VideoDisplay/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=VideoDisplay" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30900" name="VideoPlayer" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/VideoPlayer.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - VideoPlayer">
+ <Illustrations>
+ <Illustration name="VideoPlayer" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/VideoPlayer/sample1.html">
+ <Documents>
+ <Document name="sample1.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/VideoPlayer/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/VideoPlayer/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=VideoPlayer" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ </Category>
+ <Category name="Layout">
+ <Object id="31099" name="Read Me" iconPath="http://tourdeflex.adobe.com/samples/common/adobe.png" author="Holly Schinsky" tags="readme">
+ <Illustrations>
+ <Illustration name="Read Me" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/groups-containers-readme.html" autoExpand="true" openLinksExternal="true"/>
+ </Illustrations>
+ </Object>
+ <Object id="31100" name="BorderContainer" author="Holly Schinsky" dateAdded="2009-09-10" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/BorderContainer.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - BorderContainer">
+ <Illustrations>
+ <Illustration name="BorderContainer" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/Border/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/Border/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/Border/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=BorderContainer" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31105" name="DataGroup" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/DataGroup.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DataGroup">
+ <Illustrations>
+ <Illustration name="DataGroup" path="http://tourdeflex.adobe.com/flex4.0/DataGroup/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/DataGroup/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/DataGroup/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=DataGroup" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70000" name="Form" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Form.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Form">
+ <Illustrations>
+ <Illustration name="Form" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Form/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Form/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Form/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/containers&topic=Form" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31110" name="HGroup/VGroup (3)" author="Holly Schinsky/Evtim Georgiev" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/HGroup.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - HGroup/VGroup">
+ <Illustrations>
+ <Illustration name="HGroup" path="http://tourdeflex.adobe.com/flex4.0/Group-HGroup-VGroup/SampleHGroup.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Group-HGroup-VGroup/srcview/source/SampleHGroup.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Group-HGroup-VGroup/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=HGroup" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ <Illustration name="VGroup" path="http://tourdeflex.adobe.com/flex4.0/Group-HGroup-VGroup/SampleVGroup.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Group-HGroup-VGroup/srcview/source/SampleVGroup.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Group-HGroup-VGroup/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=VGroup" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ <Illustration name="Group Axis Alignment" path="http://tourdeflex.adobe.com/flex4.0/Groups-verticalAlign-horizontalAlign-forLayout/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Groups-verticalAlign-horizontalAlign-forLayout/srcview/source/sample.mxml.html"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31150" name="Panel" author="Holly Schinsky" dateAdded="2009-09-10" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Panel.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Panel">
+ <Illustrations>
+ <Illustration name="Panel" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/Panel/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/Panel/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/Panel/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=Panel" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31720" name="SkinnableContainer" author="Holly Schinsky" dateAdded="2009-11-16" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/SkinnableContainer.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SkinnableContainer">
+ <Illustrations>
+ <Illustration name="SkinnableContainer" path="http://tourdeflex.adobe.com/flex4samples/Skinning/SkinningContainer/sample.html">
+ <Documents>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/Skinning/SkinningContainer/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=SkinnableContainer" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31725" name="SkinnableDataContainer" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/SkinnableDataContainer.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SkinnableContainer">
+ <Illustrations>
+ <Illustration name="SkinnableDataContainer" path="http://tourdeflex.adobe.com/flex4.0/SkinnableDataContainer/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/SkinnableDataContainer/srcview/source/sample.mxml.html" openLinksExternal="true"/>
+ <Document name="TDFPanelSkin" path="http://tourdeflex.adobe.com/flex4.0/SkinnableDataContainer/srcview/source/skins/TDFPanelSkin.mxml.html" openLinksExternal="true"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4.0/SkinnableDataContainer/srcview/" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=SkinnableDataContainer" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31160" name="Tabbed Navigation (2)" author="Holly Schinsky" dateAdded="2009-11-16" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TabNavigator.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Tabbed Navigation">
+ <Illustrations>
+ <Illustration name="Tabbed Navigation" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/sample1.html">
+ <Documents>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/srcview/index.html" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ <Illustration name="Custom Tabs" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/sample2.html">
+ <Documents>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/srcview/index.html" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31165" name="TileGroup" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TileGroup.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - TileGroup">
+ <Illustrations>
+ <Illustration name="TileGroup" path="http://tourdeflex.adobe.com/flex4.0/TileGroup/TileGroupSample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/TileGroup/srcview/source/TileGroupSample.mxml.html" openLinksExternal="true"/>
+ <Document name="TDFPanelSkin" path="http://tourdeflex.adobe.com/flex4.0/TileGroup/srcview/source/skins/TDFPanelSkin.mxml.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=TileGroup" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70020" name="TitleWindow" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TitleWindow.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - TitleWindow">
+ <Illustrations>
+ <Illustration name="TitleWindow" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-TitleWindow/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-TitleWindow/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-TitleWindow/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=TitleWindow" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ </Category>
+ <Category name="Navigators">
+ <Object id="70170" name="Accordion" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Accordion.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Accordion">
+ <Illustrations>
+ <Illustration name="Accordion" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Accordion/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Accordion/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Accordion/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/containers&topic=Accordion" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70180" name="LinkBar" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/LinkBar.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - LinkBar">
+ <Illustrations>
+ <Illustration name="LinkBar" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LinkBar/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LinkBar/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LinkBar/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/containers&topic=LinkBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70190" name="TabNavigator" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TabNavigator.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - TabNavigator">
+ <Illustrations>
+ <Illustration name="TabNavigator" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-TabNavigator/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-TabNavigator/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-TabNavigator/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/containers&topic=TabNavigator" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70200" name="ToggleButtonBar" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/ToggleButtonBar/ButtonBar.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ToggleButtonBar">
+ <Illustrations>
+ <Illustration name="ToggleButtonBar" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ToggleButtonBar/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ToggleButtonBar/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ToggleButtonBar/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=ToggleButtonBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70210" name="ViewStack" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ViewStack.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ViewStack">
+ <Illustrations>
+ <Illustration name="ViewStack" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ViewStack/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ViewStack/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ViewStack/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/containers&topic=ViewStack" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ </Category>
+ <Category name="Charts">
+ <Object id="70220" name="AreaChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/AreaChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - AreaChart">
+ <Illustrations>
+ <Illustration name="AreaChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-AreaChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-AreaChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-AreaChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=AreaChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70230" name="BarChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/BarChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - BarChart">
+ <Illustrations>
+ <Illustration name="BarChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-BarChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-BarChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-BarChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=BarChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70240" name="BubbleChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/BubbleChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - BubbleChart">
+ <Illustrations>
+ <Illustration name="BubbleChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-BubbleChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-BubbleChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-BubbleChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=BubbleChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70250" name="CandlestickChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/CandlestickChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - CandlestickChart">
+ <Illustrations>
+ <Illustration name="CandlestickChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-CandlestickChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-CandlestickChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-CandlestickChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=CandlestickChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70270" name="ColumnChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ColumnChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ColumnChart">
+ <Illustrations>
+ <Illustration name="ColumnChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ColumnChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ColumnChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ColumnChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=ColumnChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70280" name="HLOCChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/HLOCChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - HLOCChart">
+ <Illustrations>
+ <Illustration name="HLOCChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-HLOCChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-HLOCChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-HLOCChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=HLOCChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70290" name="LineChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/LineChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - LineChart">
+ <Illustrations>
+ <Illustration name="LineChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LineChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LineChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LineChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=LineChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70300" name="PieChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/PieChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - PieChart">
+ <Illustrations>
+ <Illustration name="PieChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PieChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PieChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PieChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=PieChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70310" name="PlotChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/PlotChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - PlotChart">
+ <Illustrations>
+ <Illustration name="PlotChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PlotChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PlotChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PlotChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=PlotChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Category name="Charting Effects">
+ <Object id="70320" name="SeriesInterpolate" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SeriesInterpolate/Effects.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SeriesInterploate">
+ <Illustrations>
+ <Illustration name="SeriesInterpolate" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesInterploate/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesInterploate/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesInterploate/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts/effects&topic=SeriesInterpolate" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70330" name="SeriesSlide" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SeriesSlide/Effects.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SeriesSlide">
+ <Illustrations>
+ <Illustration name="SeriesSlide" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesSlide/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesSlide/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesSlide/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts/effects&topic=SeriesSlide" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70340" name="SeriesZoom" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SeriesZoom/Effects.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SeriesZoom">
+ <Illustrations>
+ <Illustration name="SeriesZoom" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesZoom/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesZoom/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesZoom/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts/effects&topic=SeriesZoom" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ </Category>
+ </Category>
+ <Category name="Graphics">
+ <Object id="31799" name="Read Me" iconPath="http://tourdeflex.adobe.com/samples/common/adobe.png" author="Holly Schinsky" tags="readme">
+ <Illustrations>
+ <Illustration name="Read Me" path="http://tourdeflex.adobe.com/flex4samples/Graphics/fxg-readme.html" autoExpand="true" openLinksExternal="true"/>
+ </Illustrations>
+ </Object>
+ <Object id="31805" name="BitmapImage" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - BitmapImage">
+ <Illustrations>
+ <Illustration name="BitmapImage" path="http://tourdeflex.adobe.com/flex4.0/FXG/BitmapImage/BitmapImageExample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/BitmapImage/srcview/source/BitmapImageExample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/BitmapImage/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4.0/FXG/BitmapImage/srcview/index.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/primitives&topic=BitmapImage" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31800" name="DropShadow Graphic" author="Joan Lafferty" dateAdded="2009-09-04" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DropShadowGraphic">
+ <Illustrations>
+ <Illustration name="DropShadow Graphic" path="http://tourdeflex.adobe.com/flex4samples/Graphics/DropShadowGraphic/DropShadowGraphicExample.html">
+ <Documents>
+ <Document name="DropShadowGraphicExample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/DropShadowGraphic/srcview/source/DropShadowGraphicExample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/DropShadowGraphic/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=flash/filters&topic=DropShadowFilter" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31885" name="Ellipse" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Ellipse">
+ <Illustrations>
+ <Illustration name="Ellipse" path="http://tourdeflex.adobe.com/flex4.0/FXG/Ellipse/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/Ellipse/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/Ellipse/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/primitives&topic=Ellipse" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31900" name="Ellipse Transform" author="Joan Lafferty" dateAdded="2009-09-04" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - EllipseTransform">
+ <Illustrations>
+ <Illustration name="Ellipse Transform" path="http://tourdeflex.adobe.com/flex4samples/Graphics/EllipseTransform/EllipseTransformExample.html">
+ <Documents>
+ <Document name="EllipseTransformExample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/EllipseTransform/srcview/source/EllipseTransformExample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/EllipseTransform/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/primitives&topic=Ellipse" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31905" name="Line" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Line">
+ <Illustrations>
+ <Illustration name="Line" path="http://tourdeflex.adobe.com/flex4.0/FXG/Line/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/Line/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/Line/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/primitives&topic=Line" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="32000" name="Linear Gradient Spread" author="Joan Lafferty" dateAdded="2009-09-04" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - LinearGradientSpreadMethod">
+ <Illustrations>
+ <Illustration name="LinearGradient Spread" path="http://tourdeflex.adobe.com/flex4samples/Graphics/LinearGradientSpread/LinearGradientsSpreadMethodExample.html">
+ <Documents>
+ <Document name="LinearGradientSpreadMethodExample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/LinearGradientSpread/srcview/source/LinearGradientsSpreadMethodExample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/LinearGradientSpread/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/graphics&topic=LinearGradient" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="32100" name="Static FXG" author="Joan Lafferty" dateAdded="2009-09-04" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Static FXG">
+ <Illustrations>
+ <Illustration name="Static FXG" path="http://tourdeflex.adobe.com/flex4samples/Graphics/StaticFXG/StaticFXG_Sample.html">
+ <Documents>
+ <Document name="StaticFXG_Sxample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/StaticFXG/srcview/source/StaticFXG_Sample.mxml.html"/>
+ <Document name="OrangeCrayonStar.fxg" path="http://tourdeflex.adobe.com/flex4samples/Graphics/StaticFXG/srcview/source/OrangeCrayonStar.fxg"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/StaticFXG/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ </Category>
+ <Category name="Effects">
+ <Object id="31199" name="Read Me" iconPath="http://tourdeflex.adobe.com/samples/common/adobe.png" author="Holly Schinsky" tags="readme">
+ <Illustrations>
+ <Illustration name="Read Me" path="http://tourdeflex.adobe.com/flex4samples/Effects/effects-readme.html" autoExpand="true" openLinksExternal="true"/>
+ </Illustrations>
+ </Object>
+ <Object id="31202" name="AnimateProperties" author="David Flatley" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - AnimateProperties">
+ <Illustrations>
+ <Illustration name="AnimateProperties" path="http://tourdeflex.adobe.com/flex4samples/Effects/AnimateProperties/Sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/AnimateProperties/srcview/source/Sample.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/Effects/AnimateProperties/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=Animate" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31205" name="AnimateTransitionShader" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - AnimateTransitionShader - Bounce">
+ <Illustrations>
+ <Illustration name="AnimateTransitionShader" path="http://tourdeflex.adobe.com/flex4.0/AnimateShaderTransitionEffect/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/AnimateShaderTransitionEffect/srcview/source/sample.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4.0/AnimateShaderTransitionEffect/srcview/" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=AnimateTransitionShader" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31200" name="AnimateTransform" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - AnimateTransform - Bounce">
+ <Illustrations>
+ <Illustration name="AnimateTransform" path="http://tourdeflex.adobe.com/flex4samples/Effects/AnimateTransform-Bounce/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/AnimateTransform-Bounce/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/AnimateTransform-Bounce/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=AnimateTransform" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31250" name="Fade" author="Holly Schinsky" dateAdded="2009-10-20" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Fade Effect">
+ <Illustrations>
+ <Illustration name="Fade" path="http://tourdeflex.adobe.com/flex4samples/Effects/Fade/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/Fade/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/Fade/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/Effects/Fade/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=Fade" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31253" name="CrossFade" author="Holly Schinsky" dateAdded="2009-10-20" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Cross Fade Effect">
+ <Illustrations>
+ <Illustration name="CrossFade" path="http://tourdeflex.adobe.com/flex4samples/Effects/CrossFade/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/CrossFade/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/CrossFade/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/Effects/CrossFade/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=CrossFade" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31256" name="Move3D" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Move3D Effect">
+ <Illustrations>
+ <Illustration name="Move3D" path="http://tourdeflex.adobe.com/flex4.0/Move3D/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Move3D/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Move3D/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4.0/Move3D/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=Move3D" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31300" name="Rotate3D" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Rotate3D">
+ <Illustrations>
+ <Illustration name="Rotate3D" path="http://tourdeflex.adobe.com/flex4samples/Effects/Rotate3D/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/Rotate3D/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/Rotate3D/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=Rotate3D" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31400" name="Scale3D" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Scale3D">
+ <Illustrations>
+ <Illustration name="Scale3D" path="http://tourdeflex.adobe.com/flex4samples/Effects/Scale3D/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/Scale3D/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/Rotate3D/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=Scale3D" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31405" name="Wipe" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Move3D Effect">
+ <Illustrations>
+ <Illustration name="Wipe" path="http://tourdeflex.adobe.com/flex4.0/Wipe/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Wipe/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Wipe/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4.0/Wipe/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=Wipe" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ </Category>
+ <Category name="Formatters">
+ <Object id="70440" name="Formatter" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/Formatter/formattericon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Formatter">
+ <Illustrations>
+ <Illustration name="Formatter" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Formatter/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Formatter/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Formatter/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/formatters&topic=Formatter" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70450" name="CurrencyFormatter" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/Formatter/formattericon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - CurrencyFormatter">
+ <Illustrations>
+ <Illustration name="CurrencyFormatter" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-CurrencyFormatter/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-CurrencyFormatter/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-CurrencyFormatter/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/formatters&topic=CurrencyFormatter" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70070" name="DateFormatter" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/Formatter/formattericon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DateFormatter">
+ <Illustrations>
+ <Illustration name="DateFormatter" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateFormatter/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateFormatter/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateFormatter/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/formatters&topic=DateFormatter" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70460" name="NumberFormatter" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/Formatter/formattericon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - NumberFormatter">
+ <Illustrations>
+ <Illustration name="NumberFormatter" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-NumberFormatter/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-NumberFormatter/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-NumberFormatter/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/formatters&topic=NumberFormatter" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70470" name="PhoneFormatter" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/Formatter/formattericon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - PhoneFormatter">
+ <Illustrations>
+ <Illustration name="PhoneFormatter" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PhoneFormatter/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PhoneFormatter/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PhoneFormatter/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/formatters&topic=PhoneFormatter" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70480" name="SwitchSymbolFormatter" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/Formatter/formattericon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SwitchSymbolFormatter">
+ <Illustrations>
+ <Illustration name="SwitchSymbolFormatter" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SwitchSymbolFormatter/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SwitchSymbolFormatter/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SwitchSymbolFormatter/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/formatters&topic=SwitchSymbolFormatter" openLinksExter
<TRUNCATED>
[20/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/SourceTree.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/SourceTree.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/SourceTree.html
new file mode 100644
index 0000000..80281a9
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/SourceTree.html
@@ -0,0 +1,129 @@
+<!--
+ 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.
+-->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!-- saved from url=(0014)about:internet -->
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
+ <!--
+ Smart developers always View Source.
+
+ This application was built using Adobe Flex, an open source framework
+ for building rich Internet applications that get delivered via the
+ Flash Player or to desktops via Adobe AIR.
+
+ Learn more about Flex at http://flex.org
+ // -->
+ <head>
+ <title></title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <!-- Include CSS to eliminate any default margins/padding and set the height of the html element and
+ the body element to 100%, because Firefox, or any Gecko based browser, interprets percentage as
+ the percentage of the height of its parent container, which has to be set explicitly. Initially,
+ don't display flashContent div so it won't show if JavaScript disabled.
+ -->
+ <style type="text/css" media="screen">
+ html, body { height:100%; }
+ body { margin:0; padding:0; overflow:auto; text-align:center;
+ background-color: #ffffff; }
+ #flashContent { display:none; }
+ </style>
+
+ <!-- Enable Browser History by replacing useBrowserHistory tokens with two hyphens -->
+ <!-- BEGIN Browser History required section >
+ <link rel="stylesheet" type="text/css" href="history/history.css" />
+ <script type="text/javascript" src="history/history.js"></script>
+ <! END Browser History required section -->
+
+ <script type="text/javascript" src="swfobject.js"></script>
+ <script type="text/javascript">
+ function loadIntoMain(url) {
+ parent.mainFrame.location.href = url;
+ }
+
+ function openUrlWindow(url) {
+ window.top.location = url;
+ }
+
+ <!-- For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection. -->
+ var swfVersionStr = "10.0.0";
+ <!-- To use express install, set to playerProductInstall.swf, otherwise the empty string. -->
+ var xiSwfUrlStr = "playerProductInstall.swf";
+ var flashvars = {};
+ var params = {};
+ params.quality = "high";
+ params.bgcolor = "#ffffff";
+ params.allowscriptaccess = "sameDomain";
+ params.allowfullscreen = "true";
+ var attributes = {};
+ attributes.id = "SourceTree";
+ attributes.name = "SourceTree";
+ attributes.align = "middle";
+ swfobject.embedSWF(
+ "SourceTree.swf", "flashContent",
+ "100%", "100%",
+ swfVersionStr, xiSwfUrlStr,
+ flashvars, params, attributes);
+ <!-- JavaScript enabled so display the flashContent div in case it is not replaced with a swf object. -->
+ swfobject.createCSS("#flashContent", "display:block;text-align:left;");
+ </script>
+ </head>
+ <body>
+ <!-- SWFObject's dynamic embed method replaces this alternative HTML content with Flash content when enough
+ JavaScript and Flash plug-in support is available. The div is initially hidden so that it doesn't show
+ when JavaScript is disabled.
+ -->
+ <div id="flashContent">
+ <p>
+ To view this page ensure that Adobe Flash Player version
+ 10.0.0 or greater is installed.
+ </p>
+ <script type="text/javascript">
+ var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://");
+ document.write("<a href='http://www.adobe.com/go/getflashplayer'><img src='"
+ + pageHost + "www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' /></a>" );
+ </script>
+ </div>
+
+ <noscript>
+ <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%" id="SourceTree">
+ <param name="movie" value="SourceTree.swf" />
+ <param name="quality" value="high" />
+ <param name="bgcolor" value="#ffffff" />
+ <param name="allowScriptAccess" value="sameDomain" />
+ <param name="allowFullScreen" value="true" />
+ <!--[if !IE]>-->
+ <object type="application/x-shockwave-flash" data="SourceTree.swf" width="100%" height="100%">
+ <param name="quality" value="high" />
+ <param name="bgcolor" value="#ffffff" />
+ <param name="allowScriptAccess" value="sameDomain" />
+ <param name="allowFullScreen" value="true" />
+ <!--<![endif]-->
+ <!--[if gte IE 6]>-->
+ <p>
+ Either scripts and active content are not permitted to run or Adobe Flash Player version
+ 10.0.0 or greater is not installed.
+ </p>
+ <!--<![endif]-->
+ <a href="http://www.adobe.com/go/getflashplayer">
+ <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash Player" />
+ </a>
+ <!--[if !IE]>-->
+ </object>
+ <!--<![endif]-->
+ </object>
+ </noscript>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/index.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/index.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/index.html
new file mode 100644
index 0000000..07fd9e2
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/index.html
@@ -0,0 +1,32 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Source of Sample-AIR2-GlobalExceptionHandler</title>
+</head>
+<frameset cols="235,*" border="2" framespacing="1">
+ <frame src="SourceTree.html" name="leftFrame" scrolling="NO">
+ <frame src="source/sample2.mxml.html" name="mainFrame">
+</frameset>
+<noframes>
+ <body>
+ </body>
+</noframes>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/source/sample1-app.xml.txt
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/source/sample1-app.xml.txt b/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/source/sample1-app.xml.txt
new file mode 100644
index 0000000..75a8a24
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/source/sample1-app.xml.txt
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>main</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>main</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>main</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width in pixels. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height in pixels. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/source/sample1.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/source/sample1.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/source/sample1.mxml.html
new file mode 100644
index 0000000..bd566fb
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/source/sample1.mxml.html
@@ -0,0 +1,72 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>sample1.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ creationComplete="</span><span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"
+ styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">UncaughtErrorEvent</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">controls</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Alert</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">FlexEvent</span>;
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">loaderInfo</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">uncaughtErrorEvents</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">UncaughtErrorEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">UNCAUGHT_ERROR</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">errorHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">errorHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">UncaughtErrorEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">preventDefault</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"An error has occurred and been caught by the global error handler: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">error</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">toString</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptString">"My Global Error Handler"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">overflow</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">overflow</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:Panel</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" skinClass="</span><span class="MXMLString">skins.TDFPanelSkin</span><span class="MXMLDefault_Text">" title="</span><span class="MXMLString">Global Error Handler Sample</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> top="</span><span class="MXMLString">30</span><span class="MXMLDefault_Text">" left="</span><span class="MXMLString">30</span><span class="MXMLDefault_Text">" right="</span><span class="MXMLString">30</span><span class="MXMLDefault_Text">" gap="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> verticalAlign="</span><span class="MXMLString">justify</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">85%</span><span class="MXMLDefault_Text">"
+ text="</span><span class="MXMLString">The Global Error Handler provides a means for you to catch errors at a global level, so you can now catch and handle runtime
+errors that may occur such as a stack overflow. This allows those running the Flash Player runtime version to be notified of the problem through proper handling.
+In this sample an endless loop is intentionally created to cause a stack overflow error to occur. The error is then caught and an alert is shown.</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Click on the button below to create a stack overflow error:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:HGroup></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Invoke Stack Overflow</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">overflow</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+
+ <span class="MXMLComponent_Tag"></s:Panel></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/source/sample2-app.xml.txt
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/source/sample2-app.xml.txt b/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/source/sample2-app.xml.txt
new file mode 100644
index 0000000..3bd1b54
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/source/sample2-app.xml.txt
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>sample2</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>sample2</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>sample2</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width in pixels. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height in pixels. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/source/sample2.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/source/sample2.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/source/sample2.mxml.html
new file mode 100644
index 0000000..545fb92
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/source/sample2.mxml.html
@@ -0,0 +1,88 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>sample2.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ creationComplete="</span><span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"
+ styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">UncaughtErrorEvent</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">controls</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Alert</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">FlexEvent</span>;
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">loaderInfo</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">uncaughtErrorEvents</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">UncaughtErrorEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">UNCAUGHT_ERROR</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">errorHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">errorHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">UncaughtErrorEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">preventDefault</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"An error has occurred and been caught by the global error handler: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">error</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">toString</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptString">"My Global Error Handler"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">loadFileWithHandling</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">f</span>:<span class="ActionScriptDefault_Text">File</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">documentsDirectory</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">resolvePath</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"http://tourdeflex.adobe.com/file-that-doesnt-exist.txt"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptComment">// The above file did not load, so when we try to access a property on it an error will be thrown
+</span> <span class="ActionScriptReserved">try</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"File "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">f</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">creationDate</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">catch</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ex</span>:<span class="ActionScriptDefault_Text">Error</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Error occurred loading files: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">ex</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">message</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptString">"My Specific File Loading Handler"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">loadFileWithoutHandling</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">f</span>:<span class="ActionScriptDefault_Text">File</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">documentsDirectory</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">resolvePath</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"http://tourdeflex.adobe.com/file-that-doesnt-exist.txt"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptComment">// The above file did not load, so when a property is accessed an error will be thrown
+</span> <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"File creation date "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">f</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">creationDate</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:Panel</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" skinClass="</span><span class="MXMLString">skins.TDFPanelSkin</span><span class="MXMLDefault_Text">" title="</span><span class="MXMLString">Global Error Handler Sample</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> top="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">" left="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">" gap="</span><span class="MXMLString">12</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">400</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">justify</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">"
+ text="</span><span class="MXMLString">This sample for showing the Global Error Handling feature tries to load various files from remote locations that it assumes
+are there. In the case where one might have been deleted or corrupt, the error is now caught. Note: any error that is not surrounded by try/catch that occurs
+can be handled in this manner where you have one global error handler for all uncaught errors.</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> bottom="</span><span class="MXMLString">200</span><span class="MXMLDefault_Text">" left="</span><span class="MXMLString">40</span><span class="MXMLDefault_Text">" text="</span><span class="MXMLString">Click on the buttons below to create an error to be handled:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:HGroup</span><span class="MXMLDefault_Text"> bottom="</span><span class="MXMLString">170</span><span class="MXMLDefault_Text">" left="</span><span class="MXMLString">40</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Load File with error handling</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">loadFileWithHandling</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Load File without error handling</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">loadFileWithoutHandling</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+
+ <span class="MXMLComponent_Tag"></s:Panel></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/source/skins/TDFPanelSkin.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/source/skins/TDFPanelSkin.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/source/skins/TDFPanelSkin.mxml.html
new file mode 100644
index 0000000..df79d11
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/source/skins/TDFPanelSkin.mxml.html
@@ -0,0 +1,147 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta http-equiv="Content-Style-Type" content="text/css">
+ <title>TDFPanelSkin.mxml</title>
+ <meta name="Generator" content="Cocoa HTML Writer">
+ <meta name="CocoaVersion" content="1187.4">
+ <style type="text/css">
+ p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier}
+ p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; color: #941100}
+ p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; min-height: 15.0px}
+ p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px}
+ </style>
+</head>
+<body>
+<p class="p1"><?xml version="1.0" encoding="utf-8"?></p>
+<p class="p2"><!--</p>
+<p class="p3"><br></p>
+<p class="p2">Licensed to the Apache Software Foundation (ASF) under one or more</p>
+<p class="p2">contributor license agreements.<span class="Apple-converted-space"> </span>See the NOTICE file distributed with</p>
+<p class="p2">this work for additional information regarding copyright ownership.</p>
+<p class="p2">The ASF licenses this file to You under the Apache License, Version 2.0</p>
+<p class="p2">(the "License"); you may not use this file except in compliance with</p>
+<p class="p2">the License.<span class="Apple-converted-space"> </span>You may obtain a copy of the License at</p>
+<p class="p3"><br></p>
+<p class="p2">http://www.apache.org/licenses/LICENSE-2.0</p>
+<p class="p3"><br></p>
+<p class="p2">Unless required by applicable law or agreed to in writing, software</p>
+<p class="p2">distributed under the License is distributed on an "AS IS" BASIS,</p>
+<p class="p2">WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</p>
+<p class="p2">See the License for the specific language governing permissions and</p>
+<p class="p2">limitations under the License.</p>
+<p class="p3"><br></p>
+<p class="p2">--></p>
+<p class="p4"><br></p>
+<p class="p1"><s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"<span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span>alpha.disabled="0.5" minWidth="131" minHeight="127"></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><fx:Metadata></p>
+<p class="p1"><span class="Apple-converted-space"> </span>[HostComponent("spark.components.Panel")]</p>
+<p class="p1"><span class="Apple-converted-space"> </span></fx:Metadata><span class="Apple-converted-space"> </span></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:states></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normal" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabled" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normalWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabledWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:states></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- drop shadow --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" top="0" right="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:DropShadowFilter blurX="15" blurY="15" alpha="0.18" distance="11" angle="90" knockout="true" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: border --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColorStroke color="0" alpha="0.50" weight="1" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: background fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" height="15"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradient rotation="90"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xE2E2E2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradient></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: contents --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group left="1" right="1" top="1" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:VerticalLayout gap="0" horizontalAlign="justify" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="topGroup" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: title bar fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- Note: We have custom skinned the title bar to be solid black for Tour de Flex --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbFill" left="0" right="0" top="0" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: title bar highlight --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradientStroke rotation="90" weight="1"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xEAEAEA" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xD9D9D9" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradientStroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: title bar divider --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xC0C0C0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: text --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Label id="titleDisplay" maxDisplayedLines="1"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>left="9" right="3" top="1" minHeight="30"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>verticalAlign="middle" fontWeight="bold" color="#E2E2E2"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Label></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="bottomGroup" minWidth="0" minHeight="0"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>includeIn="normalWithControlBar, disabledWithControlBar" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: control bar background --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" top="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xE2EdF7" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: control bar divider line --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" height="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xD1E0F2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: control bar --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"></s:Skin></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/CurrencyFormatterSample.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/CurrencyFormatterSample.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/CurrencyFormatterSample.mxml.html
new file mode 100644
index 0000000..42e9da9
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/CurrencyFormatterSample.mxml.html
@@ -0,0 +1,116 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>CurrencyFormatterSample.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Declarations></span>
+ <span class="MXMLComponent_Tag"><s:RadioButtonGroup</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">radioGrp</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLSpecial_Tag"></fx:Declarations></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">globalization</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">CurrencyFormatter</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">globalization</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">DateTimeFormatter</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">globalization</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">LocaleID</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">collections</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ArrayCollection</span>;
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">cf</span>:<span class="ActionScriptDefault_Text">CurrencyFormatter</span>;
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">dtf</span>:<span class="ActionScriptDefault_Text">DateTimeFormatter</span>;
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">date</span>:<span class="ActionScriptDefault_Text">Date</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">Date</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Bindable</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptReserved">protected</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">locales</span>:<span class="ActionScriptDefault_Text">ArrayCollection</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">ArrayCollection</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">[</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"Default Locale"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptDefault_Text">LocaleID</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">DEFAULT</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"Swedish"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"sv_SE"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"Dutch"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"nl_NL"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"French"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"fr_FR"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"German"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"de_DE"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"Japanese"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"ja_JP"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"Korean"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"ko_KR"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"US-English"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"en_US"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">formatCurrency</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">""</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">locale</span>:<span class="ActionScriptDefault_Text">String</span>;
+
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ddl</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedIndex</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptOperator">-</span>1<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptDefault_Text">locale</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">LocaleID</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">DEFAULT</span>;
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptDefault_Text">locale</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">ddl</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedItem</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">data</span>
+
+ <span class="ActionScriptDefault_Text">cf</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">CurrencyFormatter</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">locale</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"Locale selected: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">locale</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" - Actual locale name: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">cf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">actualLocaleIDName</span><span class="ActionScriptOperator">+</span><span class="ActionScriptString">"\n"</span>;
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"\nCurrency Symbol: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">cf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">currencySymbol</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" Currency ISO Code: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">cf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">currencyISOCode</span> ;
+
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">num</span>:<span class="ActionScriptDefault_Text">Number</span> <span class="ActionScriptOperator">=</span> 0;
+ <span class="ActionScriptDefault_Text">num</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">Number</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">curr</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">radioGrp</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedValue</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptString">"Format by Symbol"</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">cf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">formattingWithCurrencySymbolIsSafe</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">cf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">currencyISOCode</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"\nFormat using Symbol: "</span><span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">cf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">format</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">num</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptReserved">true</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"\nFormat using symbol is not safe. Format by ISO code instead"</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">else</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Num "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">num</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"\nFormat using ISO Code: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">cf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">format</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">num</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"\n\n\nLast Operation Status: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">cf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">lastOperationStatus</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:Panel</span><span class="MXMLDefault_Text"> skinClass="</span><span class="MXMLString">skins.TDFPanelSkin</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" title="</span><span class="MXMLString">Currency Formatting by Locale</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> left="</span><span class="MXMLString">12</span><span class="MXMLDefault_Text">" top="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Enter currency to format (for example: 1206.99):</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextInput</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">curr</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Select to format currency by symbol or ISO code:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:HGroup></span>
+ <span class="MXMLComponent_Tag"><s:RadioButton</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">bySymbol</span><span class="MXMLDefault_Text">" groupName="</span><span class="MXMLString">radioGrp</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">Format by Symbol</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:RadioButton</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">byISO</span><span class="MXMLDefault_Text">" groupName="</span><span class="MXMLString">radioGrp</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">Format by ISO</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"><s:DropDownList</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">ddl</span><span class="MXMLDefault_Text">" dataProvider="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">locales</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">" prompt="</span><span class="MXMLString">Select locale...</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">200</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Format Currency</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">formatCurrency</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> top="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">" right="</span><span class="MXMLString">20</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Console:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextArea</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">ta</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">350</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">120</span><span class="MXMLDefault_Text">" editable="</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">" </span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">95%</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">justify</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">" bottom="</span><span class="MXMLString">25</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">"
+ text="</span><span class="MXMLString">This sample will format a currency value with the selected locale and by symbol or ISO code depending on radio button selection. Before formatting by
+symbol, you should check if the formatting by that symbol is safe, such as shown in this example. The last operation status
+will indicate if an error occurred in formatting. </span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:Panel></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
[22/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/sample.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/sample.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/sample.mxml.html
new file mode 100644
index 0000000..8099a4c
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/sample.mxml.html
@@ -0,0 +1,103 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>sample.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">" creationComplete="</span><span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"
+ backgroundColor="</span><span class="MXMLString">0x000000</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLComment"><!--</span><span class="MXMLComment"> See: http://www.adobe.com/devnet/flash/articles/multitouch_gestures_03.html </span><span class="MXMLComment">--></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">PressAndTapGestureEvent</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">TransformGestureEvent</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">geom</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Point</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ui</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Multitouch</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ui</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">MultitouchInputMode</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">controls</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Alert</span>;
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">Multitouch</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">inputMode</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">MultitouchInputMode</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">GESTURE</span>;
+
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Multitouch</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">supportedGestures</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptReserved">null</span> <span class="ActionScriptOperator">||</span> <span class="ActionScriptDefault_Text">Multitouch</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">supportedGestures</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">length</span> <span class="ActionScriptOperator">==</span> 0<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Gestures not supported on this device."</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">for each</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">item</span>:<span class="ActionScriptDefault_Text">String</span> <span class="ActionScriptReserved">in</span> <span class="ActionScriptDefault_Text">Multitouch</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">supportedGestures</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"gesture "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">item</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">item</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptDefault_Text">TransformGestureEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">GESTURE_PAN</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptDefault_Text">img</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">TransformGestureEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">GESTURE_PAN</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">onPan</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">item</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptDefault_Text">TransformGestureEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">GESTURE_ROTATE</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptDefault_Text">img</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">TransformGestureEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">GESTURE_ROTATE</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">onRotate</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">item</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptDefault_Text">TransformGestureEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">GESTURE_SWIPE</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptDefault_Text">img</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">TransformGestureEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">GESTURE_SWIPE</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">onSwipe</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">item</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptDefault_Text">TransformGestureEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">GESTURE_ZOOM</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptDefault_Text">img</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">TransformGestureEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">GESTURE_ZOOM</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">onZoom</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">onRotate</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">TransformGestureEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"On rotate..."</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">img</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">rotation</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">rotation</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">onZoom</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">TransformGestureEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"On Zoom "</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">img</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">scaleX</span> <span class="ActionScriptOperator">*=</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">scaleX</span>;
+ <span class="ActionScriptDefault_Text">img</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">scaleY</span> <span class="ActionScriptOperator">*=</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">scaleY</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">onPan</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">TransformGestureEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"On pan... "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">offsetX</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" offset Y "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">offsetY</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">prevPoint</span>:<span class="ActionScriptDefault_Text">Point</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">Point</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">img</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">x</span><span class="ActionScriptOperator">,</span><span class="ActionScriptDefault_Text">img</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">y</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">img</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">x</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">offsetX</span><span class="ActionScriptOperator">*</span>3;
+ <span class="ActionScriptDefault_Text">img</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">y</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">offsetY</span><span class="ActionScriptOperator">*</span>3;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">onSwipe</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">TransformGestureEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"On swipe "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">stageX</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">65%</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">justify</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">0xFFFFFF</span><span class="MXMLDefault_Text">" left="</span><span class="MXMLString">30</span><span class="MXMLDefault_Text">" top="</span><span class="MXMLString">30</span><span class="MXMLDefault_Text">"
+ text="</span><span class="MXMLString">If your device supports gestures, you should be able to swipe, pan and zoom this photo using the supported device (ie: trackpad).</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><mx:Image</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">img</span><span class="MXMLDefault_Text">" source="</span><span class="MXMLString">@Embed(source='butterfly2.jpg')</span><span class="MXMLDefault_Text">" x="</span><span class="MXMLString">-10</span><span class="MXMLDefault_Text">" y="</span><span class="MXMLString">-10</span><span class="MXMLDefault_Text">" </span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/Sample-AIR2-GestureSupport/src/sample-app.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/Sample-AIR2-GestureSupport/src/sample-app.xml b/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/Sample-AIR2-GestureSupport/src/sample-app.xml
new file mode 100755
index 0000000..859d940
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/Sample-AIR2-GestureSupport/src/sample-app.xml
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>sample</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>sample</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>sample</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width in pixels. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height in pixels. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/Sample-AIR2-GestureSupport/src/sample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/Sample-AIR2-GestureSupport/src/sample.mxml b/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/Sample-AIR2-GestureSupport/src/sample.mxml
new file mode 100644
index 0000000..f888ca9
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/Sample-AIR2-GestureSupport/src/sample.mxml
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:s="library://ns.adobe.com/flex/spark"
+ xmlns:mx="library://ns.adobe.com/flex/mx" creationComplete="init()"
+ backgroundColor="0x000000" width="100%" height="100%">
+
+ <!-- See: http://www.adobe.com/devnet/flash/articles/multitouch_gestures_03.html -->
+
+ <fx:Script>
+ <![CDATA[
+ import flash.events.PressAndTapGestureEvent;
+ import flash.events.TransformGestureEvent;
+ import flash.geom.Point;
+ import flash.ui.Multitouch;
+ import flash.ui.MultitouchInputMode;
+
+ import mx.controls.Alert;
+
+ private function init():void
+ {
+ Multitouch.inputMode = MultitouchInputMode.GESTURE;
+
+ if (Multitouch.supportedGestures == null || Multitouch.supportedGestures.length == 0)
+ Alert.show("Gestures not supported on this device.");
+ else {
+ for each (var item:String in Multitouch.supportedGestures)
+ {
+ trace("gesture " + item);
+ if (item == TransformGestureEvent.GESTURE_PAN)
+ img.addEventListener(TransformGestureEvent.GESTURE_PAN, onPan);
+ else if (item == TransformGestureEvent.GESTURE_ROTATE)
+ img.addEventListener(TransformGestureEvent.GESTURE_ROTATE, onRotate);
+ else if (item == TransformGestureEvent.GESTURE_SWIPE)
+ img.addEventListener(TransformGestureEvent.GESTURE_SWIPE, onSwipe);
+ else if (item == TransformGestureEvent.GESTURE_ZOOM)
+ img.addEventListener(TransformGestureEvent.GESTURE_ZOOM, onZoom);
+ }
+ }
+
+ }
+
+ private function onRotate(e:TransformGestureEvent):void
+ {
+ trace("On rotate...");
+ img.rotation += e.rotation;
+ }
+
+ private function onZoom(e:TransformGestureEvent):void
+ {
+ trace("On Zoom ");
+ img.scaleX *= e.scaleX;
+ img.scaleY *= e.scaleY;
+ }
+
+ private function onPan(e:TransformGestureEvent):void
+ {
+ trace("On pan... " + e.offsetX + " offset Y " + e.offsetY);
+ var prevPoint:Point = new Point(img.x,img.y);
+ img.x += e.offsetX*3;
+ img.y += e.offsetY*3;
+ }
+
+ private function onSwipe(e:TransformGestureEvent):void
+ {
+ trace("On swipe " + e.stageX);
+ }
+
+ ]]>
+ </fx:Script>
+
+ <s:VGroup width="100%" height="100%" paddingLeft="8" paddingTop="8" paddingRight="8" paddingBottom="8">
+ <s:Label width="65%" verticalAlign="justify" color="0xFFFFFF" left="30" top="30"
+ text="If your device supports gestures, you can rotate, zoom, swipe and pan this photo using the supported device (ie: trackpad)."/>
+ <mx:Image id="img" source="@Embed(source='butterfly2.jpg')" x="-10" y="-10" width="250" height="250"/>
+ </s:VGroup>
+
+</mx:Module>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/Sample-AIR2-GestureSupport/src/skins/TDFPanelSkin.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/Sample-AIR2-GestureSupport/src/skins/TDFPanelSkin.mxml b/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/Sample-AIR2-GestureSupport/src/skins/TDFPanelSkin.mxml
new file mode 100644
index 0000000..ff46524
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/Sample-AIR2-GestureSupport/src/skins/TDFPanelSkin.mxml
@@ -0,0 +1,130 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+
+
+<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+ alpha.disabled="0.5" minWidth="131" minHeight="127">
+
+ <fx:Metadata>
+ [HostComponent("spark.components.Panel")]
+ </fx:Metadata>
+
+ <s:states>
+ <s:State name="normal" />
+ <s:State name="disabled" />
+ <s:State name="normalWithControlBar" />
+ <s:State name="disabledWithControlBar" />
+ </s:states>
+
+ <!-- drop shadow -->
+ <s:Rect left="0" top="0" right="0" bottom="0">
+ <s:filters>
+ <s:DropShadowFilter blurX="15" blurY="15" alpha="0.18" distance="11" angle="90" knockout="true" />
+ </s:filters>
+ <s:fill>
+ <s:SolidColor color="0" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 1: border -->
+ <s:Rect left="0" right="0" top="0" bottom="0">
+ <s:stroke>
+ <s:SolidColorStroke color="0" alpha="0.50" weight="1" />
+ </s:stroke>
+ </s:Rect>
+
+ <!-- layer 2: background fill -->
+ <s:Rect left="0" right="0" bottom="0" height="15">
+ <s:fill>
+ <s:LinearGradient rotation="90">
+ <s:GradientEntry color="0xE2E2E2" />
+ <s:GradientEntry color="0x000000" />
+ </s:LinearGradient>
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 3: contents -->
+ <s:Group left="1" right="1" top="1" bottom="1" >
+ <s:layout>
+ <s:VerticalLayout gap="0" horizontalAlign="justify" />
+ </s:layout>
+
+ <s:Group id="topGroup" >
+ <!-- layer 0: title bar fill -->
+ <!-- Note: We have custom skinned the title bar to be solid black for Tour de Flex -->
+ <s:Rect id="tbFill" left="0" right="0" top="0" bottom="1" >
+ <s:fill>
+ <s:SolidColor color="0x000000" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 1: title bar highlight -->
+ <s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0" >
+ <s:stroke>
+ <s:LinearGradientStroke rotation="90" weight="1">
+ <s:GradientEntry color="0xEAEAEA" />
+ <s:GradientEntry color="0xD9D9D9" />
+ </s:LinearGradientStroke>
+ </s:stroke>
+ </s:Rect>
+
+ <!-- layer 2: title bar divider -->
+ <s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0">
+ <s:fill>
+ <s:SolidColor color="0xC0C0C0" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 3: text -->
+ <s:Label id="titleDisplay" maxDisplayedLines="1"
+ left="9" right="3" top="1" minHeight="30"
+ verticalAlign="middle" fontWeight="bold" color="#E2E2E2">
+ </s:Label>
+
+ </s:Group>
+
+ <s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0">
+ </s:Group>
+
+ <s:Group id="bottomGroup" minWidth="0" minHeight="0"
+ includeIn="normalWithControlBar, disabledWithControlBar" >
+ <!-- layer 0: control bar background -->
+ <s:Rect left="0" right="0" bottom="0" top="1" >
+ <s:fill>
+ <s:SolidColor color="0xE2EdF7" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 1: control bar divider line -->
+ <s:Rect left="0" right="0" top="0" height="1" >
+ <s:fill>
+ <s:SolidColor color="0xD1E0F2" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 2: control bar -->
+ <s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0">
+ <s:layout>
+ <s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" />
+ </s:layout>
+ </s:Group>
+ </s:Group>
+ </s:Group>
+</s:Skin>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/SourceIndex.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/SourceIndex.xml b/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/SourceIndex.xml
new file mode 100644
index 0000000..332a34b
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/SourceIndex.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ 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.
+
+-->
+<index>
+ <title>Source of Sample-AIR2-GestureSupport</title>
+ <nodes>
+ <node label="libs">
+ </node>
+ <node label="src">
+ <node icon="packageIcon" label="skins" expanded="true">
+ <node icon="mxmlIcon" label="TDFPanelSkin.mxml" url="source/skins/TDFPanelSkin.mxml.html"/>
+ </node>
+ <node icon="imageIcon" label="butterfly2.jpg" url="source/butterfly2.jpg.html"/>
+ <node label="sample-app.xml" url="source/sample-app.xml.txt"/>
+ <node icon="mxmlAppIcon" selected="true" label="sample.mxml" url="source/sample.mxml.html"/>
+ </node>
+ <node label="Sample-AIR2-GestureSupport.iml" url="source/Sample-AIR2-GestureSupport.iml"/>
+ </nodes>
+ <zipfile label="Download source (ZIP, 200K)" url="Sample-AIR2-GestureSupport.zip">
+ </zipfile>
+ <sdklink label="Download Flex SDK" url="http://www.adobe.com/go/flex4_sdk_download">
+ </sdklink>
+</index>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/SourceStyles.css
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/SourceStyles.css b/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/SourceStyles.css
new file mode 100644
index 0000000..9d5210f
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/SourceStyles.css
@@ -0,0 +1,155 @@
+/*
+ * 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.
+ */
+body {
+ font-family: Courier New, Courier, monospace;
+ font-size: medium;
+}
+
+.ActionScriptASDoc {
+ color: #3f5fbf;
+}
+
+.ActionScriptBracket/Brace {
+}
+
+.ActionScriptComment {
+ color: #009900;
+ font-style: italic;
+}
+
+.ActionScriptDefault_Text {
+}
+
+.ActionScriptMetadata {
+ color: #0033ff;
+ font-weight: bold;
+}
+
+.ActionScriptOperator {
+}
+
+.ActionScriptReserved {
+ color: #0033ff;
+ font-weight: bold;
+}
+
+.ActionScriptString {
+ color: #990000;
+ font-weight: bold;
+}
+
+.ActionScriptclass {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScriptfunction {
+ color: #339966;
+ font-weight: bold;
+}
+
+.ActionScriptinterface {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScriptpackage {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScripttrace {
+ color: #cc6666;
+ font-weight: bold;
+}
+
+.ActionScriptvar {
+ color: #6699cc;
+ font-weight: bold;
+}
+
+.MXMLASDoc {
+ color: #3f5fbf;
+}
+
+.MXMLComment {
+ color: #800000;
+}
+
+.MXMLComponent_Tag {
+ color: #0000ff;
+}
+
+.MXMLDefault_Text {
+}
+
+.MXMLProcessing_Instruction {
+}
+
+.MXMLSpecial_Tag {
+ color: #006633;
+}
+
+.MXMLString {
+ color: #990000;
+}
+
+.CSS@font-face {
+ color: #990000;
+ font-weight: bold;
+}
+
+.CSS@import {
+ color: #006666;
+ font-weight: bold;
+}
+
+.CSS@media {
+ color: #663333;
+ font-weight: bold;
+}
+
+.CSS@namespace {
+ color: #923196;
+}
+
+.CSSComment {
+ color: #999999;
+}
+
+.CSSDefault_Text {
+}
+
+.CSSDelimiters {
+}
+
+.CSSProperty_Name {
+ color: #330099;
+}
+
+.CSSProperty_Value {
+ color: #3333cc;
+}
+
+.CSSSelector {
+ color: #ff00ff;
+}
+
+.CSSString {
+ color: #990000;
+}
+
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/SourceTree.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/SourceTree.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/SourceTree.html
new file mode 100644
index 0000000..80281a9
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/SourceTree.html
@@ -0,0 +1,129 @@
+<!--
+ 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.
+-->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!-- saved from url=(0014)about:internet -->
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
+ <!--
+ Smart developers always View Source.
+
+ This application was built using Adobe Flex, an open source framework
+ for building rich Internet applications that get delivered via the
+ Flash Player or to desktops via Adobe AIR.
+
+ Learn more about Flex at http://flex.org
+ // -->
+ <head>
+ <title></title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <!-- Include CSS to eliminate any default margins/padding and set the height of the html element and
+ the body element to 100%, because Firefox, or any Gecko based browser, interprets percentage as
+ the percentage of the height of its parent container, which has to be set explicitly. Initially,
+ don't display flashContent div so it won't show if JavaScript disabled.
+ -->
+ <style type="text/css" media="screen">
+ html, body { height:100%; }
+ body { margin:0; padding:0; overflow:auto; text-align:center;
+ background-color: #ffffff; }
+ #flashContent { display:none; }
+ </style>
+
+ <!-- Enable Browser History by replacing useBrowserHistory tokens with two hyphens -->
+ <!-- BEGIN Browser History required section >
+ <link rel="stylesheet" type="text/css" href="history/history.css" />
+ <script type="text/javascript" src="history/history.js"></script>
+ <! END Browser History required section -->
+
+ <script type="text/javascript" src="swfobject.js"></script>
+ <script type="text/javascript">
+ function loadIntoMain(url) {
+ parent.mainFrame.location.href = url;
+ }
+
+ function openUrlWindow(url) {
+ window.top.location = url;
+ }
+
+ <!-- For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection. -->
+ var swfVersionStr = "10.0.0";
+ <!-- To use express install, set to playerProductInstall.swf, otherwise the empty string. -->
+ var xiSwfUrlStr = "playerProductInstall.swf";
+ var flashvars = {};
+ var params = {};
+ params.quality = "high";
+ params.bgcolor = "#ffffff";
+ params.allowscriptaccess = "sameDomain";
+ params.allowfullscreen = "true";
+ var attributes = {};
+ attributes.id = "SourceTree";
+ attributes.name = "SourceTree";
+ attributes.align = "middle";
+ swfobject.embedSWF(
+ "SourceTree.swf", "flashContent",
+ "100%", "100%",
+ swfVersionStr, xiSwfUrlStr,
+ flashvars, params, attributes);
+ <!-- JavaScript enabled so display the flashContent div in case it is not replaced with a swf object. -->
+ swfobject.createCSS("#flashContent", "display:block;text-align:left;");
+ </script>
+ </head>
+ <body>
+ <!-- SWFObject's dynamic embed method replaces this alternative HTML content with Flash content when enough
+ JavaScript and Flash plug-in support is available. The div is initially hidden so that it doesn't show
+ when JavaScript is disabled.
+ -->
+ <div id="flashContent">
+ <p>
+ To view this page ensure that Adobe Flash Player version
+ 10.0.0 or greater is installed.
+ </p>
+ <script type="text/javascript">
+ var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://");
+ document.write("<a href='http://www.adobe.com/go/getflashplayer'><img src='"
+ + pageHost + "www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' /></a>" );
+ </script>
+ </div>
+
+ <noscript>
+ <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%" id="SourceTree">
+ <param name="movie" value="SourceTree.swf" />
+ <param name="quality" value="high" />
+ <param name="bgcolor" value="#ffffff" />
+ <param name="allowScriptAccess" value="sameDomain" />
+ <param name="allowFullScreen" value="true" />
+ <!--[if !IE]>-->
+ <object type="application/x-shockwave-flash" data="SourceTree.swf" width="100%" height="100%">
+ <param name="quality" value="high" />
+ <param name="bgcolor" value="#ffffff" />
+ <param name="allowScriptAccess" value="sameDomain" />
+ <param name="allowFullScreen" value="true" />
+ <!--<![endif]-->
+ <!--[if gte IE 6]>-->
+ <p>
+ Either scripts and active content are not permitted to run or Adobe Flash Player version
+ 10.0.0 or greater is not installed.
+ </p>
+ <!--<![endif]-->
+ <a href="http://www.adobe.com/go/getflashplayer">
+ <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash Player" />
+ </a>
+ <!--[if !IE]>-->
+ </object>
+ <!--<![endif]-->
+ </object>
+ </noscript>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/index.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/index.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/index.html
new file mode 100644
index 0000000..616deec
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/index.html
@@ -0,0 +1,32 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Source of Sample-AIR2-GestureSupport</title>
+</head>
+<frameset cols="235,*" border="2" framespacing="1">
+ <frame src="SourceTree.html" name="leftFrame" scrolling="NO">
+ <frame src="source/sample.mxml.html" name="mainFrame">
+</frameset>
+<noframes>
+ <body>
+ </body>
+</noframes>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/source/butterfly2.jpg.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/source/butterfly2.jpg.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/source/butterfly2.jpg.html
new file mode 100644
index 0000000..c04744c
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/source/butterfly2.jpg.html
@@ -0,0 +1,28 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
+<title>butterfly2.jpg</title>
+</head>
+
+<body>
+<img src="butterfly2.jpg" border="0"/>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/source/sample-app.xml.txt
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/source/sample-app.xml.txt b/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/source/sample-app.xml.txt
new file mode 100644
index 0000000..859d940
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/source/sample-app.xml.txt
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>sample</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>sample</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>sample</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width in pixels. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height in pixels. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/source/sample.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/source/sample.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/source/sample.mxml.html
new file mode 100644
index 0000000..4c2c241
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/source/sample.mxml.html
@@ -0,0 +1,103 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>sample.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">" creationComplete="</span><span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"
+ backgroundColor="</span><span class="MXMLString">0x000000</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLComment"><!--</span><span class="MXMLComment"> See: http://www.adobe.com/devnet/flash/articles/multitouch_gestures_03.html </span><span class="MXMLComment">--></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">PressAndTapGestureEvent</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">TransformGestureEvent</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">geom</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Point</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ui</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Multitouch</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ui</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">MultitouchInputMode</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">controls</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Alert</span>;
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">Multitouch</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">inputMode</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">MultitouchInputMode</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">GESTURE</span>;
+
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Multitouch</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">supportedGestures</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptReserved">null</span> <span class="ActionScriptOperator">||</span> <span class="ActionScriptDefault_Text">Multitouch</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">supportedGestures</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">length</span> <span class="ActionScriptOperator">==</span> 0<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Gestures not supported on this device."</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">for each</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">item</span>:<span class="ActionScriptDefault_Text">String</span> <span class="ActionScriptReserved">in</span> <span class="ActionScriptDefault_Text">Multitouch</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">supportedGestures</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"gesture "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">item</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">item</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptDefault_Text">TransformGestureEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">GESTURE_PAN</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptDefault_Text">img</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">TransformGestureEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">GESTURE_PAN</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">onPan</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">item</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptDefault_Text">TransformGestureEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">GESTURE_ROTATE</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptDefault_Text">img</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">TransformGestureEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">GESTURE_ROTATE</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">onRotate</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">item</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptDefault_Text">TransformGestureEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">GESTURE_SWIPE</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptDefault_Text">img</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">TransformGestureEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">GESTURE_SWIPE</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">onSwipe</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">item</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptDefault_Text">TransformGestureEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">GESTURE_ZOOM</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptDefault_Text">img</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">TransformGestureEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">GESTURE_ZOOM</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">onZoom</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">onRotate</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">TransformGestureEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"On rotate..."</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">img</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">rotation</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">rotation</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">onZoom</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">TransformGestureEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"On Zoom "</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">img</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">scaleX</span> <span class="ActionScriptOperator">*=</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">scaleX</span>;
+ <span class="ActionScriptDefault_Text">img</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">scaleY</span> <span class="ActionScriptOperator">*=</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">scaleY</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">onPan</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">TransformGestureEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"On pan... "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">offsetX</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" offset Y "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">offsetY</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">prevPoint</span>:<span class="ActionScriptDefault_Text">Point</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">Point</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">img</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">x</span><span class="ActionScriptOperator">,</span><span class="ActionScriptDefault_Text">img</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">y</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">img</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">x</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">offsetX</span><span class="ActionScriptOperator">*</span>3;
+ <span class="ActionScriptDefault_Text">img</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">y</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">offsetY</span><span class="ActionScriptOperator">*</span>3;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">onSwipe</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">TransformGestureEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"On swipe "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">stageX</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" paddingLeft="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" paddingTop="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" paddingRight="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" paddingBottom="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">65%</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">justify</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">0xFFFFFF</span><span class="MXMLDefault_Text">" left="</span><span class="MXMLString">30</span><span class="MXMLDefault_Text">" top="</span><span class="MXMLString">30</span><span class="MXMLDefault_Text">"
+ text="</span><span class="MXMLString">If your device supports gestures, you can rotate, zoom, swipe and pan this photo using the supported device (ie: trackpad).</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><mx:Image</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">img</span><span class="MXMLDefault_Text">" source="</span><span class="MXMLString">@Embed(source='butterfly2.jpg')</span><span class="MXMLDefault_Text">" x="</span><span class="MXMLString">-10</span><span class="MXMLDefault_Text">" y="</span><span class="MXMLString">-10</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">250</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">250</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
[27/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/UserPresence/userpresence.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/UserPresence/userpresence.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/UserPresence/userpresence.mxml.html
new file mode 100644
index 0000000..cb0eb99
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/UserPresence/userpresence.mxml.html
@@ -0,0 +1,57 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>userpresence.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">" xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ backgroundColor="</span><span class="MXMLString">0x323232</span><span class="MXMLDefault_Text">" xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">" creationComplete="</span><span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"
+ width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">desktop</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">NativeApplication</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">controls</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Alert</span>;
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptReserved">const</span> <span class="ActionScriptDefault_Text">IDLETIME</span>:<span class="ActionScriptDefault_Text">int</span> <span class="ActionScriptOperator">=</span> 5; <span class="ActionScriptComment">//Seconds
+</span>
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">NativeApplication</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">nativeApplication</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">idleThreshold</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">IDLETIME</span>;
+ <span class="ActionScriptDefault_Text">NativeApplication</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">nativeApplication</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">USER_IDLE</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">onIdle</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">NativeApplication</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">nativeApplication</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">USER_PRESENT</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">onPresence</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">idlemsg</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">"Status: Active - status will change if idle for more than "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">IDLETIME</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" seconds"</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">onIdle</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">idlemsg</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">"Status: Idle for at least "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">IDLETIME</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" seconds"</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">onPresence</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">idlemsg</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">"Status: Active again - status will change if idle for more than "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">IDLETIME</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" seconds"</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">idlemsg</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">white</span><span class="MXMLDefault_Text">" paddingLeft="</span><span class="MXMLString">100</span><span class="MXMLDefault_Text">" paddingTop="</span><span class="MXMLString">100</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Accelerometer/main.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Accelerometer/main.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/Accelerometer/main.mxml.html
new file mode 100644
index 0000000..55a88e3
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Accelerometer/main.mxml.html
@@ -0,0 +1,58 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>main.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:Application</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/halo</span><span class="MXMLDefault_Text">" applicationComplete="</span><span class="ActionScriptDefault_Text">sense</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">" viewSourceURL="</span><span class="MXMLString">srcview/index.html</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLSpecial_Tag"><fx:Declarations></span>
+ <span class="MXMLComment"><!--</span><span class="MXMLComment"> Place non-visual elements (e.g., services, value objects) here </span><span class="MXMLComment">--></span>
+ <span class="MXMLSpecial_Tag"></fx:Declarations></span>
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">AccelerometerEvent</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">sensors</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Accelerometer</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">controls</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Alert</span>;
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">acc</span>:<span class="ActionScriptDefault_Text">Accelerometer</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">Accelerometer</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">sense</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Sensing - is supported value is "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">Accelerometer</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">isSupported</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">acc</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">AccelerometerEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">UPDATE</span><span class="ActionScriptOperator">,</span><span class="ActionScriptDefault_Text">onUpdate</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">acc</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">setRequestedUpdateInterval</span><span class="ActionScriptBracket/Brace">(</span>60<span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">onUpdate</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">AccelerometerEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Triggered Update! Acceleration X is: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">accelerationX</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" Y "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">accelerationY</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" z "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span c
lass="ActionScriptDefault_Text">accelerationZ</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Triggered"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" verticalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">Go</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">sense</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+<span class="MXMLComponent_Tag"></s:Application></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/TDFPanelSkin.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/TDFPanelSkin.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/TDFPanelSkin.mxml.html
new file mode 100644
index 0000000..df79d11
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/TDFPanelSkin.mxml.html
@@ -0,0 +1,147 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta http-equiv="Content-Style-Type" content="text/css">
+ <title>TDFPanelSkin.mxml</title>
+ <meta name="Generator" content="Cocoa HTML Writer">
+ <meta name="CocoaVersion" content="1187.4">
+ <style type="text/css">
+ p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier}
+ p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; color: #941100}
+ p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; min-height: 15.0px}
+ p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px}
+ </style>
+</head>
+<body>
+<p class="p1"><?xml version="1.0" encoding="utf-8"?></p>
+<p class="p2"><!--</p>
+<p class="p3"><br></p>
+<p class="p2">Licensed to the Apache Software Foundation (ASF) under one or more</p>
+<p class="p2">contributor license agreements.<span class="Apple-converted-space"> </span>See the NOTICE file distributed with</p>
+<p class="p2">this work for additional information regarding copyright ownership.</p>
+<p class="p2">The ASF licenses this file to You under the Apache License, Version 2.0</p>
+<p class="p2">(the "License"); you may not use this file except in compliance with</p>
+<p class="p2">the License.<span class="Apple-converted-space"> </span>You may obtain a copy of the License at</p>
+<p class="p3"><br></p>
+<p class="p2">http://www.apache.org/licenses/LICENSE-2.0</p>
+<p class="p3"><br></p>
+<p class="p2">Unless required by applicable law or agreed to in writing, software</p>
+<p class="p2">distributed under the License is distributed on an "AS IS" BASIS,</p>
+<p class="p2">WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</p>
+<p class="p2">See the License for the specific language governing permissions and</p>
+<p class="p2">limitations under the License.</p>
+<p class="p3"><br></p>
+<p class="p2">--></p>
+<p class="p4"><br></p>
+<p class="p1"><s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"<span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span>alpha.disabled="0.5" minWidth="131" minHeight="127"></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><fx:Metadata></p>
+<p class="p1"><span class="Apple-converted-space"> </span>[HostComponent("spark.components.Panel")]</p>
+<p class="p1"><span class="Apple-converted-space"> </span></fx:Metadata><span class="Apple-converted-space"> </span></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:states></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normal" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabled" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normalWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabledWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:states></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- drop shadow --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" top="0" right="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:DropShadowFilter blurX="15" blurY="15" alpha="0.18" distance="11" angle="90" knockout="true" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: border --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColorStroke color="0" alpha="0.50" weight="1" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: background fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" height="15"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradient rotation="90"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xE2E2E2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradient></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: contents --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group left="1" right="1" top="1" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:VerticalLayout gap="0" horizontalAlign="justify" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="topGroup" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: title bar fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- Note: We have custom skinned the title bar to be solid black for Tour de Flex --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbFill" left="0" right="0" top="0" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: title bar highlight --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradientStroke rotation="90" weight="1"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xEAEAEA" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xD9D9D9" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradientStroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: title bar divider --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xC0C0C0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: text --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Label id="titleDisplay" maxDisplayedLines="1"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>left="9" right="3" top="1" minHeight="30"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>verticalAlign="middle" fontWeight="bold" color="#E2E2E2"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Label></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="bottomGroup" minWidth="0" minHeight="0"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>includeIn="normalWithControlBar, disabledWithControlBar" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: control bar background --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" top="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xE2EdF7" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: control bar divider line --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" height="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xD1E0F2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: control bar --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"></s:Skin></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/sample.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/sample.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/sample.mxml.html
new file mode 100644
index 0000000..b47c3eb
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/sample.mxml.html
@@ -0,0 +1,134 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>sample.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLComment"><!--</span><span class="MXMLComment"> Based on sample here: http://www.insideria.com/2009/10/air-2-enhancements-complete-ov.html </span><span class="MXMLComment">--></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">DNSResolverEvent</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">net</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">dns</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ARecord</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">net</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">dns</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">DNSResolver</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">net</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">dns</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">MXRecord</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">net</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">dns</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">PTRRecord</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">controls</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Alert</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">skins</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">TDFPanelSkin</span>;
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">resolver</span>:<span class="ActionScriptDefault_Text">DNSResolver</span>;
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">startLookup</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">host</span>:<span class="ActionScriptDefault_Text">String</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">isARecordSelected</span>:<span class="ActionScriptDefault_Text">Boolean</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">isMXRecordSelected</span>:<span class="ActionScriptDefault_Text">Boolean</span> <span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">this</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">output</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">""</span>;
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">isARecordSelected</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptDefault_Text">lookup</span><span class="ActionScriptBracket/Brace">(</span> <span class="ActionScriptDefault_Text">host</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">"."</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">ARecord</span> <span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">isMXRecordSelected</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptDefault_Text">lookup</span><span class="ActionScriptBracket/Brace">(</span> <span class="ActionScriptDefault_Text">host</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">MXRecord</span> <span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">reverseLookup</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">host</span>:<span class="ActionScriptDefault_Text">String</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">recordType</span>:<span class="ActionScriptDefault_Text">Class</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">output</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">""</span>;
+ <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Record Type "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">recordType</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ipAddress</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">!=</span> <span class="ActionScriptReserved">null</span> <span class="ActionScriptOperator">&&</span> <span class="ActionScriptDefault_Text">ipAddress</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">length</span> <span class="ActionScriptOperator">></span>0<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptDefault_Text">lookup</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">host</span><span class="ActionScriptOperator">,</span><span class="ActionScriptDefault_Text">recordType</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Please enter a valid IP address."</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">lookup</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">host</span>:<span class="ActionScriptDefault_Text">String</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">recordType</span>:<span class="ActionScriptDefault_Text">Class</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">resolver</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">DNSResolver</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">resolver</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span> <span class="ActionScriptDefault_Text">DNSResolverEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">LOOKUP</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">lookupComplete</span> <span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">resolver</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span> <span class="ActionScriptDefault_Text">ErrorEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ERROR</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">lookupError</span> <span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">resolver</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">lookup</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">host</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">recordType</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">lookupComplete</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">DNSResolverEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+
+ <span class="ActionScriptDefault_Text">resolver</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">removeEventListener</span><span class="ActionScriptBracket/Brace">(</span> <span class="ActionScriptDefault_Text">DNSResolverEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">LOOKUP</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">lookupComplete</span> <span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">resolver</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">removeEventListener</span><span class="ActionScriptBracket/Brace">(</span> <span class="ActionScriptDefault_Text">ErrorEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ERROR</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">lookupError</span> <span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptDefault_Text">setOutput</span><span class="ActionScriptBracket/Brace">(</span> <span class="ActionScriptString">"Querying host: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">host</span> <span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">setOutput</span><span class="ActionScriptBracket/Brace">(</span> <span class="ActionScriptString">"Record type: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">utils</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">getQualifiedClassName</span><span class="ActionScriptBracket/Brace">(</span> <span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">resourceRecords</span><span class="ActionScriptBracket/Brace">[</span>0<span class="ActionScriptBracket/Brace">]</span> <span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptOperator">+</span>
+ <span class="ActionScriptString">", count: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">resourceRecords</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">length</span> <span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptReserved">for each</span><span class="ActionScriptBracket/Brace">(</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">record</span>:<span class="ActionScriptOperator">*</span> <span class="ActionScriptReserved">in</span> <span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">resourceRecords</span> <span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">record</span> <span class="ActionScriptReserved">is</span> <span class="ActionScriptDefault_Text">ARecord</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptDefault_Text">setOutput</span><span class="ActionScriptBracket/Brace">(</span> <span class="ActionScriptString">"ARecord: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">record</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">name</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" : "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">record</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">address</span> <span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">record</span> <span class="ActionScriptReserved">is</span> <span class="ActionScriptDefault_Text">MXRecord</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptDefault_Text">setOutput</span><span class="ActionScriptBracket/Brace">(</span> <span class="ActionScriptString">"MXRecord: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">record</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">name</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" : "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">record</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">exchange</span> <span class="ActionScriptOperator">+</span> <span cl
ass="ActionScriptString">", "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">record</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">preference</span> <span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">record</span> <span class="ActionScriptReserved">is</span> <span class="ActionScriptDefault_Text">PTRRecord</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptDefault_Text">setOutput</span><span class="ActionScriptBracket/Brace">(</span> <span class="ActionScriptString">"PTRRecord: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">record</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">name</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" : "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">record</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ptrdName</span> <span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">setOutput</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">message</span>:<span class="ActionScriptDefault_Text">String</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">resolver</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">removeEventListener</span><span class="ActionScriptBracket/Brace">(</span> <span class="ActionScriptDefault_Text">DNSResolverEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">LOOKUP</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">lookupComplete</span> <span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">resolver</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">removeEventListener</span><span class="ActionScriptBracket/Brace">(</span> <span class="ActionScriptDefault_Text">ErrorEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ERROR</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">lookupError</span> <span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">output</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">message</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">"\n"</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">output</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">lookupError</span><span class="ActionScriptBracket/Brace">(</span> <span class="ActionScriptDefault_Text">error</span>:<span class="ActionScriptDefault_Text">ErrorEvent</span> <span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Error: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">error</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:Panel</span><span class="MXMLDefault_Text"> title="</span><span class="MXMLString">DNS Lookup</span><span class="MXMLDefault_Text">" skinClass="</span><span class="MXMLString">skins.TDFPanelSkin</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:layout></span>
+ <span class="MXMLComponent_Tag"><s:VerticalLayout</span><span class="MXMLDefault_Text"> paddingLeft="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" paddingTop="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" paddingBottom="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" paddingRight="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:layout></span>
+ <span class="MXMLComponent_Tag"><s:HGroup</span><span class="MXMLDefault_Text"> left="</span><span class="MXMLString">5</span><span class="MXMLDefault_Text">" top="</span><span class="MXMLString">5</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:VGroup></span>
+ <span class="MXMLComponent_Tag"><s:HGroup></span>
+ <span class="MXMLComponent_Tag"><s:CheckBox</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">cbARecord</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">ARecord</span><span class="MXMLDefault_Text">" selected="</span><span class="MXMLString">true</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:CheckBox</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">cbMXRecord</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">MX Record</span><span class="MXMLDefault_Text">" selected="</span><span class="MXMLString">true</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"><s:HGroup</span><span class="MXMLDefault_Text"> verticalAlign="</span><span class="MXMLString">middle</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Host name: </span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextInput</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">domain</span><span class="MXMLDefault_Text">" text="</span><span class="MXMLString">cnn.com</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Lookup DNS</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">startLookup</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">domain</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">cbARecord</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selected</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">cbMXRecord</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selected</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> right="</span><span class="MXMLString">30</span><span class="MXMLDefault_Text">" top="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">IP Address (127.0.0.1 for example):</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextInput</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">ipAddress</span><span class="MXMLDefault_Text">" restrict="</span><span class="MXMLString">0-9.</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Reverse DNS Lookup</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">reverseLookup</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ipAddress</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">PTRRecord</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"><s:HGroup</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">500</span><span class="MXMLDefault_Text">" bottom="</span><span class="MXMLString">60</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Console:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextArea</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">output</span><span class="MXMLDefault_Text">" editable="</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">70%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">95%</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">justify</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" bottom="</span><span class="MXMLString">20</span><span class="MXMLDefault_Text">"
+ text="</span><span class="MXMLString">The DNS Lookup functionality in AIR 2.0 allows you to lookup the Domain Name Server information for a given URL.</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:Panel></span>
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/Sample-AIR2-DNS/src/sample-app.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/Sample-AIR2-DNS/src/sample-app.xml b/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/Sample-AIR2-DNS/src/sample-app.xml
new file mode 100755
index 0000000..f9eed35
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/Sample-AIR2-DNS/src/sample-app.xml
@@ -0,0 +1,156 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta2
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>main</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>main</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>main</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
+ <!-- <publisherID></publisherID> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width in pixels. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height in pixels. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/Sample-AIR2-DNS/src/sample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/Sample-AIR2-DNS/src/sample.mxml b/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/Sample-AIR2-DNS/src/sample.mxml
new file mode 100755
index 0000000..782f381
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/Sample-AIR2-DNS/src/sample.mxml
@@ -0,0 +1,126 @@
+<!--
+
+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.
+
+-->
+<mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:s="library://ns.adobe.com/flex/spark"
+ xmlns:mx="library://ns.adobe.com/flex/mx"
+ styleName="plain" width="100%" height="100%">
+
+ <!-- Based on sample here: http://www.insideria.com/2009/10/air-2-enhancements-complete-ov.html -->
+
+ <fx:Script>
+ <![CDATA[
+ import flash.events.DNSResolverEvent;
+ import flash.net.dns.ARecord;
+ import flash.net.dns.DNSResolver;
+ import flash.net.dns.MXRecord;
+ import flash.net.dns.PTRRecord;
+
+ import mx.controls.Alert;
+
+ import skins.TDFPanelSkin;
+
+ protected var resolver:DNSResolver;
+
+ protected function startLookup(host:String, isARecordSelected:Boolean, isMXRecordSelected:Boolean ):void
+ {
+ this.output.text = "";
+ if (isARecordSelected) lookup( host + ".", ARecord );
+ if (isMXRecordSelected) lookup( host, MXRecord );
+ }
+
+ protected function reverseLookup(host:String, recordType:Class):void
+ {
+ output.text = "";
+ trace("Record Type " + recordType);
+ if (ipAddress.text != null && ipAddress.text.length >0)
+ lookup(host,recordType);
+ else Alert.show("Please enter a valid IP address.");
+ }
+
+ protected function lookup(host:String, recordType:Class):void
+ {
+ resolver = new DNSResolver();
+ resolver.addEventListener( DNSResolverEvent.LOOKUP, lookupComplete );
+ resolver.addEventListener( ErrorEvent.ERROR, lookupError );
+ resolver.lookup(host, recordType);
+ }
+
+ private function lookupComplete(event:DNSResolverEvent):void
+ {
+
+ resolver.removeEventListener( DNSResolverEvent.LOOKUP, lookupComplete );
+ resolver.removeEventListener( ErrorEvent.ERROR, lookupError );
+
+ setOutput( "Querying host: " + event.host );
+ setOutput( "Record type: " + flash.utils.getQualifiedClassName( event.resourceRecords[0] ) +
+ ", count: " + event.resourceRecords.length );
+
+ for each( var record:* in event.resourceRecords )
+ {
+ if (record is ARecord) setOutput( "ARecord: " + record.name + " : " + record.address );
+ if (record is MXRecord) setOutput( "MXRecord: " + record.name + " : " + record.exchange + ", " + record.preference );
+ if (record is PTRRecord) setOutput( "PTRRecord: " + record.name + " : " + record.ptrdName );
+ }
+ }
+
+ private function setOutput(message:String):void
+ {
+ resolver.removeEventListener( DNSResolverEvent.LOOKUP, lookupComplete );
+ resolver.removeEventListener( ErrorEvent.ERROR, lookupError );
+ output.text = message + "\n" + output.text;
+ }
+
+ private function lookupError( error:ErrorEvent ):void
+ {
+ Alert.show("Error: " + error.text );
+ }
+
+ ]]>
+ </fx:Script>
+
+ <s:Panel title="DNS Lookup" skinClass="skins.TDFPanelSkin" width="100%" height="100%">
+ <s:layout>
+ <s:VerticalLayout paddingLeft="8" paddingTop="8" paddingBottom="8" paddingRight="8"/>
+ </s:layout>
+ <s:HGroup left="5" top="5">
+ <s:VGroup>
+ <s:HGroup>
+ <s:CheckBox id="cbARecord" label="ARecord" selected="true"/>
+ <s:CheckBox id="cbMXRecord" label="MX Record" selected="true"/>
+ </s:HGroup>
+ <s:HGroup verticalAlign="middle">
+ <s:Label text="Host name: "/>
+ <s:TextInput id="domain" text="cnn.com"/>
+ <s:Button label="Lookup DNS" click="startLookup(domain.text, cbARecord.selected, cbMXRecord.selected)"/>
+ </s:HGroup>
+ </s:VGroup>
+ <s:VGroup right="30" top="10">
+ <s:Label text="IP Address (127.0.0.1 for example):"/>
+ <s:TextInput id="ipAddress" restrict="0-9."/>
+ <s:Button label="Reverse DNS Lookup" click="reverseLookup(ipAddress.text, PTRRecord)"/>
+ </s:VGroup>
+ </s:HGroup>
+ <s:HGroup width="500" bottom="60" horizontalCenter="0">
+ <s:Label text="Console:"/>
+ <s:TextArea id="output" editable="false" width="70%" height="100"/>
+ </s:HGroup>
+ <s:Label width="95%" verticalAlign="justify" color="#323232" horizontalCenter="0" bottom="20"
+ text="The DNS Lookup functionality in AIR 2.0 allows you to lookup the Domain Name Server information for a given URL."/>
+ </s:Panel>
+</mx:Module>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/Sample-AIR2-DNS/src/skins/TDFPanelSkin.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/Sample-AIR2-DNS/src/skins/TDFPanelSkin.mxml b/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/Sample-AIR2-DNS/src/skins/TDFPanelSkin.mxml
new file mode 100644
index 0000000..ff46524
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/Sample-AIR2-DNS/src/skins/TDFPanelSkin.mxml
@@ -0,0 +1,130 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+
+
+<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+ alpha.disabled="0.5" minWidth="131" minHeight="127">
+
+ <fx:Metadata>
+ [HostComponent("spark.components.Panel")]
+ </fx:Metadata>
+
+ <s:states>
+ <s:State name="normal" />
+ <s:State name="disabled" />
+ <s:State name="normalWithControlBar" />
+ <s:State name="disabledWithControlBar" />
+ </s:states>
+
+ <!-- drop shadow -->
+ <s:Rect left="0" top="0" right="0" bottom="0">
+ <s:filters>
+ <s:DropShadowFilter blurX="15" blurY="15" alpha="0.18" distance="11" angle="90" knockout="true" />
+ </s:filters>
+ <s:fill>
+ <s:SolidColor color="0" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 1: border -->
+ <s:Rect left="0" right="0" top="0" bottom="0">
+ <s:stroke>
+ <s:SolidColorStroke color="0" alpha="0.50" weight="1" />
+ </s:stroke>
+ </s:Rect>
+
+ <!-- layer 2: background fill -->
+ <s:Rect left="0" right="0" bottom="0" height="15">
+ <s:fill>
+ <s:LinearGradient rotation="90">
+ <s:GradientEntry color="0xE2E2E2" />
+ <s:GradientEntry color="0x000000" />
+ </s:LinearGradient>
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 3: contents -->
+ <s:Group left="1" right="1" top="1" bottom="1" >
+ <s:layout>
+ <s:VerticalLayout gap="0" horizontalAlign="justify" />
+ </s:layout>
+
+ <s:Group id="topGroup" >
+ <!-- layer 0: title bar fill -->
+ <!-- Note: We have custom skinned the title bar to be solid black for Tour de Flex -->
+ <s:Rect id="tbFill" left="0" right="0" top="0" bottom="1" >
+ <s:fill>
+ <s:SolidColor color="0x000000" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 1: title bar highlight -->
+ <s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0" >
+ <s:stroke>
+ <s:LinearGradientStroke rotation="90" weight="1">
+ <s:GradientEntry color="0xEAEAEA" />
+ <s:GradientEntry color="0xD9D9D9" />
+ </s:LinearGradientStroke>
+ </s:stroke>
+ </s:Rect>
+
+ <!-- layer 2: title bar divider -->
+ <s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0">
+ <s:fill>
+ <s:SolidColor color="0xC0C0C0" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 3: text -->
+ <s:Label id="titleDisplay" maxDisplayedLines="1"
+ left="9" right="3" top="1" minHeight="30"
+ verticalAlign="middle" fontWeight="bold" color="#E2E2E2">
+ </s:Label>
+
+ </s:Group>
+
+ <s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0">
+ </s:Group>
+
+ <s:Group id="bottomGroup" minWidth="0" minHeight="0"
+ includeIn="normalWithControlBar, disabledWithControlBar" >
+ <!-- layer 0: control bar background -->
+ <s:Rect left="0" right="0" bottom="0" top="1" >
+ <s:fill>
+ <s:SolidColor color="0xE2EdF7" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 1: control bar divider line -->
+ <s:Rect left="0" right="0" top="0" height="1" >
+ <s:fill>
+ <s:SolidColor color="0xD1E0F2" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 2: control bar -->
+ <s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0">
+ <s:layout>
+ <s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" />
+ </s:layout>
+ </s:Group>
+ </s:Group>
+ </s:Group>
+</s:Skin>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/SourceIndex.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/SourceIndex.xml b/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/SourceIndex.xml
new file mode 100644
index 0000000..79136c3
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/SourceIndex.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ 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.
+
+-->
+<index>
+ <title>Source of Sample-AIR2-DNS</title>
+ <nodes>
+ <node label="libs">
+ </node>
+ <node label="src">
+ <node icon="packageIcon" label="skins" expanded="true">
+ <node icon="mxmlIcon" label="TDFPanelSkin.mxml" url="source/skins/TDFPanelSkin.mxml.html"/>
+ </node>
+ <node label="sample-app.xml" url="source/sample-app.xml.txt"/>
+ <node icon="mxmlAppIcon" selected="true" label="sample.mxml" url="source/sample.mxml.html"/>
+ </node>
+ </nodes>
+ <zipfile label="Download source (ZIP, 7K)" url="Sample-AIR2-DNS.zip">
+ </zipfile>
+ <sdklink label="Download Flex SDK" url="http://www.adobe.com/go/flex4_sdk_download">
+ </sdklink>
+</index>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/SourceStyles.css
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/SourceStyles.css b/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/SourceStyles.css
new file mode 100644
index 0000000..9d5210f
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/SourceStyles.css
@@ -0,0 +1,155 @@
+/*
+ * 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.
+ */
+body {
+ font-family: Courier New, Courier, monospace;
+ font-size: medium;
+}
+
+.ActionScriptASDoc {
+ color: #3f5fbf;
+}
+
+.ActionScriptBracket/Brace {
+}
+
+.ActionScriptComment {
+ color: #009900;
+ font-style: italic;
+}
+
+.ActionScriptDefault_Text {
+}
+
+.ActionScriptMetadata {
+ color: #0033ff;
+ font-weight: bold;
+}
+
+.ActionScriptOperator {
+}
+
+.ActionScriptReserved {
+ color: #0033ff;
+ font-weight: bold;
+}
+
+.ActionScriptString {
+ color: #990000;
+ font-weight: bold;
+}
+
+.ActionScriptclass {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScriptfunction {
+ color: #339966;
+ font-weight: bold;
+}
+
+.ActionScriptinterface {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScriptpackage {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScripttrace {
+ color: #cc6666;
+ font-weight: bold;
+}
+
+.ActionScriptvar {
+ color: #6699cc;
+ font-weight: bold;
+}
+
+.MXMLASDoc {
+ color: #3f5fbf;
+}
+
+.MXMLComment {
+ color: #800000;
+}
+
+.MXMLComponent_Tag {
+ color: #0000ff;
+}
+
+.MXMLDefault_Text {
+}
+
+.MXMLProcessing_Instruction {
+}
+
+.MXMLSpecial_Tag {
+ color: #006633;
+}
+
+.MXMLString {
+ color: #990000;
+}
+
+.CSS@font-face {
+ color: #990000;
+ font-weight: bold;
+}
+
+.CSS@import {
+ color: #006666;
+ font-weight: bold;
+}
+
+.CSS@media {
+ color: #663333;
+ font-weight: bold;
+}
+
+.CSS@namespace {
+ color: #923196;
+}
+
+.CSSComment {
+ color: #999999;
+}
+
+.CSSDefault_Text {
+}
+
+.CSSDelimiters {
+}
+
+.CSSProperty_Name {
+ color: #330099;
+}
+
+.CSSProperty_Value {
+ color: #3333cc;
+}
+
+.CSSSelector {
+ color: #ff00ff;
+}
+
+.CSSString {
+ color: #990000;
+}
+
[11/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/source/sample.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/source/sample.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/source/sample.mxml.html
new file mode 100644
index 0000000..388b575
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/source/sample.mxml.html
@@ -0,0 +1,126 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>sample.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">" creationComplete="</span><span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">controls</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Alert</span>;
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">process</span>:<span class="ActionScriptDefault_Text">NativeProcess</span>;
+
+ <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptOperator">!</span><span class="ActionScriptDefault_Text">NativeProcess</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">isSupported</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptComment">// Note: you could also get this error if you forgot to add the extendedDesktop flag to your app.xml descriptor
+</span> <span class="ActionScriptComment">// this line must be within the <application> tags: <supportedProfiles>extendedDesktop</supportedProfiles>
+</span> <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"NativeProcess is not supported"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">runProcess</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">file</span>:<span class="ActionScriptDefault_Text">File</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">try</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptComment">// Use default paths for ping... modify if your system does not use the default path
+</span> <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Capabilities</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">os</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">toLowerCase</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">indexOf</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"win"</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptOperator">></span> <span class="ActionScriptOperator">-</span>1<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">file</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"c:\windows\system32\ping.exe"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Capabilities</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">os</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">toLowerCase</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">indexOf</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"mac"</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptOperator">></span> <span class="ActionScriptOperator">-</span>1<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">file</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"/sbin/ping"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">file</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptReserved">null</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptDefault_Text">file</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"/bin/ping"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">file</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptReserved">null</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptDefault_Text">file</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"/usr/bin/ping"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Capabilities</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">os</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">toLowerCase</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">indexOf</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"linux"</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptOperator">></span> <span class="ActionScriptOperator">-</span>1<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">file</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"/sbin/ping"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">file</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptReserved">null</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptDefault_Text">file</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"/bin/ping"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">file</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptReserved">null</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptDefault_Text">file</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"/usr/bin/ping"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">nativeProcessStartupInfo</span>:<span class="ActionScriptDefault_Text">NativeProcessStartupInfo</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">NativeProcessStartupInfo</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">nativeProcessStartupInfo</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">executable</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">file</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">args</span>:<span class="ActionScriptDefault_Text">Vector</span><span class="ActionScriptBracket/Brace">.<</span><span class="ActionScriptDefault_Text">String</span><span class="ActionScriptBracket/Brace">></span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">Vector</span><span class="ActionScriptBracket/Brace">.<</span><span class="ActionScriptDefault_Text">String</span><span class="ActionScriptBracket/Brace">></span>;
+ <span class="ActionScriptDefault_Text">args</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">push</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"www.adobe.com"</span><span class="ActionScriptBracket/Brace">)</span>; <span class="ActionScriptComment">// what we're pinging
+</span> <span class="ActionScriptDefault_Text">nativeProcessStartupInfo</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">arguments</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">args</span>;
+ <span class="ActionScriptDefault_Text">process</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">NativeProcess</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">process</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">start</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">nativeProcessStartupInfo</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptDefault_Text">process</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ProgressEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">STANDARD_OUTPUT_DATA</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">stdoutHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">process</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ProgressEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">STANDARD_ERROR_DATA</span><span class="ActionScriptOperator">,</span><span class="ActionScriptDefault_Text">errorHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">catch</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">Error</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">message</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptString">"Error"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">stdoutHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">ProgressEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">process</span>:<span class="ActionScriptDefault_Text">NativeProcess</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">target</span> <span class="ActionScriptReserved">as</span> <span class="ActionScriptDefault_Text">NativeProcess</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptDefault_Text">String</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">process</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">standardOutput</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">readUTFBytes</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">process</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">standardOutput</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bytesAvailable</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">log</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptDefault_Text">data</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">errorHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">ProgressEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">process</span>:<span class="ActionScriptDefault_Text">NativeProcess</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">target</span> <span class="ActionScriptReserved">as</span> <span class="ActionScriptDefault_Text">NativeProcess</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptDefault_Text">String</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">process</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">standardError</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">readUTFBytes</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">process</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">standardError</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bytesAvailable</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">log</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptDefault_Text">data</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:Panel</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" title="</span><span class="MXMLString">NativeProcess Sample</span><span class="MXMLDefault_Text">" skinClass="</span><span class="MXMLString">skins.TDFPanelSkin</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> left="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">" top="</span><span class="MXMLString">7</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">470</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">justify</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">"
+ text="</span><span class="MXMLString">The NativeProcess feature allows you to invoke any executable found on your Operating System. You can provide the necessary
+startup data and arguments for the executable using the NativeProcessStartupInfo class. This sample shows how it can be used to run a native ping
+against www.adobe.com using the default path for ping on your OS.</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> left="</span><span class="MXMLString">100</span><span class="MXMLDefault_Text">" bottom="</span><span class="MXMLString">65</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">300</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Trace:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextArea</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">log</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" editable="</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+
+ <span class="MXMLComponent_Tag"><s:HGroup</span><span class="MXMLDefault_Text"> bottom="</span><span class="MXMLString">30</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Run</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">runProcess</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Stop</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">process</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">exit</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;<span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Clear</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">log</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptOperator">=</span><span class="ActionScriptString">''</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"></s:Panel></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/source/skins/TDFPanelSkin.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/source/skins/TDFPanelSkin.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/source/skins/TDFPanelSkin.mxml.html
new file mode 100644
index 0000000..df79d11
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/source/skins/TDFPanelSkin.mxml.html
@@ -0,0 +1,147 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta http-equiv="Content-Style-Type" content="text/css">
+ <title>TDFPanelSkin.mxml</title>
+ <meta name="Generator" content="Cocoa HTML Writer">
+ <meta name="CocoaVersion" content="1187.4">
+ <style type="text/css">
+ p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier}
+ p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; color: #941100}
+ p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; min-height: 15.0px}
+ p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px}
+ </style>
+</head>
+<body>
+<p class="p1"><?xml version="1.0" encoding="utf-8"?></p>
+<p class="p2"><!--</p>
+<p class="p3"><br></p>
+<p class="p2">Licensed to the Apache Software Foundation (ASF) under one or more</p>
+<p class="p2">contributor license agreements.<span class="Apple-converted-space"> </span>See the NOTICE file distributed with</p>
+<p class="p2">this work for additional information regarding copyright ownership.</p>
+<p class="p2">The ASF licenses this file to You under the Apache License, Version 2.0</p>
+<p class="p2">(the "License"); you may not use this file except in compliance with</p>
+<p class="p2">the License.<span class="Apple-converted-space"> </span>You may obtain a copy of the License at</p>
+<p class="p3"><br></p>
+<p class="p2">http://www.apache.org/licenses/LICENSE-2.0</p>
+<p class="p3"><br></p>
+<p class="p2">Unless required by applicable law or agreed to in writing, software</p>
+<p class="p2">distributed under the License is distributed on an "AS IS" BASIS,</p>
+<p class="p2">WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</p>
+<p class="p2">See the License for the specific language governing permissions and</p>
+<p class="p2">limitations under the License.</p>
+<p class="p3"><br></p>
+<p class="p2">--></p>
+<p class="p4"><br></p>
+<p class="p1"><s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"<span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span>alpha.disabled="0.5" minWidth="131" minHeight="127"></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><fx:Metadata></p>
+<p class="p1"><span class="Apple-converted-space"> </span>[HostComponent("spark.components.Panel")]</p>
+<p class="p1"><span class="Apple-converted-space"> </span></fx:Metadata><span class="Apple-converted-space"> </span></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:states></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normal" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabled" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normalWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabledWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:states></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- drop shadow --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" top="0" right="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:DropShadowFilter blurX="15" blurY="15" alpha="0.18" distance="11" angle="90" knockout="true" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: border --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColorStroke color="0" alpha="0.50" weight="1" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: background fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" height="15"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradient rotation="90"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xE2E2E2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradient></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: contents --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group left="1" right="1" top="1" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:VerticalLayout gap="0" horizontalAlign="justify" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="topGroup" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: title bar fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- Note: We have custom skinned the title bar to be solid black for Tour de Flex --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbFill" left="0" right="0" top="0" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: title bar highlight --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradientStroke rotation="90" weight="1"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xEAEAEA" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xD9D9D9" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradientStroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: title bar divider --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xC0C0C0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: text --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Label id="titleDisplay" maxDisplayedLines="1"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>left="9" right="3" top="1" minHeight="30"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>verticalAlign="middle" fontWeight="bold" color="#E2E2E2"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Label></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="bottomGroup" minWidth="0" minHeight="0"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>includeIn="normalWithControlBar, disabledWithControlBar" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: control bar background --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" top="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xE2EdF7" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: control bar divider line --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" height="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xD1E0F2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: control bar --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"></s:Skin></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/TDFPanelSkin.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/TDFPanelSkin.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/TDFPanelSkin.mxml.html
new file mode 100644
index 0000000..df79d11
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/TDFPanelSkin.mxml.html
@@ -0,0 +1,147 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta http-equiv="Content-Style-Type" content="text/css">
+ <title>TDFPanelSkin.mxml</title>
+ <meta name="Generator" content="Cocoa HTML Writer">
+ <meta name="CocoaVersion" content="1187.4">
+ <style type="text/css">
+ p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier}
+ p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; color: #941100}
+ p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; min-height: 15.0px}
+ p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px}
+ </style>
+</head>
+<body>
+<p class="p1"><?xml version="1.0" encoding="utf-8"?></p>
+<p class="p2"><!--</p>
+<p class="p3"><br></p>
+<p class="p2">Licensed to the Apache Software Foundation (ASF) under one or more</p>
+<p class="p2">contributor license agreements.<span class="Apple-converted-space"> </span>See the NOTICE file distributed with</p>
+<p class="p2">this work for additional information regarding copyright ownership.</p>
+<p class="p2">The ASF licenses this file to You under the Apache License, Version 2.0</p>
+<p class="p2">(the "License"); you may not use this file except in compliance with</p>
+<p class="p2">the License.<span class="Apple-converted-space"> </span>You may obtain a copy of the License at</p>
+<p class="p3"><br></p>
+<p class="p2">http://www.apache.org/licenses/LICENSE-2.0</p>
+<p class="p3"><br></p>
+<p class="p2">Unless required by applicable law or agreed to in writing, software</p>
+<p class="p2">distributed under the License is distributed on an "AS IS" BASIS,</p>
+<p class="p2">WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</p>
+<p class="p2">See the License for the specific language governing permissions and</p>
+<p class="p2">limitations under the License.</p>
+<p class="p3"><br></p>
+<p class="p2">--></p>
+<p class="p4"><br></p>
+<p class="p1"><s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"<span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span>alpha.disabled="0.5" minWidth="131" minHeight="127"></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><fx:Metadata></p>
+<p class="p1"><span class="Apple-converted-space"> </span>[HostComponent("spark.components.Panel")]</p>
+<p class="p1"><span class="Apple-converted-space"> </span></fx:Metadata><span class="Apple-converted-space"> </span></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:states></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normal" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabled" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normalWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabledWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:states></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- drop shadow --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" top="0" right="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:DropShadowFilter blurX="15" blurY="15" alpha="0.18" distance="11" angle="90" knockout="true" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: border --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColorStroke color="0" alpha="0.50" weight="1" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: background fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" height="15"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradient rotation="90"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xE2E2E2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradient></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: contents --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group left="1" right="1" top="1" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:VerticalLayout gap="0" horizontalAlign="justify" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="topGroup" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: title bar fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- Note: We have custom skinned the title bar to be solid black for Tour de Flex --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbFill" left="0" right="0" top="0" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: title bar highlight --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradientStroke rotation="90" weight="1"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xEAEAEA" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xD9D9D9" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradientStroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: title bar divider --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xC0C0C0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: text --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Label id="titleDisplay" maxDisplayedLines="1"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>left="9" right="3" top="1" minHeight="30"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>verticalAlign="middle" fontWeight="bold" color="#E2E2E2"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Label></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="bottomGroup" minWidth="0" minHeight="0"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>includeIn="normalWithControlBar, disabledWithControlBar" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: control bar background --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" top="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xE2EdF7" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: control bar divider line --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" height="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xD1E0F2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: control bar --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"></s:Skin></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/sample.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/sample.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/sample.mxml.html
new file mode 100644
index 0000000..31bcce6
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/sample.mxml.html
@@ -0,0 +1,85 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>sample.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ErrorEvent</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">MouseEvent</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">net</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">NetworkInfo</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">net</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">NetworkInterface</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">UncaughtErrorEvent</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">collections</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ArrayCollection</span>;
+
+ <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Bindable</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">ac</span>:<span class="ActionScriptDefault_Text">ArrayCollection</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">ArrayCollection</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">button1_clickHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">MouseEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">ni</span>:<span class="ActionScriptDefault_Text">NetworkInfo</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">NetworkInfo</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">networkInfo</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">interfaceVector</span>:<span class="ActionScriptDefault_Text">Vector</span><span class="ActionScriptBracket/Brace">.<</span><span class="ActionScriptDefault_Text">NetworkInterface</span><span class="ActionScriptBracket/Brace">></span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">ni</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">findInterfaces</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptReserved">for each</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">item</span>:<span class="ActionScriptDefault_Text">NetworkInterface</span> <span class="ActionScriptReserved">in</span> <span class="ActionScriptDefault_Text">interfaceVector</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">ac</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addItem</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">item</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">addressFunction</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">item</span>:<span class="ActionScriptDefault_Text">Object</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">column</span>:<span class="ActionScriptDefault_Text">DataGridColumn</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptDefault_Text">String</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">NetworkInterface</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">item</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addresses</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">length</span> <span class="ActionScriptOperator">></span> 0<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">return</span> <span class="ActionScriptDefault_Text">NetworkInterface</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">item</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addresses</span><span class="ActionScriptBracket/Brace">[</span>0<span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">address</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptReserved">return</span> <span class="ActionScriptString">""</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:Panel</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" title="</span><span class="MXMLString">NetworkInfo Sample</span><span class="MXMLDefault_Text">" skinClass="</span><span class="MXMLString">skins.TDFPanelSkin</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">98%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">98%</span><span class="MXMLDefault_Text">" top="</span><span class="MXMLString">5</span><span class="MXMLDefault_Text">" left="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Find Network Interfaces</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">button1_clickHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><mx:DataGrid</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">dataGrid</span><span class="MXMLDefault_Text">" dataProvider="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">ac</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">650</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">120</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:columns></span>
+ <span class="MXMLComponent_Tag"><mx:DataGridColumn</span><span class="MXMLDefault_Text"> dataField="</span><span class="MXMLString">name</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><mx:DataGridColumn</span><span class="MXMLDefault_Text"> dataField="</span><span class="MXMLString">hardwareAddress</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">140</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><mx:DataGridColumn</span><span class="MXMLDefault_Text"> dataField="</span><span class="MXMLString">active</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">70</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><mx:DataGridColumn</span><span class="MXMLDefault_Text"> dataField="</span><span class="MXMLString">addresses</span><span class="MXMLDefault_Text">" labelFunction="</span><span class="MXMLString">addressFunction</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">150</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><mx:DataGridColumn</span><span class="MXMLDefault_Text"> dataField="</span><span class="MXMLString">mtu</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></mx:columns></span>
+ <span class="MXMLComponent_Tag"></mx:DataGrid></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">650</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">justify</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">"
+ text="</span><span class="MXMLString">The NetworkInfo class provides information about the network interfaces on a computer. Most computers
+ have one or more interfaces, such as a wired and a wireless network interface. Additional interfaces such as VPN, loopback, or virtual interfaces may also be present. Click
+ the Find Network Interfaces button to display your current interfaces.</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+ <span class="MXMLComponent_Tag"></s:Panel></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/Sample-AIR2-NetworkInfo/src/sample-app.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/Sample-AIR2-NetworkInfo/src/sample-app.xml b/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/Sample-AIR2-NetworkInfo/src/sample-app.xml
new file mode 100755
index 0000000..58d0d2e
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/Sample-AIR2-NetworkInfo/src/sample-app.xml
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>NetworkInfoSample</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>Network Info Sample</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>Network Info Sample</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width in pixels. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height in pixels. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/Sample-AIR2-NetworkInfo/src/sample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/Sample-AIR2-NetworkInfo/src/sample.mxml b/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/Sample-AIR2-NetworkInfo/src/sample.mxml
new file mode 100755
index 0000000..1fd89c8
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/Sample-AIR2-NetworkInfo/src/sample.mxml
@@ -0,0 +1,78 @@
+<!--
+
+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.
+
+-->
+<mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:s="library://ns.adobe.com/flex/spark"
+ xmlns:mx="library://ns.adobe.com/flex/mx"
+ styleName="plain" width="100%" height="100%">
+
+ <fx:Script>
+ <![CDATA[
+ import flash.events.ErrorEvent;
+ import flash.events.MouseEvent;
+ import flash.net.NetworkInfo;
+ import flash.net.NetworkInterface;
+ import flash.events.UncaughtErrorEvent;
+
+ import mx.collections.ArrayCollection;
+
+ [Bindable]
+ private var ac:ArrayCollection = new ArrayCollection();
+
+ protected function button1_clickHandler(event:MouseEvent):void
+ {
+ var ni:NetworkInfo = NetworkInfo.networkInfo;
+ var interfaceVector:Vector.<NetworkInterface> = ni.findInterfaces();
+
+ for each (var item:NetworkInterface in interfaceVector)
+ {
+ ac.addItem(item);
+ }
+ }
+
+ protected function addressFunction(item:Object, column:DataGridColumn):String
+ {
+ if (NetworkInterface(item).addresses.length > 0)
+ {
+ return NetworkInterface(item).addresses[0].address;
+ }
+ else return "";
+ }
+ ]]>
+ </fx:Script>
+
+ <s:Panel width="100%" height="100%" title="NetworkInfo Sample" skinClass="skins.TDFPanelSkin">
+ <s:VGroup width="98%" height="98%" top="5" left="10">
+ <s:Button label="Find Network Interfaces" click="button1_clickHandler(event)"/>
+ <mx:DataGrid id="dataGrid" dataProvider="{ac}" width="650" height="120">
+ <mx:columns>
+ <mx:DataGridColumn dataField="name"/>
+ <mx:DataGridColumn dataField="hardwareAddress" width="140"/>
+ <mx:DataGridColumn dataField="active" width="70"/>
+ <mx:DataGridColumn dataField="addresses" labelFunction="addressFunction" width="150"/>
+ <mx:DataGridColumn dataField="mtu"/>
+ </mx:columns>
+ </mx:DataGrid>
+ <s:Label width="650" verticalAlign="justify" color="#323232"
+ text="The NetworkInfo class provides information about the network interfaces on a computer. Most computers
+ have one or more interfaces, such as a wired and a wireless network interface. Additional interfaces such as VPN, loopback, or virtual interfaces may also be present. Click
+ the Find Network Interfaces button to display your current interfaces."/>
+ </s:VGroup>
+ </s:Panel>
+
+</mx:Module>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/Sample-AIR2-NetworkInfo/src/skins/TDFPanelSkin.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/Sample-AIR2-NetworkInfo/src/skins/TDFPanelSkin.mxml b/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/Sample-AIR2-NetworkInfo/src/skins/TDFPanelSkin.mxml
new file mode 100644
index 0000000..ff46524
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/Sample-AIR2-NetworkInfo/src/skins/TDFPanelSkin.mxml
@@ -0,0 +1,130 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+
+
+<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+ alpha.disabled="0.5" minWidth="131" minHeight="127">
+
+ <fx:Metadata>
+ [HostComponent("spark.components.Panel")]
+ </fx:Metadata>
+
+ <s:states>
+ <s:State name="normal" />
+ <s:State name="disabled" />
+ <s:State name="normalWithControlBar" />
+ <s:State name="disabledWithControlBar" />
+ </s:states>
+
+ <!-- drop shadow -->
+ <s:Rect left="0" top="0" right="0" bottom="0">
+ <s:filters>
+ <s:DropShadowFilter blurX="15" blurY="15" alpha="0.18" distance="11" angle="90" knockout="true" />
+ </s:filters>
+ <s:fill>
+ <s:SolidColor color="0" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 1: border -->
+ <s:Rect left="0" right="0" top="0" bottom="0">
+ <s:stroke>
+ <s:SolidColorStroke color="0" alpha="0.50" weight="1" />
+ </s:stroke>
+ </s:Rect>
+
+ <!-- layer 2: background fill -->
+ <s:Rect left="0" right="0" bottom="0" height="15">
+ <s:fill>
+ <s:LinearGradient rotation="90">
+ <s:GradientEntry color="0xE2E2E2" />
+ <s:GradientEntry color="0x000000" />
+ </s:LinearGradient>
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 3: contents -->
+ <s:Group left="1" right="1" top="1" bottom="1" >
+ <s:layout>
+ <s:VerticalLayout gap="0" horizontalAlign="justify" />
+ </s:layout>
+
+ <s:Group id="topGroup" >
+ <!-- layer 0: title bar fill -->
+ <!-- Note: We have custom skinned the title bar to be solid black for Tour de Flex -->
+ <s:Rect id="tbFill" left="0" right="0" top="0" bottom="1" >
+ <s:fill>
+ <s:SolidColor color="0x000000" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 1: title bar highlight -->
+ <s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0" >
+ <s:stroke>
+ <s:LinearGradientStroke rotation="90" weight="1">
+ <s:GradientEntry color="0xEAEAEA" />
+ <s:GradientEntry color="0xD9D9D9" />
+ </s:LinearGradientStroke>
+ </s:stroke>
+ </s:Rect>
+
+ <!-- layer 2: title bar divider -->
+ <s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0">
+ <s:fill>
+ <s:SolidColor color="0xC0C0C0" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 3: text -->
+ <s:Label id="titleDisplay" maxDisplayedLines="1"
+ left="9" right="3" top="1" minHeight="30"
+ verticalAlign="middle" fontWeight="bold" color="#E2E2E2">
+ </s:Label>
+
+ </s:Group>
+
+ <s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0">
+ </s:Group>
+
+ <s:Group id="bottomGroup" minWidth="0" minHeight="0"
+ includeIn="normalWithControlBar, disabledWithControlBar" >
+ <!-- layer 0: control bar background -->
+ <s:Rect left="0" right="0" bottom="0" top="1" >
+ <s:fill>
+ <s:SolidColor color="0xE2EdF7" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 1: control bar divider line -->
+ <s:Rect left="0" right="0" top="0" height="1" >
+ <s:fill>
+ <s:SolidColor color="0xD1E0F2" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 2: control bar -->
+ <s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0">
+ <s:layout>
+ <s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" />
+ </s:layout>
+ </s:Group>
+ </s:Group>
+ </s:Group>
+</s:Skin>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/SourceIndex.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/SourceIndex.xml b/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/SourceIndex.xml
new file mode 100644
index 0000000..942527c
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/NetworkInfo/srcview/SourceIndex.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ 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.
+
+-->
+<index>
+ <title>Source of Sample-AIR2-NetworkInfo</title>
+ <nodes>
+ <node label="libs">
+ </node>
+ <node label="src">
+ <node icon="packageIcon" label="skins" expanded="true">
+ <node icon="mxmlIcon" label="TDFPanelSkin.mxml" url="source/skins/TDFPanelSkin.mxml.html"/>
+ </node>
+ <node label="sample-app.xml" url="source/sample-app.xml.txt"/>
+ <node icon="mxmlAppIcon" selected="true" label="sample.mxml" url="source/sample.mxml.html"/>
+ </node>
+ </nodes>
+ <zipfile label="Download source (ZIP, 7K)" url="Sample-AIR2-NetworkInfo.zip">
+ </zipfile>
+ <sdklink label="Download Flex SDK" url="http://www.adobe.com/go/flex4_sdk_download">
+ </sdklink>
+</index>
[08/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/SocketClient.as.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/SocketClient.as.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/SocketClient.as.html
new file mode 100644
index 0000000..fa93516
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/SocketClient.as.html
@@ -0,0 +1,140 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>SocketClient.as</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="ActionScriptpackage">package</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ErrorEvent</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Event</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">IOErrorEvent</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ProgressEvent</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">net</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Socket</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">utils</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ByteArray</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">controls</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Alert</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">spark</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">components</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">TextArea</span>;
+
+ <span class="ActionScriptReserved">public</span> <span class="ActionScriptclass">class</span> <span class="ActionScriptDefault_Text">SocketClient</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">serverURL</span>:<span class="ActionScriptDefault_Text">String</span>;
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">portNumber</span>:<span class="ActionScriptDefault_Text">int</span>;
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">socket</span>:<span class="ActionScriptDefault_Text">Socket</span>;
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">ta</span>:<span class="ActionScriptDefault_Text">TextArea</span>;
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">state</span>:<span class="ActionScriptDefault_Text">int</span> <span class="ActionScriptOperator">=</span> 0;
+
+
+ <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">SocketClient</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">server</span>:<span class="ActionScriptDefault_Text">String</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">port</span>:<span class="ActionScriptDefault_Text">int</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">output</span>:<span class="ActionScriptDefault_Text">TextArea</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">serverURL</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">server</span>;
+ <span class="ActionScriptDefault_Text">portNumber</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">port</span>;
+ <span class="ActionScriptDefault_Text">ta</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">output</span>;
+
+ <span class="ActionScriptDefault_Text">socket</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">Socket</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptReserved">try</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">msg</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Connecting to "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">serverURL</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">":"</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">portNumber</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">"\n"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">socket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">connect</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">serverURL</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">portNumber</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">catch</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">error</span>:<span class="ActionScriptDefault_Text">Error</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">msg</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">error</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">message</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">"\n"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">socket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">close</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptDefault_Text">socket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">CONNECT</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">connectHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">socket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">CLOSE</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">closeHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">socket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ErrorEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ERROR</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">errorHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">socket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">IOErrorEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">IO_ERROR</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">ioErrorHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">socket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ProgressEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SOCKET_DATA</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">dataHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">closeSocket</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">try</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">socket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">flush</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">socket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">close</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">catch</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">error</span>:<span class="ActionScriptDefault_Text">Error</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">msg</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">error</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">message</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">writeToSocket</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ba</span>:<span class="ActionScriptDefault_Text">ByteArray</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">try</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">socket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">writeBytes</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ba</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">socket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">flush</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">catch</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">error</span>:<span class="ActionScriptDefault_Text">Error</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">msg</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">error</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">message</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">msg</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">value</span>:<span class="ActionScriptDefault_Text">String</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptDefault_Text">value</span><span class="ActionScriptOperator">+</span> <span class="ActionScriptString">"\n"</span>;
+ <span class="ActionScriptDefault_Text">setScroll</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">setScroll</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">scrollToRange</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">y</span><span class="ActionScriptOperator">+</span>20<span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">connectHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">msg</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Socket Connected"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">closeHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">msg</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Socket Closed"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">errorHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">ErrorEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">msg</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Error "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">ioErrorHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">IOErrorEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">msg</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"IO Error "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" check to make sure the socket server is running."</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">dataHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">ProgressEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">msg</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Data Received - total bytes "</span> <span class="ActionScriptOperator">+</span><span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bytesTotal</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" "</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">bytes</span>:<span class="ActionScriptDefault_Text">ByteArray</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">ByteArray</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">socket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">readBytes</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">bytes</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">msg</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Bytes received "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">bytes</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">bytes</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+<span class="ActionScriptBracket/Brace">}</span>
+</pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/SocketClientSample.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/SocketClientSample.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/SocketClientSample.mxml.html
new file mode 100644
index 0000000..b1c6efd
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/SocketClientSample.mxml.html
@@ -0,0 +1,95 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>SocketClientSample.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">utils</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ByteArray</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">controls</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Alert</span>;
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">client</span>:<span class="ActionScriptDefault_Text">SocketClient</span>; <span class="ActionScriptComment">// source code included in SocketClient.as
+</span>
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">connect</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">client</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">SocketClient</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">server</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">int</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">port</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">log</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">sendBytes</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">bytes</span>:<span class="ActionScriptDefault_Text">ByteArray</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">ByteArray</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">bytes</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">writeUTFBytes</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">command</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">"\n"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">client</span> <span class="ActionScriptOperator">!=</span> <span class="ActionScriptReserved">null</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Writing to socket"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">client</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">writeToSocket</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">bytes</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">else</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">connect</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">sendBytes</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptDefault_Text">command</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">""</span>;
+
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> paddingLeft="</span><span class="MXMLString">6</span><span class="MXMLDefault_Text">" paddingTop="</span><span class="MXMLString">6</span><span class="MXMLDefault_Text">" paddingBottom="</span><span class="MXMLString">6</span><span class="MXMLDefault_Text">" paddingRight="</span><span class="MXMLString">6</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:HGroup</span><span class="MXMLDefault_Text"> left="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" top="</span><span class="MXMLString">5</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">middle</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Server:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextInput</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">server</span><span class="MXMLDefault_Text">" text="</span><span class="MXMLString">localhost</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Port #:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextInput</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">port</span><span class="MXMLDefault_Text">" text="</span><span class="MXMLString">1235</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">go</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">Connect</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">connect</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">closeSocket</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">Disconnect</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">client</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">closeSocket</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> left="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" top="</span><span class="MXMLString">40</span><span class="MXMLDefault_Text">" horizontalAlign="</span><span class="MXMLString">left</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Enter text to send to the socket server and press send:</span><span class="MXMLDefault_Text">" fontSize="</span><span class="MXMLString">12</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:HGroup></span>
+ <span class="MXMLComponent_Tag"><s:TextInput</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">command</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">300</span><span class="MXMLDefault_Text">" enter="</span><span class="ActionScriptDefault_Text">sendBytes</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">send</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">Send</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">sendBytes</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">justify</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">" bottom="</span><span class="MXMLString">9</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">"
+ text="</span><span class="MXMLString">The ServerSocket class allows code to act as a server for Transport Control Protocol (TCP) connections. A TCP server
+listens for incoming connections from remote clients. When a client attempts to connect, the ServerSocket dispatches a connect event. Run
+the SocketServerSample application first and click 'Listen' to start listening on the server and port information above. When data is sent
+from the client it will show up in the log running the socket server app.</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> top="</span><span class="MXMLString">88</span><span class="MXMLDefault_Text">" left="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Console:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextArea</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">log</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">600</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">70</span><span class="MXMLDefault_Text">" editable="</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/SocketServerSample.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/SocketServerSample.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/SocketServerSample.mxml.html
new file mode 100644
index 0000000..c7eed0f
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/SocketServerSample.mxml.html
@@ -0,0 +1,116 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>SocketServerSample.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Event</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">MouseEvent</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ProgressEvent</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ServerSocketConnectEvent</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">net</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ServerSocket</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">net</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Socket</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">utils</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ByteArray</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">controls</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Alert</span>;
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">serverSocket</span>:<span class="ActionScriptDefault_Text">ServerSocket</span>;
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">listen</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">try</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">serverSocket</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">ServerSocket</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">serverSocket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">CONNECT</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">socketConnectHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">serverSocket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">CLOSE</span><span class="ActionScriptOperator">,</span><span class="ActionScriptDefault_Text">socketCloseHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">serverSocket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bind</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Number</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">port</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">serverSocket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">listen</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">log</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"Listening on port "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">port</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">"...\n"</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">catch</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">error</span>:<span class="ActionScriptDefault_Text">Error</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Port "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">port</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" may be in use. Enter another port number and try again.\n("</span> <span class="ActionScriptOperator">+</span>
+ <span class="ActionScriptDefault_Text">error</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">message</span> <span class="ActionScriptOperator">+</span><span class="ActionScriptString">")"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptString">"Error"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">socketConnectHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">ServerSocketConnectEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">socket</span>:<span class="ActionScriptDefault_Text">Socket</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">socket</span>;
+ <span class="ActionScriptDefault_Text">socket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ProgressEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SOCKET_DATA</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">socketDataHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">socketDataHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">ProgressEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">try</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">socket</span>:<span class="ActionScriptDefault_Text">Socket</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">target</span> <span class="ActionScriptReserved">as</span> <span class="ActionScriptDefault_Text">Socket</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">bytes</span>:<span class="ActionScriptDefault_Text">ByteArray</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">ByteArray</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">socket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">readBytes</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">bytes</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">log</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">""</span><span class="ActionScriptOperator">+</span><span class="ActionScriptDefault_Text">bytes</span>;
+ <span class="ActionScriptDefault_Text">socket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">flush</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">catch</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">error</span>:<span class="ActionScriptDefault_Text">Error</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">error</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">message</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptString">"Error"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">buttonClose_clickHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">MouseEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">try</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">serverSocket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">close</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">catch</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">error</span>:<span class="ActionScriptDefault_Text">Error</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">error</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">message</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptString">"Error on close"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">socketCloseHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">log</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"Socket Closed"</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> paddingTop="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" paddingLeft="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" paddingRight="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" paddingBottom="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:HGroup</span><span class="MXMLDefault_Text"> verticalAlign="</span><span class="MXMLString">middle</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Port:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextInput</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">port</span><span class="MXMLDefault_Text">" text="</span><span class="MXMLString">8888</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">50</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Listen</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">listen</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Close Socket</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">buttonClose_clickHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+
+ <span class="MXMLComponent_Tag"><s:TextArea</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">log</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" </span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/Sample-AIR2-SocketServer/src/SocketClient.as
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/Sample-AIR2-SocketServer/src/SocketClient.as b/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/Sample-AIR2-SocketServer/src/SocketClient.as
new file mode 100644
index 0000000..4c343b6
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/Sample-AIR2-SocketServer/src/SocketClient.as
@@ -0,0 +1,131 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package {
+ import flash.events.ErrorEvent;
+ import flash.events.Event;
+ import flash.events.IOErrorEvent;
+ import flash.events.ProgressEvent;
+ import flash.net.Socket;
+ import flash.utils.ByteArray;
+
+ import mx.controls.Alert;
+
+ import spark.components.TextArea;
+
+ public class SocketClient
+ {
+ private var serverURL:String;
+ private var portNumber:int;
+ private var socket:Socket;
+ private var ta:TextArea;
+ private var state:int = 0;
+
+
+ public function SocketClient(server:String, port:int, output:TextArea)
+ {
+ serverURL = server;
+ portNumber = port;
+ ta = output;
+
+ socket = new Socket();
+
+ try
+ {
+ msg("Connecting to " + serverURL + ":" + portNumber + "\n");
+ socket.connect(serverURL, portNumber);
+ }
+ catch (error:Error)
+ {
+ msg(error.message + "\n");
+ socket.close();
+ }
+ socket.addEventListener(Event.CONNECT, connectHandler);
+ socket.addEventListener(Event.CLOSE, closeHandler);
+ socket.addEventListener(ErrorEvent.ERROR, errorHandler);
+ socket.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
+ socket.addEventListener(ProgressEvent.SOCKET_DATA, dataHandler);
+
+ }
+
+ public function closeSocket():void
+ {
+ try {
+ socket.flush();
+ socket.close();
+ }
+ catch (error:Error)
+ {
+ msg(error.message);
+ }
+ }
+
+ public function writeToSocket(ba:ByteArray):void
+ {
+ try {
+ socket.writeBytes(ba);
+ socket.flush();
+ }
+ catch (error:Error)
+ {
+ msg(error.message);
+
+ }
+ }
+
+ private function msg(value:String):void
+ {
+ ta.text += value+ "\n";
+ setScroll();
+ }
+
+ public function setScroll():void
+ {
+ ta.scrollToRange(ta.y+20);
+ }
+
+ public function connectHandler(e:Event):void
+ {
+ msg("Socket Connected");
+ }
+
+ public function closeHandler(e:Event):void
+ {
+ msg("Socket Closed");
+ }
+
+ public function errorHandler(e:ErrorEvent):void
+ {
+ msg("Error " + e.text);
+ }
+
+ public function ioErrorHandler(e:IOErrorEvent):void
+ {
+ msg("IO Error " + e.text + " check to make sure the socket server is running.");
+ }
+
+ public function dataHandler(e:ProgressEvent):void
+ {
+ msg("Data Received - total bytes " +e.bytesTotal + " ");
+ var bytes:ByteArray = new ByteArray();
+ socket.readBytes(bytes);
+ msg("Bytes received " + bytes);
+ trace(bytes);
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/Sample-AIR2-SocketServer/src/SocketClientSample-app.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/Sample-AIR2-SocketServer/src/SocketClientSample-app.xml b/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/Sample-AIR2-SocketServer/src/SocketClientSample-app.xml
new file mode 100755
index 0000000..8f46d6f
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/Sample-AIR2-SocketServer/src/SocketClientSample-app.xml
@@ -0,0 +1,156 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta2
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>SocketClientSample</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>SocketClientSample</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>SocketClientSample</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
+ <!-- <publisherID></publisherID> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width in pixels. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height in pixels. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/Sample-AIR2-SocketServer/src/SocketClientSample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/Sample-AIR2-SocketServer/src/SocketClientSample.mxml b/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/Sample-AIR2-SocketServer/src/SocketClientSample.mxml
new file mode 100644
index 0000000..7f35bc5
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/Sample-AIR2-SocketServer/src/SocketClientSample.mxml
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:s="library://ns.adobe.com/flex/spark"
+ xmlns:mx="library://ns.adobe.com/flex/mx"
+ styleName="plain" width="100%" height="100%">
+
+ <fx:Script>
+ <![CDATA[
+ import flash.utils.ByteArray;
+ import mx.controls.Alert;
+
+ private var client:SocketClient; // source code included in SocketClient.as
+
+ private function connect():void
+ {
+ client = new SocketClient(server.text, int(port.text), log);
+ }
+
+ private function sendBytes():void
+ {
+ var bytes:ByteArray = new ByteArray();
+ bytes.writeUTFBytes(command.text + "\n");
+ if (client != null)
+ {
+ trace("Writing to socket");
+ client.writeToSocket(bytes);
+ }
+ else
+ {
+
+ connect();
+ sendBytes();
+ }
+ command.text = "";
+
+ }
+ ]]>
+ </fx:Script>
+
+ <s:VGroup paddingLeft="6" paddingTop="6" paddingBottom="6" paddingRight="6">
+ <s:HGroup left="8" top="5" verticalAlign="middle">
+ <s:Label text="Server:"/>
+ <s:TextInput id="server" text="localhost"/>
+ <s:Label text="Port #:"/>
+ <s:TextInput id="port" text="1235"/>
+ <s:Button id="go" label="Connect" click="connect()"/>
+ <s:Button id="closeSocket" label="Disconnect" click="client.closeSocket()"/>
+ </s:HGroup>
+
+ <s:VGroup left="8" top="40" >
+ <s:Label text="Enter text to send to the socket server and press send:" fontSize="12"/>
+ <s:HGroup>
+ <s:TextInput id="command" width="300" enter="sendBytes()"/>
+ <s:Button id="send" label="Send" click="sendBytes()"/>
+ </s:HGroup>
+ </s:VGroup>
+
+ <s:Label width="500" verticalAlign="justify" color="#323232" bottom="9" horizontalCenter="0"
+ text="The ServerSocket class allows code to act as a server for Transport Control Protocol (TCP) connections. A TCP server
+listens for incoming connections from remote clients. When a client attempts to connect, the ServerSocket dispatches a connect event. Run
+the SocketServerSample application first and click 'Listen' to start listening on the server and port information above. When data is sent
+from the client it will show up in the log running the socket server app."/>
+
+ <s:VGroup top="88" left="8">
+ <s:Label text="Console:"/>
+ <s:TextArea id="log" width="500" height="100" editable="false"/>
+ </s:VGroup>
+ </s:VGroup>
+
+
+
+</mx:Module>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/Sample-AIR2-SocketServer/src/SocketServerSample-app.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/Sample-AIR2-SocketServer/src/SocketServerSample-app.xml b/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/Sample-AIR2-SocketServer/src/SocketServerSample-app.xml
new file mode 100755
index 0000000..1767950
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/Sample-AIR2-SocketServer/src/SocketServerSample-app.xml
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>SocketServerSample</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>SocketServerSample</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>SocketServerSample</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width in pixels. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height in pixels. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/Sample-AIR2-SocketServer/src/SocketServerSample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/Sample-AIR2-SocketServer/src/SocketServerSample.mxml b/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/Sample-AIR2-SocketServer/src/SocketServerSample.mxml
new file mode 100644
index 0000000..d9f24da
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/Sample-AIR2-SocketServer/src/SocketServerSample.mxml
@@ -0,0 +1,111 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:s="library://ns.adobe.com/flex/spark"
+ xmlns:mx="library://ns.adobe.com/flex/mx"
+ width="100%" height="100%" styleName="plain">
+
+ <fx:Script>
+ <![CDATA[
+ import flash.events.Event;
+ import flash.events.MouseEvent;
+ import flash.events.ProgressEvent;
+ import flash.events.ServerSocketConnectEvent;
+ import flash.net.ServerSocket;
+ import flash.net.Socket;
+ import flash.utils.ByteArray;
+
+ import mx.controls.Alert;
+
+ private var serverSocket:ServerSocket;
+
+ private function listen():void
+ {
+ try
+ {
+ serverSocket = new ServerSocket();
+ serverSocket.addEventListener(Event.CONNECT, socketConnectHandler);
+ serverSocket.addEventListener(Event.CLOSE,socketCloseHandler);
+ serverSocket.bind(Number(port.text));
+ serverSocket.listen();
+ log.text += "Listening on port " + port.text + "...\n";
+
+ }
+ catch (error:Error)
+ {
+ Alert.show("Port " + port.text + " may be in use. Enter another port number and try again.\n(" +
+ error.message +")", "Error");
+ }
+ }
+
+ private function socketConnectHandler(event:ServerSocketConnectEvent):void
+ {
+ var socket:Socket = event.socket;
+ log.text += "Socket connection established on port " + port.text + "...\n";
+ socket.addEventListener(ProgressEvent.SOCKET_DATA, socketDataHandler);
+ }
+
+ private function socketDataHandler(event:ProgressEvent):void
+ {
+ try
+ {
+ var socket:Socket = event.target as Socket;
+ var bytes:ByteArray = new ByteArray();
+ socket.readBytes(bytes);
+ log.text += ""+bytes;
+ socket.flush();
+ }
+ catch (error:Error)
+ {
+ Alert.show(error.message, "Error");
+ }
+ }
+
+ protected function buttonClose_clickHandler(event:MouseEvent):void
+ {
+ try {
+ serverSocket.close();
+ }
+ catch (error:Error)
+ {
+ Alert.show(error.message, "Error on close");
+ }
+ }
+ protected function socketCloseHandler(e:Event):void
+ {
+ log.text += "Socket Closed";
+ }
+
+ ]]>
+ </fx:Script>
+
+ <s:VGroup paddingTop="8" paddingLeft="8" paddingRight="8" paddingBottom="8">
+ <s:Label text="Start listening over a socket connection by clicking the listen button."/>
+ <s:HGroup verticalAlign="middle">
+ <s:Label text="Port:"/>
+ <s:TextInput id="port" text="1235" width="50"/>
+ <s:Button label="Listen" click="listen()"/>
+ <s:Button label="Close Socket" click="buttonClose_clickHandler(event)"/>
+ </s:HGroup>
+
+ <s:TextArea id="log" width="100%" height="100%" />
+ </s:VGroup>
+
+</mx:Module>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/SourceIndex.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/SourceIndex.xml b/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/SourceIndex.xml
new file mode 100644
index 0000000..d132844
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/SourceIndex.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ 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.
+
+-->
+<index>
+ <title>Source of Sample-AIR2-SocketServer</title>
+ <nodes>
+ <node label="libs">
+ </node>
+ <node label="src">
+ <node icon="actionScriptIcon" label="SocketClient.as" url="source/SocketClient.as.html"/>
+ <node label="SocketClientSample-app.xml" url="source/SocketClientSample-app.xml.txt"/>
+ <node icon="mxmlIcon" label="SocketClientSample.mxml" url="source/SocketClientSample.mxml.html"/>
+ <node label="SocketServerSample-app.xml" url="source/SocketServerSample-app.xml.txt"/>
+ <node icon="mxmlAppIcon" selected="true" label="SocketServerSample.mxml" url="source/SocketServerSample.mxml.html"/>
+ </node>
+ </nodes>
+ <zipfile label="Download source (ZIP, 9K)" url="Sample-AIR2-SocketServer.zip">
+ </zipfile>
+ <sdklink label="Download Flex SDK" url="http://www.adobe.com/go/flex4_sdk_download">
+ </sdklink>
+</index>
[21/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/source/skins/TDFPanelSkin.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/source/skins/TDFPanelSkin.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/source/skins/TDFPanelSkin.mxml.html
new file mode 100644
index 0000000..fbb0bfb
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/srcview/source/skins/TDFPanelSkin.mxml.html
@@ -0,0 +1,146 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta http-equiv="Content-Style-Type" content="text/css">
+ <title>TDFPanelSkin.mxml</title>
+ <meta name="Generator" content="Cocoa HTML Writer">
+ <meta name="CocoaVersion" content="1187.4">
+ <style type="text/css">
+ p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier}
+ p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; color: #941100}
+ p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; min-height: 15.0px}
+ p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px}
+ </style>
+</head>
+<body>
+<p class="p1"><?xml version="1.0" encoding="utf-8"?></p>
+<p class="p2"><!--</p>
+<p class="p3"><br></p>
+<p class="p2">Licensed to the Apache Software Foundation (ASF) under one or more</p>
+<p class="p2">contributor license agreements.<span class="Apple-converted-space"> </span>See the NOTICE file distributed with</p>
+<p class="p2">this work for additional information regarding copyright ownership.</p>
+<p class="p2">The ASF licenses this file to You under the Apache License, Version 2.0</p>
+<p class="p2">(the "License"); you may not use this file except in compliance with</p>
+<p class="p2">the License.<span class="Apple-converted-space"> </span>You may obtain a copy of the License at</p>
+<p class="p3"><br></p>
+<p class="p2">http://www.apache.org/licenses/LICENSE-2.0</p>
+<p class="p3"><br></p>
+<p class="p2">Unless required by applicable law or agreed to in writing, software</p>
+<p class="p2">distributed under the License is distributed on an "AS IS" BASIS,</p>
+<p class="p2">WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</p>
+<p class="p2">See the License for the specific language governing permissions and</p>
+<p class="p2">limitations under the License.</p>
+<p class="p3"><br></p>
+<p class="p2">--></p>
+<p class="p1"><s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"<span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span>alpha.disabled="0.5" minWidth="131" minHeight="127"></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><fx:Metadata></p>
+<p class="p1"><span class="Apple-converted-space"> </span>[HostComponent("spark.components.Panel")]</p>
+<p class="p1"><span class="Apple-converted-space"> </span></fx:Metadata><span class="Apple-converted-space"> </span></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:states></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normal" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabled" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normalWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabledWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:states></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- drop shadow --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" top="0" right="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:DropShadowFilter blurX="15" blurY="15" alpha="0.18" distance="11" angle="90" knockout="true" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: border --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColorStroke color="0" alpha="0.50" weight="1" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: background fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" height="15"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradient rotation="90"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xE2E2E2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradient></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: contents --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group left="1" right="1" top="1" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:VerticalLayout gap="0" horizontalAlign="justify" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="topGroup" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: title bar fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- Note: We have custom skinned the title bar to be solid black for Tour de Flex --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbFill" left="0" right="0" top="0" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: title bar highlight --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradientStroke rotation="90" weight="1"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xEAEAEA" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xD9D9D9" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradientStroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: title bar divider --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xC0C0C0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: text --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Label id="titleDisplay" maxDisplayedLines="1"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>left="9" right="3" top="1" minHeight="30"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>verticalAlign="middle" fontWeight="bold" color="#E2E2E2"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Label></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="bottomGroup" minWidth="0" minHeight="0"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>includeIn="normalWithControlBar, disabledWithControlBar" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: control bar background --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" top="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xE2EdF7" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: control bar divider line --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" height="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xD1E0F2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: control bar --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"></s:Skin></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/TDFPanelSkin.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/TDFPanelSkin.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/TDFPanelSkin.mxml.html
new file mode 100644
index 0000000..df79d11
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/TDFPanelSkin.mxml.html
@@ -0,0 +1,147 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta http-equiv="Content-Style-Type" content="text/css">
+ <title>TDFPanelSkin.mxml</title>
+ <meta name="Generator" content="Cocoa HTML Writer">
+ <meta name="CocoaVersion" content="1187.4">
+ <style type="text/css">
+ p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier}
+ p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; color: #941100}
+ p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; min-height: 15.0px}
+ p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px}
+ </style>
+</head>
+<body>
+<p class="p1"><?xml version="1.0" encoding="utf-8"?></p>
+<p class="p2"><!--</p>
+<p class="p3"><br></p>
+<p class="p2">Licensed to the Apache Software Foundation (ASF) under one or more</p>
+<p class="p2">contributor license agreements.<span class="Apple-converted-space"> </span>See the NOTICE file distributed with</p>
+<p class="p2">this work for additional information regarding copyright ownership.</p>
+<p class="p2">The ASF licenses this file to You under the Apache License, Version 2.0</p>
+<p class="p2">(the "License"); you may not use this file except in compliance with</p>
+<p class="p2">the License.<span class="Apple-converted-space"> </span>You may obtain a copy of the License at</p>
+<p class="p3"><br></p>
+<p class="p2">http://www.apache.org/licenses/LICENSE-2.0</p>
+<p class="p3"><br></p>
+<p class="p2">Unless required by applicable law or agreed to in writing, software</p>
+<p class="p2">distributed under the License is distributed on an "AS IS" BASIS,</p>
+<p class="p2">WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</p>
+<p class="p2">See the License for the specific language governing permissions and</p>
+<p class="p2">limitations under the License.</p>
+<p class="p3"><br></p>
+<p class="p2">--></p>
+<p class="p4"><br></p>
+<p class="p1"><s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"<span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span>alpha.disabled="0.5" minWidth="131" minHeight="127"></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><fx:Metadata></p>
+<p class="p1"><span class="Apple-converted-space"> </span>[HostComponent("spark.components.Panel")]</p>
+<p class="p1"><span class="Apple-converted-space"> </span></fx:Metadata><span class="Apple-converted-space"> </span></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:states></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normal" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabled" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normalWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabledWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:states></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- drop shadow --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" top="0" right="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:DropShadowFilter blurX="15" blurY="15" alpha="0.18" distance="11" angle="90" knockout="true" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: border --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColorStroke color="0" alpha="0.50" weight="1" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: background fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" height="15"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradient rotation="90"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xE2E2E2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradient></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: contents --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group left="1" right="1" top="1" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:VerticalLayout gap="0" horizontalAlign="justify" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="topGroup" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: title bar fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- Note: We have custom skinned the title bar to be solid black for Tour de Flex --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbFill" left="0" right="0" top="0" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: title bar highlight --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradientStroke rotation="90" weight="1"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xEAEAEA" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xD9D9D9" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradientStroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: title bar divider --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xC0C0C0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: text --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Label id="titleDisplay" maxDisplayedLines="1"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>left="9" right="3" top="1" minHeight="30"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>verticalAlign="middle" fontWeight="bold" color="#E2E2E2"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Label></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="bottomGroup" minWidth="0" minHeight="0"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>includeIn="normalWithControlBar, disabledWithControlBar" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: control bar background --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" top="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xE2EdF7" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: control bar divider line --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" height="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xD1E0F2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: control bar --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"></s:Skin></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/sample1.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/sample1.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/sample1.mxml.html
new file mode 100644
index 0000000..bd566fb
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/sample1.mxml.html
@@ -0,0 +1,72 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>sample1.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ creationComplete="</span><span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"
+ styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">UncaughtErrorEvent</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">controls</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Alert</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">FlexEvent</span>;
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">loaderInfo</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">uncaughtErrorEvents</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">UncaughtErrorEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">UNCAUGHT_ERROR</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">errorHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">errorHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">UncaughtErrorEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">preventDefault</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"An error has occurred and been caught by the global error handler: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">error</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">toString</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptString">"My Global Error Handler"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">overflow</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">overflow</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:Panel</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" skinClass="</span><span class="MXMLString">skins.TDFPanelSkin</span><span class="MXMLDefault_Text">" title="</span><span class="MXMLString">Global Error Handler Sample</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> top="</span><span class="MXMLString">30</span><span class="MXMLDefault_Text">" left="</span><span class="MXMLString">30</span><span class="MXMLDefault_Text">" right="</span><span class="MXMLString">30</span><span class="MXMLDefault_Text">" gap="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> verticalAlign="</span><span class="MXMLString">justify</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">85%</span><span class="MXMLDefault_Text">"
+ text="</span><span class="MXMLString">The Global Error Handler provides a means for you to catch errors at a global level, so you can now catch and handle runtime
+errors that may occur such as a stack overflow. This allows those running the Flash Player runtime version to be notified of the problem through proper handling.
+In this sample an endless loop is intentionally created to cause a stack overflow error to occur. The error is then caught and an alert is shown.</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Click on the button below to create a stack overflow error:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:HGroup></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Invoke Stack Overflow</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">overflow</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+
+ <span class="MXMLComponent_Tag"></s:Panel></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/sample2.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/sample2.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/sample2.mxml.html
new file mode 100644
index 0000000..545fb92
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/sample2.mxml.html
@@ -0,0 +1,88 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>sample2.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ creationComplete="</span><span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"
+ styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">UncaughtErrorEvent</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">controls</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Alert</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">FlexEvent</span>;
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">loaderInfo</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">uncaughtErrorEvents</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">UncaughtErrorEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">UNCAUGHT_ERROR</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">errorHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">errorHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">UncaughtErrorEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">preventDefault</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"An error has occurred and been caught by the global error handler: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">error</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">toString</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptString">"My Global Error Handler"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">loadFileWithHandling</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">f</span>:<span class="ActionScriptDefault_Text">File</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">documentsDirectory</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">resolvePath</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"http://tourdeflex.adobe.com/file-that-doesnt-exist.txt"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptComment">// The above file did not load, so when we try to access a property on it an error will be thrown
+</span> <span class="ActionScriptReserved">try</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"File "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">f</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">creationDate</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">catch</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ex</span>:<span class="ActionScriptDefault_Text">Error</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Error occurred loading files: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">ex</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">message</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptString">"My Specific File Loading Handler"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">loadFileWithoutHandling</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">f</span>:<span class="ActionScriptDefault_Text">File</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">documentsDirectory</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">resolvePath</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"http://tourdeflex.adobe.com/file-that-doesnt-exist.txt"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptComment">// The above file did not load, so when a property is accessed an error will be thrown
+</span> <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"File creation date "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">f</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">creationDate</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:Panel</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" skinClass="</span><span class="MXMLString">skins.TDFPanelSkin</span><span class="MXMLDefault_Text">" title="</span><span class="MXMLString">Global Error Handler Sample</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> top="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">" left="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">" gap="</span><span class="MXMLString">12</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">400</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">justify</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">"
+ text="</span><span class="MXMLString">This sample for showing the Global Error Handling feature tries to load various files from remote locations that it assumes
+are there. In the case where one might have been deleted or corrupt, the error is now caught. Note: any error that is not surrounded by try/catch that occurs
+can be handled in this manner where you have one global error handler for all uncaught errors.</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> bottom="</span><span class="MXMLString">200</span><span class="MXMLDefault_Text">" left="</span><span class="MXMLString">40</span><span class="MXMLDefault_Text">" text="</span><span class="MXMLString">Click on the buttons below to create an error to be handled:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:HGroup</span><span class="MXMLDefault_Text"> bottom="</span><span class="MXMLString">170</span><span class="MXMLDefault_Text">" left="</span><span class="MXMLString">40</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Load File with error handling</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">loadFileWithHandling</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Load File without error handling</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">loadFileWithoutHandling</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+
+ <span class="MXMLComponent_Tag"></s:Panel></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/Sample-AIR2-GlobalExceptionHandler/src/sample1-app.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/Sample-AIR2-GlobalExceptionHandler/src/sample1-app.xml b/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/Sample-AIR2-GlobalExceptionHandler/src/sample1-app.xml
new file mode 100755
index 0000000..75a8a24
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/Sample-AIR2-GlobalExceptionHandler/src/sample1-app.xml
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>main</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>main</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>main</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width in pixels. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height in pixels. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/Sample-AIR2-GlobalExceptionHandler/src/sample1.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/Sample-AIR2-GlobalExceptionHandler/src/sample1.mxml b/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/Sample-AIR2-GlobalExceptionHandler/src/sample1.mxml
new file mode 100644
index 0000000..71079a0
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/Sample-AIR2-GlobalExceptionHandler/src/sample1.mxml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:s="library://ns.adobe.com/flex/spark"
+ xmlns:mx="library://ns.adobe.com/flex/mx"
+ creationComplete="init()"
+ styleName="plain" width="100%" height="100%">
+ <fx:Script>
+ <![CDATA[
+ import flash.events.UncaughtErrorEvent;
+
+ import mx.controls.Alert;
+ import mx.events.FlexEvent;
+
+ private function init():void
+ {
+ loaderInfo.uncaughtErrorEvents.addEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR, errorHandler);
+ }
+
+ private function errorHandler(e:UncaughtErrorEvent):void {
+ e.preventDefault();
+ Alert.show("An error has occurred and been caught by the global error handler: " + e.error.toString(), "My Global Error Handler");
+ }
+
+ private function overflow():void
+ {
+ overflow();
+ }
+
+ ]]>
+ </fx:Script>
+
+ <s:Panel width="100%" height="100%" skinClass="skins.TDFPanelSkin" title="Global Error Handler Sample">
+ <s:VGroup top="30" left="30" right="30" gap="10">
+ <s:Label verticalAlign="justify" color="#323232" width="85%"
+ text="The Global Error Handler provides a means for you to catch errors at a global level, so you can now catch and handle runtime
+errors that may occur such as a stack overflow. This allows those running the Flash Player runtime version to be notified of the problem through proper handling.
+In this sample an endless loop is intentionally created to cause a stack overflow error to occur. The error is then caught and an alert is shown."/>
+ <s:Label text="Click on the button below to create a stack overflow error:"/>
+ <s:HGroup>
+ <s:Button label="Invoke Stack Overflow" click="overflow()"/>
+ </s:HGroup>
+ </s:VGroup>
+
+ </s:Panel>
+
+</mx:Module>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/Sample-AIR2-GlobalExceptionHandler/src/sample2-app.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/Sample-AIR2-GlobalExceptionHandler/src/sample2-app.xml b/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/Sample-AIR2-GlobalExceptionHandler/src/sample2-app.xml
new file mode 100755
index 0000000..3bd1b54
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/Sample-AIR2-GlobalExceptionHandler/src/sample2-app.xml
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>sample2</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>sample2</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>sample2</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width in pixels. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height in pixels. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/Sample-AIR2-GlobalExceptionHandler/src/sample2.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/Sample-AIR2-GlobalExceptionHandler/src/sample2.mxml b/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/Sample-AIR2-GlobalExceptionHandler/src/sample2.mxml
new file mode 100644
index 0000000..fca4256
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/Sample-AIR2-GlobalExceptionHandler/src/sample2.mxml
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:s="library://ns.adobe.com/flex/spark"
+ xmlns:mx="library://ns.adobe.com/flex/mx"
+ creationComplete="init()"
+ styleName="plain" width="100%" height="100%">
+
+ <fx:Script>
+ <![CDATA[
+ import flash.events.UncaughtErrorEvent;
+
+ import mx.controls.Alert;
+ import mx.events.FlexEvent;
+
+ private function init():void
+ {
+ loaderInfo.uncaughtErrorEvents.addEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR, errorHandler);
+ }
+
+ private function errorHandler(e:UncaughtErrorEvent):void {
+ e.preventDefault();
+ Alert.show("An error has occurred and been caught by the global error handler: " + e.error.toString(), "My Global Error Handler");
+ }
+
+ private function loadFileWithHandling():void
+ {
+ var f:File = File.documentsDirectory.resolvePath("http://tourdeflex.adobe.com/file-that-doesnt-exist.txt");
+ // The above file did not load, so when we try to access a property on it an error will be thrown
+ try {
+ Alert.show("File " + f.creationDate);
+ }
+ catch (ex:Error)
+ {
+ Alert.show("Error occurred loading files: " + ex.message, "My Specific File Loading Handler");
+ }
+ }
+
+ private function loadFileWithoutHandling():void
+ {
+ var f:File = File.documentsDirectory.resolvePath("http://tourdeflex.adobe.com/file-that-doesnt-exist.txt");
+ // The above file did not load, so when a property is accessed an error will be thrown
+ Alert.show("File creation date " + f.creationDate);
+ }
+ ]]>
+ </fx:Script>
+
+ <s:Panel width="100%" height="100%" skinClass="skins.TDFPanelSkin" title="Global Error Handler Sample">
+ <s:VGroup top="10" left="10" gap="12">
+ <s:Label width="400" verticalAlign="justify" color="#323232"
+ text="This sample for showing the Global Error Handling feature tries to load various files from remote locations that it assumes
+are there. In the case where one might have been deleted or corrupt, the error is now caught. Note: any error that is not surrounded by try/catch that occurs
+can be handled in this manner where you have one global error handler for all uncaught errors."/>
+ <s:Label bottom="200" left="40" text="Click on the buttons below to create an error to be handled:"/>
+ <s:HGroup bottom="170" left="40">
+ <s:Button label="Load File with error handling" click="loadFileWithHandling()"/>
+ <s:Button label="Load File without error handling" click="loadFileWithoutHandling()"/>
+ </s:HGroup>
+ </s:VGroup>
+
+ </s:Panel>
+
+</mx:Module>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/Sample-AIR2-GlobalExceptionHandler/src/skins/TDFPanelSkin.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/Sample-AIR2-GlobalExceptionHandler/src/skins/TDFPanelSkin.mxml b/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/Sample-AIR2-GlobalExceptionHandler/src/skins/TDFPanelSkin.mxml
new file mode 100644
index 0000000..ff46524
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/Sample-AIR2-GlobalExceptionHandler/src/skins/TDFPanelSkin.mxml
@@ -0,0 +1,130 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+
+
+<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+ alpha.disabled="0.5" minWidth="131" minHeight="127">
+
+ <fx:Metadata>
+ [HostComponent("spark.components.Panel")]
+ </fx:Metadata>
+
+ <s:states>
+ <s:State name="normal" />
+ <s:State name="disabled" />
+ <s:State name="normalWithControlBar" />
+ <s:State name="disabledWithControlBar" />
+ </s:states>
+
+ <!-- drop shadow -->
+ <s:Rect left="0" top="0" right="0" bottom="0">
+ <s:filters>
+ <s:DropShadowFilter blurX="15" blurY="15" alpha="0.18" distance="11" angle="90" knockout="true" />
+ </s:filters>
+ <s:fill>
+ <s:SolidColor color="0" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 1: border -->
+ <s:Rect left="0" right="0" top="0" bottom="0">
+ <s:stroke>
+ <s:SolidColorStroke color="0" alpha="0.50" weight="1" />
+ </s:stroke>
+ </s:Rect>
+
+ <!-- layer 2: background fill -->
+ <s:Rect left="0" right="0" bottom="0" height="15">
+ <s:fill>
+ <s:LinearGradient rotation="90">
+ <s:GradientEntry color="0xE2E2E2" />
+ <s:GradientEntry color="0x000000" />
+ </s:LinearGradient>
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 3: contents -->
+ <s:Group left="1" right="1" top="1" bottom="1" >
+ <s:layout>
+ <s:VerticalLayout gap="0" horizontalAlign="justify" />
+ </s:layout>
+
+ <s:Group id="topGroup" >
+ <!-- layer 0: title bar fill -->
+ <!-- Note: We have custom skinned the title bar to be solid black for Tour de Flex -->
+ <s:Rect id="tbFill" left="0" right="0" top="0" bottom="1" >
+ <s:fill>
+ <s:SolidColor color="0x000000" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 1: title bar highlight -->
+ <s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0" >
+ <s:stroke>
+ <s:LinearGradientStroke rotation="90" weight="1">
+ <s:GradientEntry color="0xEAEAEA" />
+ <s:GradientEntry color="0xD9D9D9" />
+ </s:LinearGradientStroke>
+ </s:stroke>
+ </s:Rect>
+
+ <!-- layer 2: title bar divider -->
+ <s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0">
+ <s:fill>
+ <s:SolidColor color="0xC0C0C0" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 3: text -->
+ <s:Label id="titleDisplay" maxDisplayedLines="1"
+ left="9" right="3" top="1" minHeight="30"
+ verticalAlign="middle" fontWeight="bold" color="#E2E2E2">
+ </s:Label>
+
+ </s:Group>
+
+ <s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0">
+ </s:Group>
+
+ <s:Group id="bottomGroup" minWidth="0" minHeight="0"
+ includeIn="normalWithControlBar, disabledWithControlBar" >
+ <!-- layer 0: control bar background -->
+ <s:Rect left="0" right="0" bottom="0" top="1" >
+ <s:fill>
+ <s:SolidColor color="0xE2EdF7" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 1: control bar divider line -->
+ <s:Rect left="0" right="0" top="0" height="1" >
+ <s:fill>
+ <s:SolidColor color="0xD1E0F2" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 2: control bar -->
+ <s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0">
+ <s:layout>
+ <s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" />
+ </s:layout>
+ </s:Group>
+ </s:Group>
+ </s:Group>
+</s:Skin>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/SourceIndex.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/SourceIndex.xml b/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/SourceIndex.xml
new file mode 100644
index 0000000..41f163e
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/SourceIndex.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ 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.
+
+-->
+<index>
+ <title>Source of Sample-AIR2-GlobalExceptionHandler</title>
+ <nodes>
+ <node label="libs">
+ </node>
+ <node label="src">
+ <node icon="packageIcon" label="skins" expanded="true">
+ <node icon="mxmlIcon" label="TDFPanelSkin.mxml" url="source/skins/TDFPanelSkin.mxml.html"/>
+ </node>
+ <node label="sample1-app.xml" url="source/sample1-app.xml.txt"/>
+ <node icon="mxmlIcon" label="sample1.mxml" url="source/sample1.mxml.html"/>
+ <node label="sample2-app.xml" url="source/sample2-app.xml.txt"/>
+ <node icon="mxmlAppIcon" selected="true" label="sample2.mxml" url="source/sample2.mxml.html"/>
+ </node>
+ </nodes>
+ <zipfile label="Download source (ZIP, 9K)" url="Sample-AIR2-GlobalExceptionHandler.zip">
+ </zipfile>
+ <sdklink label="Download Flex SDK" url="http://www.adobe.com/go/flex4_sdk_download">
+ </sdklink>
+</index>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/SourceStyles.css
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/SourceStyles.css b/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/SourceStyles.css
new file mode 100644
index 0000000..9d5210f
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/GlobalExceptionHandler/srcview/SourceStyles.css
@@ -0,0 +1,155 @@
+/*
+ * 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.
+ */
+body {
+ font-family: Courier New, Courier, monospace;
+ font-size: medium;
+}
+
+.ActionScriptASDoc {
+ color: #3f5fbf;
+}
+
+.ActionScriptBracket/Brace {
+}
+
+.ActionScriptComment {
+ color: #009900;
+ font-style: italic;
+}
+
+.ActionScriptDefault_Text {
+}
+
+.ActionScriptMetadata {
+ color: #0033ff;
+ font-weight: bold;
+}
+
+.ActionScriptOperator {
+}
+
+.ActionScriptReserved {
+ color: #0033ff;
+ font-weight: bold;
+}
+
+.ActionScriptString {
+ color: #990000;
+ font-weight: bold;
+}
+
+.ActionScriptclass {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScriptfunction {
+ color: #339966;
+ font-weight: bold;
+}
+
+.ActionScriptinterface {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScriptpackage {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScripttrace {
+ color: #cc6666;
+ font-weight: bold;
+}
+
+.ActionScriptvar {
+ color: #6699cc;
+ font-weight: bold;
+}
+
+.MXMLASDoc {
+ color: #3f5fbf;
+}
+
+.MXMLComment {
+ color: #800000;
+}
+
+.MXMLComponent_Tag {
+ color: #0000ff;
+}
+
+.MXMLDefault_Text {
+}
+
+.MXMLProcessing_Instruction {
+}
+
+.MXMLSpecial_Tag {
+ color: #006633;
+}
+
+.MXMLString {
+ color: #990000;
+}
+
+.CSS@font-face {
+ color: #990000;
+ font-weight: bold;
+}
+
+.CSS@import {
+ color: #006666;
+ font-weight: bold;
+}
+
+.CSS@media {
+ color: #663333;
+ font-weight: bold;
+}
+
+.CSS@namespace {
+ color: #923196;
+}
+
+.CSSComment {
+ color: #999999;
+}
+
+.CSSDefault_Text {
+}
+
+.CSSDelimiters {
+}
+
+.CSSProperty_Name {
+ color: #330099;
+}
+
+.CSSProperty_Value {
+ color: #3333cc;
+}
+
+.CSSSelector {
+ color: #ff00ff;
+}
+
+.CSSString {
+ color: #990000;
+}
+
[42/42] git commit: [flex-utilities] [refs/heads/develop] -
TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
TourDeFlex donation from Adobe Systems Inc
Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/3dc107b9
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/3dc107b9
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/3dc107b9
Branch: refs/heads/develop
Commit: 3dc107b9400db085d714a114ef6eda0fece3cc87
Parents: b0fc5f1
Author: Alex Harui <ah...@apache.org>
Authored: Thu Apr 24 23:32:19 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Apr 24 23:32:19 2014 -0700
----------------------------------------------------------------------
TourDeFlex/TourDeFlex/build.xml | 65 +
TourDeFlex/TourDeFlex/src/Config.as | 157 +
TourDeFlex/TourDeFlex/src/Preferences.as | 68 +
TourDeFlex/TourDeFlex/src/TourDeFlex-app.xml | 157 +
TourDeFlex/TourDeFlex/src/TourDeFlex.mxml | 881 +++
.../src/classes/ApplicationUpdaterManager.as | 55 +
TourDeFlex/TourDeFlex/src/classes/Document.as | 35 +
.../TourDeFlex/src/classes/LocalQuickStart.as | 159 +
TourDeFlex/TourDeFlex/src/classes/ObjectData.as | 336 +
.../src/classes/ObjectListSortTypes.as | 38 +
.../src/classes/ObjectTreeDataDescriptor.as | 191 +
.../src/classes/ObjectTreeItemRenderer.as | 94 +
.../TourDeFlex/src/components/AboutWindow.mxml | 57 +
.../src/components/ApplicationFooter.mxml | 62 +
.../src/components/ApplicationHeader.mxml | 81 +
.../src/components/CommentsWindow.mxml | 50 +
.../TourDeFlex/src/components/DocumentTabs.mxml | 126 +
.../src/components/DownloadWindow.mxml | 123 +
.../src/components/IllustrationTab.mxml | 81 +
.../src/components/IllustrationTabs.mxml | 86 +
.../TourDeFlex/src/components/ObjectList.mxml | 88 +
.../src/components/ObjectListItemRenderer.mxml | 86 +
.../src/components/PluginDownloadWindow.mxml | 125 +
.../src/components/QuickStartWindow.mxml | 82 +
.../TourDeFlex/src/components/SearchWindow.mxml | 197 +
.../TourDeFlex/src/components/SplashWindow.mxml | 86 +
.../src/components/TDFTabNavigator.as | 43 +
.../src/components/TextBoxSearch.mxml | 79 +
.../TourDeFlex/src/components/WipeWindow.mxml | 45 +
TourDeFlex/TourDeFlex/src/data/about.html | 57 +
TourDeFlex/TourDeFlex/src/data/images/bkg.jpg | Bin 0 -> 395 bytes
TourDeFlex/TourDeFlex/src/data/images/logo.png | Bin 0 -> 2968 bytes
.../src/data/images/qs_banner_plain_big2.jpg | Bin 0 -> 49764 bytes
.../TourDeFlex/src/data/images/quickstart.gif | Bin 0 -> 37957 bytes
.../TourDeFlex/src/data/objects-desktop-cn.xml | 5816 +++++++++++++++++
.../src/data/objects-desktop-update.xml | 37 +
.../TourDeFlex/src/data/objects-desktop.xml | 18 +
.../TourDeFlex/src/data/objects-desktop2.xml | 5970 ++++++++++++++++++
.../src/data/objects-desktop_ja-update.xml | 37 +
.../TourDeFlex/src/data/objects-desktop_ja.xml | 5816 +++++++++++++++++
TourDeFlex/TourDeFlex/src/data/objects-web.xml | 5815 +++++++++++++++++
.../TourDeFlex/src/data/objects-web_ja.xml | 5835 +++++++++++++++++
TourDeFlex/TourDeFlex/src/data/offline.html | 33 +
TourDeFlex/TourDeFlex/src/data/prepxml.sh | 19 +
TourDeFlex/TourDeFlex/src/data/quickstart.html | 129 +
TourDeFlex/TourDeFlex/src/data/settings.xml | 49 +
TourDeFlex/TourDeFlex/src/data/settings_ja.xml | 50 +
TourDeFlex/TourDeFlex/src/data/splash.html | 45 +
TourDeFlex/TourDeFlex/src/data/style.css | 88 +
.../TourDeFlex/src/images/button_clear.png | Bin 0 -> 122 bytes
.../src/images/button_close_downSkin.png | Bin 0 -> 559 bytes
.../src/images/button_close_overSkin.png | Bin 0 -> 484 bytes
.../src/images/button_close_upSkin.png | Bin 0 -> 439 bytes
.../src/images/button_commentDisabled_icon.png | Bin 0 -> 346 bytes
.../src/images/button_comment_icon.png | Bin 0 -> 337 bytes
.../src/images/button_downloadDisabled_icon.png | Bin 0 -> 443 bytes
.../src/images/button_download_icon.png | Bin 0 -> 419 bytes
.../src/images/button_search_icon.png | Bin 0 -> 422 bytes
.../TourDeFlex/src/images/corner_resizer.png | Bin 0 -> 189 bytes
TourDeFlex/TourDeFlex/src/images/expand.png | Bin 0 -> 445 bytes
.../TourDeFlex/src/images/expand_disabled.png | Bin 0 -> 444 bytes
.../TourDeFlex/src/images/header_gradient.png | Bin 0 -> 252 bytes
.../TourDeFlex/src/images/icons/tdfx_128.png | Bin 0 -> 8686 bytes
.../TourDeFlex/src/images/toggle_list.png | Bin 0 -> 161 bytes
.../TourDeFlex/src/images/toggle_tree.png | Bin 0 -> 221 bytes
.../TourDeFlex/src/images/tree_noIcon.png | Bin 0 -> 322 bytes
TourDeFlex/TourDeFlex/src/images/web.png | Bin 0 -> 691 bytes
.../TourDeFlex/src/images/web_disabled.png | Bin 0 -> 688 bytes
.../FileSystemComboBox.mxml.html | 53 +
.../FileSystemComboBox/FileSystemComboBox.png | Bin 0 -> 415 bytes
.../srcview/source/FileSystemComboBox.mxml.html | 53 +
.../FileSystemDataGrid.mxml.html | 47 +
.../FileSystemDataGrid/FileSystemDataGrid.png | Bin 0 -> 413 bytes
.../FileSystemHistoryButton.mxml.html | 44 +
.../FileSystemHistoryButton.png | Bin 0 -> 506 bytes
.../FileSystemList/FileSystemList.mxml.html | 47 +
.../FileSystemList/FileSystemList.png | Bin 0 -> 404 bytes
.../FileSystemTree/FileSystemTree.mxml.html | 47 +
.../FileSystemTree/FileSystemTree.png | Bin 0 -> 412 bytes
.../src/objects/AIR/Components/HTML/HTML.png | Bin 0 -> 522 bytes
.../objects/AIR/Components/HTML/html1.mxml.html | 49 +
.../objects/AIR/Components/HTML/html2.mxml.html | 42 +
.../objects/AIR/Components/HTML/html3.mxml.html | 41 +
.../src/objects/AIR/Components/SourceStyles.css | 146 +
.../AIR/HOWTO/AutoUpdate/AutoUpdate.mxml.html | 82 +
.../AIR/HOWTO/AutoUpdate/dialogscreenshot1.html | 22 +
.../AIR/HOWTO/AutoUpdate/dialogscreenshot1.png | Bin 0 -> 67946 bytes
.../objects/AIR/HOWTO/AutoUpdate/readme.html | 35 +
.../AIR/HOWTO/AutoUpdate/update.xml.html | 27 +
.../objects/AIR/HOWTO/CopyPaste/main.mxml.html | 121 +
.../AIR/HOWTO/DragAndDrop/DragIn.mxml.html | 77 +
.../AIR/HOWTO/DragAndDrop/DragOut.mxml.html | 66 +
.../objects/AIR/HOWTO/DragAndDrop/readme.html | 22 +
.../AIREncryptingDataSample.mxml.html | 106 +
.../objects/AIR/HOWTO/FileSystem/main.mxml.html | 68 +
.../AIR/HOWTO/InstallBadge/installbadge.png | Bin 0 -> 152731 bytes
.../AIR/HOWTO/InstallBadge/installbadge1.html | 22 +
.../AIR/HOWTO/InstallBadge/installbadge2.html | 43 +
.../objects/AIR/HOWTO/InstallBadge/readme.html | 33 +
.../HOWTO/MonitorNetwork/socketsample.mxml.html | 73 +
.../HOWTO/MonitorNetwork/urlsample.mxml.html | 65 +
.../AIR/HOWTO/NativeMenus/NativeMenus.mxml.html | 158 +
.../objects/AIR/HOWTO/NativeMenus/readme.html | 24 +
.../AIR/HOWTO/NativeMenus/screenshots.html | 22 +
.../AIR/HOWTO/NativeMenus/screenshots.png | Bin 0 -> 45438 bytes
.../AIR/HOWTO/NativeWindows/main.mxml.html | 89 +
.../objects/AIR/HOWTO/NativeWindows/readme.html | 23 +
.../AIR/HOWTO/PDFContent/PDFContent.mxml.html | 69 +
.../AIR/HOWTO/PDFContent/air_flex_datasheet.pdf | Bin 0 -> 358965 bytes
.../objects/AIR/HOWTO/PDFContent/readme.html | 21 +
.../ReadingApplicationSettings.mxml.html | 53 +
.../ReadingApplicationSettings/readme.html | 23 +
.../objects/AIR/HOWTO/SQLite/Employee.as.html | 38 +
.../src/objects/AIR/HOWTO/SQLite/readme.html | 22 +
.../objects/AIR/HOWTO/SQLite/sample.mxml.html | 157 +
.../AIR/HOWTO/Screens/DemoWindow.mxml.html | 41 +
.../AIR/HOWTO/Screens/ScreenDemo.mxml.html | 80 +
.../src/objects/AIR/HOWTO/Screens/readme.html | 24 +
.../src/objects/AIR/HOWTO/SourceStyles.css | 146 +
.../TransparentVideo/MovieWindow.mxml.html | 37 +
.../AIR/HOWTO/TransparentVideo/main.mxml.html | 58 +
.../HOWTO/UserPresence/userpresence.mxml.html | 57 +
.../objects/AIR20/Accelerometer/main.mxml.html | 58 +
.../objects/AIR20/DNS/TDFPanelSkin.mxml.html | 147 +
.../src/objects/AIR20/DNS/sample.mxml.html | 134 +
.../srcview/Sample-AIR2-DNS/src/sample-app.xml | 156 +
.../DNS/srcview/Sample-AIR2-DNS/src/sample.mxml | 126 +
.../Sample-AIR2-DNS/src/skins/TDFPanelSkin.mxml | 130 +
.../objects/AIR20/DNS/srcview/SourceIndex.xml | 37 +
.../objects/AIR20/DNS/srcview/SourceStyles.css | 155 +
.../objects/AIR20/DNS/srcview/SourceTree.html | 129 +
.../src/objects/AIR20/DNS/srcview/index.html | 32 +
.../AIR20/DNS/srcview/source/sample-app.xml.txt | 156 +
.../AIR20/DNS/srcview/source/sample.mxml.html | 134 +
.../srcview/source/skins/TDFPanelSkin.mxml.html | 147 +
.../TDFPanelSkin.mxml.html | 147 +
.../DownloadSecurityDialog/sample.mxml.html | 76 +
.../src/sample-app.xml | 156 +
.../src/sample.mxml | 68 +
.../src/skins/TDFPanelSkin.mxml | 130 +
.../src/up.png | Bin 0 -> 3408 bytes
.../srcview/SourceIndex.xml | 38 +
.../srcview/SourceStyles.css | 155 +
.../srcview/SourceTree.html | 129 +
.../DownloadSecurityDialog/srcview/index.html | 32 +
.../srcview/source/sample-app.xml.txt | 156 +
.../srcview/source/sample.mxml.html | 76 +
.../srcview/source/skins/TDFPanelSkin.mxml.html | 147 +
.../srcview/source/up.png | Bin 0 -> 3408 bytes
.../srcview/source/up.png.html | 28 +
.../EventOnShutdown/TDFPanelSkin.mxml.html | 148 +
.../AIR20/EventOnShutdown/sample.mxml.html | 73 +
.../src/sample-app.xml | 156 +
.../Sample-AIR2-EventOnShutdown/src/sample.mxml | 65 +
.../src/skins/TDFPanelSkin.mxml | 130 +
.../EventOnShutdown/srcview/SourceIndex.xml | 37 +
.../EventOnShutdown/srcview/SourceStyles.css | 155 +
.../EventOnShutdown/srcview/SourceTree.html | 129 +
.../AIR20/EventOnShutdown/srcview/index.html | 32 +
.../srcview/source/sample-app.xml.txt | 156 +
.../srcview/source/sample.mxml.html | 73 +
.../srcview/source/skins/TDFPanelSkin.mxml.html | 147 +
.../objects/AIR20/FilePromise/sample1.mxml.html | 108 +
.../src/adobe_air_logo.png | Bin 0 -> 15920 bytes
.../Sample-AIR2-FilePromise/src/sample1-app.xml | 156 +
.../Sample-AIR2-FilePromise/src/sample1.mxml | 100 +
.../AIR20/FilePromise/srcview/SourceIndex.xml | 35 +
.../AIR20/FilePromise/srcview/SourceStyles.css | 155 +
.../AIR20/FilePromise/srcview/SourceTree.html | 129 +
.../AIR20/FilePromise/srcview/index.html | 32 +
.../srcview/source/adobe_air_logo.png.html | 28 +
.../srcview/source/sample1-app.xml.txt | 156 +
.../srcview/source/sample1.mxml.html | 108 +
.../AIR20/Gestures/TDFPanelSkin.mxml.html | 146 +
.../src/objects/AIR20/Gestures/sample.mxml.html | 103 +
.../src/sample-app.xml | 153 +
.../Sample-AIR2-GestureSupport/src/sample.mxml | 95 +
.../src/skins/TDFPanelSkin.mxml | 130 +
.../AIR20/Gestures/srcview/SourceIndex.xml | 39 +
.../AIR20/Gestures/srcview/SourceStyles.css | 155 +
.../AIR20/Gestures/srcview/SourceTree.html | 129 +
.../objects/AIR20/Gestures/srcview/index.html | 32 +
.../Gestures/srcview/source/butterfly2.jpg.html | 28 +
.../Gestures/srcview/source/sample-app.xml.txt | 153 +
.../Gestures/srcview/source/sample.mxml.html | 103 +
.../srcview/source/skins/TDFPanelSkin.mxml.html | 146 +
.../TDFPanelSkin.mxml.html | 147 +
.../GlobalExceptionHandler/sample1.mxml.html | 72 +
.../GlobalExceptionHandler/sample2.mxml.html | 88 +
.../src/sample1-app.xml | 153 +
.../src/sample1.mxml | 64 +
.../src/sample2-app.xml | 153 +
.../src/sample2.mxml | 80 +
.../src/skins/TDFPanelSkin.mxml | 130 +
.../srcview/SourceIndex.xml | 39 +
.../srcview/SourceStyles.css | 155 +
.../srcview/SourceTree.html | 129 +
.../GlobalExceptionHandler/srcview/index.html | 32 +
.../srcview/source/sample1-app.xml.txt | 153 +
.../srcview/source/sample1.mxml.html | 72 +
.../srcview/source/sample2-app.xml.txt | 153 +
.../srcview/source/sample2.mxml.html | 88 +
.../srcview/source/skins/TDFPanelSkin.mxml.html | 147 +
.../CurrencyFormatterSample.mxml.html | 116 +
.../Globalization/DateFormatterSample.mxml.html | 112 +
.../NumberFormatterSample.mxml.html | 113 +
.../AIR20/Globalization/TDFPanelSkin.mxml.html | 148 +
.../src/CurrencyFormatterSample-app.xml | 156 +
.../src/CurrencyFormatterSample.mxml | 109 +
.../src/DateFormatterSample-app.xml | 156 +
.../src/DateFormatterSample.mxml | 105 +
.../src/NumberFormatterSample-app.xml | 156 +
.../src/NumberFormatterSample.mxml | 106 +
.../src/skins/TDFPanelSkin.mxml | 130 +
.../Sample-AIR2-Globalization/src/test-app.xml | 156 +
.../AIR20/Globalization/srcview/SourceIndex.xml | 44 +
.../Globalization/srcview/SourceStyles.css | 155 +
.../AIR20/Globalization/srcview/SourceTree.html | 129 +
.../AIR20/Globalization/srcview/index.html | 32 +
.../source/CurrencyFormatterSample-app.xml.txt | 156 +
.../source/CurrencyFormatterSample.mxml.html | 116 +
.../source/DateFormatterSample-app.xml.txt | 156 +
.../source/DateFormatterSample.mxml.html | 112 +
.../source/NumberFormatterSample-app.xml.txt | 156 +
.../source/NumberFormatterSample.mxml.html | 113 +
.../srcview/source/skins/TDFPanelSkin.mxml.html | 147 +
.../srcview/source/test-app.xml.txt | 156 +
.../TDFPanelSkin.mxml.html | 147 +
.../MassStorageDeviceDetection/sample.mxml.html | 108 +
.../src/sample-app.xml | 153 +
.../src/sample.mxml | 102 +
.../src/skins/TDFPanelSkin.mxml | 130 +
.../src/up.png | Bin 0 -> 3408 bytes
.../srcview/SourceIndex.xml | 38 +
.../srcview/SourceStyles.css | 155 +
.../srcview/SourceTree.html | 129 +
.../srcview/index.html | 32 +
.../srcview/source/sample-app.xml.txt | 153 +
.../srcview/source/sample.mxml.html | 108 +
.../srcview/source/skins/TDFPanelSkin.mxml.html | 147 +
.../srcview/source/up.png | Bin 0 -> 3408 bytes
.../srcview/source/up.png.html | 28 +
.../com/adobe/audio/format/WAVWriter.as.html | 16 +
.../AIR20/Microphone/source/sample-app.xml.txt | 153 +
.../AIR20/Microphone/source/sample.mxml.html | 202 +
.../source/skins/TDFPanelSkin.mxml.html | 147 +
.../src/com/adobe/audio/format/WAVWriter.as | 257 +
.../Sample-AIR2-Microphone/src/sample-app.xml | 153 +
.../Sample-AIR2-Microphone/src/sample.mxml | 198 +
.../src/skins/TDFPanelSkin.mxml | 130 +
.../AIR20/Microphone/srcview/SourceIndex.xml | 40 +
.../AIR20/Microphone/srcview/SourceStyles.css | 155 +
.../AIR20/Microphone/srcview/SourceTree.html | 129 +
.../objects/AIR20/Microphone/srcview/index.html | 32 +
.../com/adobe/audio/format/WAVWriter.as.html | 16 +
.../srcview/source/sample-app.xml.txt | 153 +
.../Microphone/srcview/source/sample.mxml.html | 202 +
.../srcview/source/skins/TDFPanelSkin.mxml.html | 147 +
.../AIR20/NativeProcess/TDFPanelSkin.mxml.html | 147 +
.../AIR20/NativeProcess/sample.mxml.html | 126 +
.../src/com/adobe/audio/format/WAVWriter.as | 257 +
.../Sample-AIR2-Microphone/src/sample-app.xml | 153 +
.../Sample-AIR2-Microphone/src/sample.mxml | 198 +
.../src/skins/TDFPanelSkin.mxml | 130 +
.../AIR20/NativeProcess/srcview/SourceIndex.xml | 40 +
.../NativeProcess/srcview/SourceStyles.css | 155 +
.../AIR20/NativeProcess/srcview/SourceTree.html | 129 +
.../AIR20/NativeProcess/srcview/index.html | 32 +
.../com/adobe/audio/format/WAVWriter.as.html | 16 +
.../srcview/source/sample-app.xml.txt | 153 +
.../srcview/source/sample.mxml.html | 126 +
.../srcview/source/skins/TDFPanelSkin.mxml.html | 147 +
.../AIR20/NetworkInfo/TDFPanelSkin.mxml.html | 147 +
.../objects/AIR20/NetworkInfo/sample.mxml.html | 85 +
.../Sample-AIR2-NetworkInfo/src/sample-app.xml | 153 +
.../Sample-AIR2-NetworkInfo/src/sample.mxml | 78 +
.../src/skins/TDFPanelSkin.mxml | 130 +
.../AIR20/NetworkInfo/srcview/SourceIndex.xml | 37 +
.../AIR20/NetworkInfo/srcview/SourceStyles.css | 155 +
.../AIR20/NetworkInfo/srcview/SourceTree.html | 129 +
.../AIR20/NetworkInfo/srcview/index.html | 32 +
.../srcview/source/sample-app.xml.txt | 153 +
.../NetworkInfo/srcview/source/sample.mxml.html | 85 +
.../srcview/source/skins/TDFPanelSkin.mxml.html | 158 +
.../OpenWithDefaultApp/TDFPanelSkin.mxml.html | 147 +
.../AIR20/OpenWithDefaultApp/sample1.mxml.html | 59 +
.../AIR20/OpenWithDefaultApp/sample2.mxml.html | 58 +
.../src/sample1-app.xml | 153 +
.../src/sample1.mxml | 51 +
.../src/sample2-app.xml | 153 +
.../src/sample2.mxml | 50 +
.../src/skins/TDFPanelSkin.mxml | 130 +
.../src/up.png | Bin 0 -> 3408 bytes
.../OpenWithDefaultApp/srcview/SourceIndex.xml | 40 +
.../OpenWithDefaultApp/srcview/SourceStyles.css | 155 +
.../OpenWithDefaultApp/srcview/SourceTree.html | 129 +
.../AIR20/OpenWithDefaultApp/srcview/index.html | 32 +
.../srcview/source/sample1-app.xml.txt | 153 +
.../srcview/source/sample1.mxml.html | 59 +
.../srcview/source/sample2-app.xml.txt | 153 +
.../srcview/source/sample2.mxml.html | 58 +
.../srcview/source/skins/TDFPanelSkin.mxml.html | 146 +
.../OpenWithDefaultApp/srcview/source/up.png | Bin 0 -> 3408 bytes
.../srcview/source/up.png.html | 28 +
.../AIR20/SocketServer/SocketClient.as.html | 140 +
.../SocketServer/SocketClientSample.mxml.html | 95 +
.../SocketServer/SocketServerSample.mxml.html | 116 +
.../src/SocketClient.as | 131 +
.../src/SocketClientSample-app.xml | 156 +
.../src/SocketClientSample.mxml | 90 +
.../src/SocketServerSample-app.xml | 153 +
.../src/SocketServerSample.mxml | 111 +
.../AIR20/SocketServer/srcview/SourceIndex.xml | 37 +
.../AIR20/SocketServer/srcview/SourceStyles.css | 155 +
.../AIR20/SocketServer/srcview/SourceTree.html | 129 +
.../AIR20/SocketServer/srcview/index.html | 32 +
.../srcview/source/SocketClient.as.html | 140 +
.../source/SocketClientSample-app.xml.txt | 156 +
.../srcview/source/SocketClientSample.mxml.html | 98 +
.../source/SocketServerSample-app.xml.txt | 153 +
.../srcview/source/SocketServerSample.mxml.html | 119 +
.../TourDeFlex/src/objects/DataAccess/chat.png | Bin 0 -> 622 bytes
.../src/objects/DataAccess/genericdata.png | Bin 0 -> 607 bytes
.../src/objects/DataAccess/remoting.png | Bin 0 -> 711 bytes
.../src/objects/DataAccess/webservices.png | Bin 0 -> 652 bytes
.../src/objects/HOWTO/SourceStyles.css | 146 +
.../TourDeFlex/src/objects/SourceStyles.css | 146 +
TourDeFlex/TourDeFlex/src/plugin/Component.as | 72 +
.../src/plugin/TDFPluginTransferObject.as | 66 +
TourDeFlex/TourDeFlex/src/styles.css | 420 ++
.../html-template/history/history.css | 22 +
.../html-template/history/history.js | 694 ++
.../html-template/history/historyFrame.html | 45 +
.../html-template/index.template.html | 124 +
TourDeFlex/TourDeFlex3/src/AC_OETags.js | 282 +
TourDeFlex/TourDeFlex3/src/README.html | 47 +
TourDeFlex/TourDeFlex3/src/SourceTab.mxml | 56 +
TourDeFlex/TourDeFlex3/src/build.bat | 26 +
TourDeFlex/TourDeFlex3/src/build.sh | 27 +
.../src/charts/BubbleChartExample.mxml | 58 +
.../src/charts/CandlestickChartExample.mxml | 85 +
.../src/charts/Column_BarChartExample.mxml | 120 +
.../src/charts/DateTimeAxisExample.mxml | 68 +
.../src/charts/GridLinesExample.mxml | 68 +
.../src/charts/HLOCChartExample.mxml | 75 +
.../src/charts/Line_AreaChartExample.mxml | 85 +
.../TourDeFlex3/src/charts/LogAxisExample.mxml | 61 +
.../TourDeFlex3/src/charts/PieChartExample.mxml | 84 +
.../src/charts/PlotChartExample.mxml | 78 +
.../src/charts/SeriesInterpolateExample.mxml | 94 +
.../src/charts/SeriesSlideExample.mxml | 96 +
.../src/charts/SeriesZoomExample.mxml | 96 +
TourDeFlex/TourDeFlex3/src/charts_explorer.xml | 77 +
TourDeFlex/TourDeFlex3/src/clean.bat | 23 +
.../src/containers/AccordionExample.mxml | 53 +
.../src/containers/DividedBoxExample.mxml | 39 +
.../TourDeFlex3/src/containers/FormExample.mxml | 83 +
.../src/containers/GridLayoutExample.mxml | 67 +
.../TourDeFlex3/src/containers/HBoxExample.mxml | 39 +
.../src/containers/HDividedBoxExample.mxml | 41 +
.../SimpleApplicationControlBarExample.mxml | 57 +
.../src/containers/SimpleBoxExample.mxml | 46 +
.../src/containers/SimpleCanvasExample.mxml | 45 +
.../src/containers/SimpleControlBarExample.mxml | 41 +
.../src/containers/SimplePanelExample.mxml | 45 +
.../containers/SimpleTitleWindowExample.mxml | 52 +
.../src/containers/TabNavigatorExample.mxml | 54 +
.../src/containers/TileLayoutExample.mxml | 42 +
.../src/containers/TitleWindowApp.mxml | 63 +
.../TourDeFlex3/src/containers/VBoxExample.mxml | 39 +
.../src/containers/VDividedBoxExample.mxml | 41 +
.../src/containers/ViewStackExample.mxml | 57 +
.../src/controls/AdvancedDataGridExample.mxml | 76 +
.../src/controls/ButtonBarExample.mxml | 55 +
.../TourDeFlex3/src/controls/ButtonExample.mxml | 63 +
.../src/controls/CheckBoxExample.mxml | 76 +
.../src/controls/ColorPickerExample.mxml | 32 +
.../src/controls/DateChooserExample.mxml | 65 +
.../src/controls/DateFieldExample.mxml | 55 +
.../src/controls/HScrollBarExample.mxml | 55 +
.../src/controls/HorizontalListExample.mxml | 67 +
.../TourDeFlex3/src/controls/LabelExample.mxml | 47 +
.../src/controls/LinkBarExample.mxml | 48 +
.../src/controls/LinkButtonExample.mxml | 38 +
TourDeFlex/TourDeFlex3/src/controls/Local.mxml | 25 +
.../src/controls/MenuBarExample.mxml | 77 +
.../src/controls/NumericStepperExample.mxml | 42 +
.../src/controls/OLAPDataGridExample.mxml | 214 +
.../src/controls/PopUpButtonExample.mxml | 65 +
.../src/controls/PopUpButtonMenuExample.mxml | 54 +
.../src/controls/RadioButtonExample.mxml | 41 +
.../src/controls/RadioButtonGroupExample.mxml | 61 +
.../src/controls/RichTextEditorExample.mxml | 32 +
.../TourDeFlex3/src/controls/SimpleAlert.mxml | 74 +
.../src/controls/SimpleComboBox.mxml | 53 +
.../src/controls/SimpleDataGrid.mxml | 76 +
.../TourDeFlex3/src/controls/SimpleHRule.mxml | 33 +
.../TourDeFlex3/src/controls/SimpleImage.mxml | 30 +
.../src/controls/SimpleImageHSlider.mxml | 57 +
.../src/controls/SimpleImageVSlider.mxml | 63 +
.../TourDeFlex3/src/controls/SimpleList.mxml | 57 +
.../TourDeFlex3/src/controls/SimpleLoader.mxml | 31 +
.../src/controls/SimpleMenuExample.mxml | 70 +
.../src/controls/SimpleProgressBar.mxml | 57 +
.../TourDeFlex3/src/controls/SimpleVRule.mxml | 31 +
.../TourDeFlex3/src/controls/SpacerExample.mxml | 36 +
.../TourDeFlex3/src/controls/TabBarExample.mxml | 57 +
.../src/controls/TextAreaExample.mxml | 37 +
.../TourDeFlex3/src/controls/TextExample.mxml | 39 +
.../src/controls/TextInputExample.mxml | 32 +
.../src/controls/TileListExample.mxml | 68 +
.../src/controls/ToggleButtonBarExample.mxml | 55 +
.../TourDeFlex3/src/controls/TreeExample.mxml | 65 +
.../src/controls/VScrollBarExample.mxml | 55 +
.../src/controls/VideoDisplayExample.mxml | 38 +
.../src/controls/assets/TransportButtons.fla | Bin 0 -> 96256 bytes
.../src/controls/assets/buttonDisabled.gif | Bin 0 -> 537 bytes
.../src/controls/assets/buttonDown.gif | Bin 0 -> 592 bytes
.../src/controls/assets/buttonOver.gif | Bin 0 -> 1175 bytes
.../src/controls/assets/buttonUp.gif | Bin 0 -> 626 bytes
.../TourDeFlex3/src/core/RepeaterExample.mxml | 51 +
.../src/core/SimpleApplicationExample.mxml | 61 +
.../src/effects/AddItemActionEffectExample.mxml | 98 +
.../effects/AnimatePropertyEffectExample.mxml | 37 +
.../src/effects/BlurEffectExample.mxml | 40 +
.../src/effects/CompositeEffectExample.mxml | 96 +
.../src/effects/DefaultListEffectExample.mxml | 75 +
.../effects/DefaultTileListEffectExample.mxml | 77 +
.../src/effects/DissolveEffectExample.mxml | 55 +
.../src/effects/FadeEffectExample.mxml | 54 +
.../src/effects/GlowEffectExample.mxml | 44 +
.../src/effects/IrisEffectExample.mxml | 38 +
.../src/effects/MoveEffectExample.mxml | 48 +
.../src/effects/ParallelEffectExample.mxml | 49 +
.../src/effects/PauseEffectExample.mxml | 45 +
.../src/effects/ResizeEffectExample.mxml | 40 +
.../src/effects/RotateEffectExample.mxml | 63 +
.../src/effects/SequenceEffectExample.mxml | 45 +
.../src/effects/SimpleEffectExample.mxml | 65 +
.../src/effects/SimpleTweenEffectExample.mxml | 71 +
.../src/effects/SoundEffectExample.mxml | 34 +
.../src/effects/WipeDownExample.mxml | 43 +
.../src/effects/WipeLeftExample.mxml | 43 +
.../src/effects/WipeRightExample.mxml | 43 +
.../TourDeFlex3/src/effects/WipeUpExample.mxml | 43 +
.../src/effects/ZoomEffectExample.mxml | 54 +
.../TourDeFlex3/src/effects/assets/jazz.mp3 | Bin 0 -> 7380 bytes
TourDeFlex/TourDeFlex3/src/explorer.html | 67 +
TourDeFlex/TourDeFlex3/src/explorer.mxml | 78 +
TourDeFlex/TourDeFlex3/src/explorer.xml | 158 +
.../formatters/CurrencyFormatterExample.mxml | 71 +
.../src/formatters/DateFormatterExample.mxml | 65 +
.../src/formatters/NumberFormatterExample.mxml | 68 +
.../src/formatters/PhoneFormatterExample.mxml | 67 +
.../src/formatters/SimpleFormatterExample.mxml | 65 +
.../SwitchSymbolFormatterExample.mxml | 61 +
.../src/formatters/ZipCodeFormatterExample.mxml | 66 +
TourDeFlex/TourDeFlex3/src/loaderPanel.mxml | 35 +
.../printing/AdvancedPrintDataGridExample.mxml | 105 +
.../src/printing/FormPrintFooter.mxml | 32 +
.../src/printing/FormPrintHeader.mxml | 25 +
.../TourDeFlex3/src/printing/FormPrintView.mxml | 77 +
.../src/printing/PrintDataGridExample.mxml | 142 +
.../TourDeFlex3/src/states/StatesExample.mxml | 68 +
.../src/states/TransitionExample.mxml | 95 +
.../validators/CreditCardValidatorExample.mxml | 66 +
.../validators/CurrencyValidatorExample.mxml | 43 +
.../src/validators/DateValidatorExample.mxml | 50 +
.../src/validators/EmailValidatorExample.mxml | 43 +
.../src/validators/NumberValidatorExample.mxml | 44 +
.../validators/PhoneNumberValidatorExample.mxml | 43 +
.../src/validators/RegExValidatorExample.mxml | 83 +
.../src/validators/SimpleValidatorExample.mxml | 74 +
.../SocialSecurityValidatorExample.mxml | 43 +
.../src/validators/StringValidatorExample.mxml | 46 +
.../src/validators/ZipCodeValidatorExample.mxml | 43 +
TourDeFlex/TourDeFlex3/src/viewsource.mxml | 57 +
477 files changed, 68124 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/build.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/build.xml b/TourDeFlex/TourDeFlex/build.xml
new file mode 100644
index 0000000..f1a3f7b
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/build.xml
@@ -0,0 +1,65 @@
+<?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 default="test" 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>
+ <condition property="AIR_HOME" value="${env.AIR_HOME}">
+ <isset property="env.AIR_HOME" />
+ </condition>
+
+ <!-- SDK properties -->
+ <property name="FLEX_HOME" value="C:/air3_beta2"/>
+ <property name="AIR_HOME" value="C:/air3_beta2"/>
+ <property name="ADL" value="${AIR_HOME}/bin/adl.exe"/>
+ <property name="ADT.JAR" value="${AIR_HOME}/lib/adt.jar"/>
+
+ <target name="init" depends="clean">
+ </target>
+
+ <!-- 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"/>
+
+ <target name="compile" depends="init">
+ <mxmlc file="${basedir}/src/TourDeFlex.mxml"
+ output="${basedir}/src/TourDeFlex.swf" fork="true" failonerror="true">
+ <load-config filename="${FLEX_HOME}/frameworks/air-config.xml"/>
+ <source-path path-element="${basedir}/src"/>
+ </mxmlc>
+ </target>
+
+ <target name="test" depends="compile">
+ </target>
+
+ <target name="clean" description="clean up">
+ <delete file="${basedir}/src/TourDeFlex.swf"/>
+ </target>
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/Config.as
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/Config.as b/TourDeFlex/TourDeFlex/src/Config.as
new file mode 100644
index 0000000..ba2a287
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/Config.as
@@ -0,0 +1,157 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package
+{
+ import classes.LocalQuickStart;
+
+ import flash.filesystem.File;
+ import flash.filesystem.FileMode;
+ import flash.filesystem.FileStream;
+ import flash.system.Capabilities;
+
+ public class Config
+ {
+ [Bindable] public static var PROGRAM_TITLE:String = "Tour de Flex";
+ [Bindable] public static var APP_VERSION:String = "0";
+ [Bindable] public static var OBJECTS_FILE_VERSION:String = "0";
+ [Bindable] public static var OBJECTS_TOTAL:int = 0;
+ [Bindable] public static var ABOUT_MENU_LIST:XMLList;
+ [Bindable] public static var IS_ONLINE:Boolean = false;
+ [Bindable] public static var USE_SPLASH:Boolean = true;
+
+ //public static var SETTINGS_FILE:String = "settings.xml";
+ //public static function get SETTINGS_URL():String {return "data/" + SETTINGS_FILE;}
+ //public static var settingsXml:XML;
+
+ [Bindable] public static var ABOUT_MENU_TITLE:String = "Flex Resources";
+
+ [Bindable] public static var SPLASH_URL:String = "data/assets/intro.flv";
+ [Bindable] public static var QUICK_START_REMOTE_URL:String = "http://tourdeflex.blogspot.com";
+ [Bindable] public static var QUICK_START_LOCAL_URL:String = "data/quickstart.html";
+
+ public static var OBJECTS_FILE:String = "objects-desktop2.xml";
+ public static function get OBJECTS_URL():String {return "data/" + OBJECTS_FILE;}
+ public static var LOCAL_OBJECTS_ROOT_PATH:String = "objects/";
+
+ public static var OBJECTS_UPDATER_FILE:String = "objects-desktop2-update.xml";
+ public static function get OBJECTS_UPDATER_URL():String {return "http://tourdeflex.adobe.com/download/" + OBJECTS_UPDATER_FILE;}
+ public static var APP_UPDATER_URL:String = "http://tourdeflex.adobe.com/download/update4.xml";
+
+ public static var ONLINE_STATUS_URL:String = "http://tourdeflex.adobe.com/ping.html";
+ public static var OFFLINE_URL:String = "data/offline.html";
+
+ private static var BASE_URL:String = "http://tourdeflex.adobe.com/server/";
+ [Bindable] public static var DATA_EXCHANGE_URL:String = BASE_URL + "main.php";
+
+ private static var COMENTS_URL_QUERY_STRING:String = "main.php?Request=GetComments&ObjectId=";
+ public static var COMMENTS_URL:String = BASE_URL + COMENTS_URL_QUERY_STRING;
+
+ public static var HEADER_GRADIENT_IMAGE:String = "images/header_gradient.png";
+ public static var HEADER_IMAGE:String = "images/header_logo.png";
+
+ public static var TREE_NO_ICON:String = "images/tree_noIcon.png";
+
+ public function Config()
+ {
+ }
+
+ /*
+ public static function loadSettings():void
+ {
+ setLocalization();
+
+ var loader:URLLoader = new URLLoader(new URLRequest(Config.SETTINGS_URL));
+ loader.addEventListener(Event.COMPLETE, settingsXmlLoaded);
+
+ var appXml:XML = NativeApplication.nativeApplication.applicationDescriptor;
+ var ns:Namespace = appXml.namespace();
+ APP_VERSION = appXml.ns::version;
+ }
+ */
+
+ public static function setLocalization():void
+ {
+ //var localLanguage:String = Capabilities.languages[0].toString().toLowerCase(); //for 'en-us'
+ var localLanguage:String = Capabilities.language.toLowerCase(); //for 'en'
+ trace("LANG=" + localLanguage);
+ //localLanguage = "jp"; //for testing
+ //trace(localLanguage);
+
+ if(localLanguage != "en" && localLanguage != "en-us")
+ {
+ //Config.QUICK_START_REMOTE_URL = appendLanguage(Config.QUICK_START_REMOTE_URL, localLanguage);
+ //Config.QUICK_START_LOCAL_URL = appendLanguage(Config.QUICK_START_LOCAL_URL, localLanguage);
+
+ var localizedObjectFile:String = "objects-desktop_" + localLanguage + ".xml";
+ var staticObjectFile:File = File.applicationDirectory.resolvePath("data/" + localizedObjectFile);
+ if(staticObjectFile.exists)
+ {
+ OBJECTS_FILE = localizedObjectFile;
+ Config.OBJECTS_UPDATER_FILE = "objects-desktop-update_" + localLanguage + ".xml";
+ //SETTINGS_FILE = "settings_" + localLanguage + ".xml";
+ }
+ }
+ }
+
+ public static function appendLanguage(oldPath:String, lang:String):String
+ {
+ var newPath:String = oldPath;
+
+ var pos:int = oldPath.lastIndexOf(".");
+ if(pos > 0)
+ {
+ var ext:String = oldPath.substring(pos, oldPath.length);
+ newPath = oldPath.substring(0, pos);
+ newPath += "_" + lang + ext;
+ }
+
+ return newPath;
+ }
+
+ /*
+ private static function settingsXmlLoaded(event:Event):void
+ {
+ var loader:URLLoader = URLLoader(event.target);
+ settingsXml = new XML(loader.data);
+ PROGRAM_TITLE = settingsXml.@title;
+ ABOUT_MENU_LIST = settingsXml.AboutMenu.Item;
+ ABOUT_MENU_TITLE = settingsXml.AboutMenu.@title;
+ }
+ */
+
+ public static function isAppFirstTimeRun():Boolean
+ {
+ var isFirstTime:Boolean = false;
+ var appFirstTimeRunFile:File = File.applicationStorageDirectory.resolvePath("versions/" + APP_VERSION);
+
+ if(!appFirstTimeRunFile.exists)
+ {
+ var fileStream:FileStream = new FileStream();
+ fileStream.open(appFirstTimeRunFile, FileMode.WRITE);
+ fileStream.writeUTFBytes(APP_VERSION);
+ fileStream.close();
+
+ isFirstTime = true;
+ }
+
+ return isFirstTime;
+ }
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/Preferences.as
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/Preferences.as b/TourDeFlex/TourDeFlex/src/Preferences.as
new file mode 100644
index 0000000..4144fd5
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/Preferences.as
@@ -0,0 +1,68 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package
+{
+ import flash.filesystem.File;
+ import flash.filesystem.FileMode;
+ import flash.filesystem.FileStream;
+
+ public class Preferences
+ {
+ //--------------------------------------------------------------------------
+ // Variables
+ //--------------------------------------------------------------------------
+ private static var filePath:String = "preferences.xml";
+ [Bindable] public static var preferencesXml:XML = <Preferences />;
+
+ //--------------------------------------------------------------------------
+ // Loading/setup
+ //--------------------------------------------------------------------------
+ public function Preferences()
+ {
+
+ }
+
+ public static function load():void
+ {
+ var preferencesFile:File = File.applicationStorageDirectory.resolvePath(filePath);
+ if(preferencesFile.exists)
+ {
+ var fileStream:FileStream = new FileStream();
+ fileStream.open(preferencesFile, FileMode.READ);
+ preferencesXml = XML(fileStream.readUTFBytes(fileStream.bytesAvailable));
+ fileStream.close();
+ }
+ }
+
+ //--------------------------------------------------------------------------
+ // Saving
+ //--------------------------------------------------------------------------
+ public static function save():void
+ {
+ var preferencesFile:File = File.applicationStorageDirectory.resolvePath(filePath);
+ var fileStream:FileStream = new FileStream();
+ fileStream.open(preferencesFile, FileMode.WRITE);
+ fileStream.writeUTFBytes(preferencesXml.toXMLString());
+ fileStream.close();
+ }
+
+ //--------------------------------------------------------------------------
+ //--------------------------------------------------------------------------
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/TourDeFlex-app.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/TourDeFlex-app.xml b/TourDeFlex/TourDeFlex/src/TourDeFlex-app.xml
new file mode 100644
index 0000000..102abff
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/TourDeFlex-app.xml
@@ -0,0 +1,157 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+ See http://www.adobe.com/go/air_1.0_application_descriptor for complete documentation.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/1.0
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>TourDeFlex</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>TourDeFlex</filename>
+
+ <!-- The name that is displayed in the AIR application installer. Optional. -->
+ <name>TourDeFlex</name>
+
+
+ <publisherID>E7BED6E5DDA59983786DD72EBFA46B1598278E07.1</publisherID>
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>2.0</version>
+
+ <!-- Description, displayed in the AIR application installer. Optional. -->
+ <description>Tour de Flex - Adobe Systems, Inc.</description>
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright>Copyright 2010, Adobe Systems, Inc.</copyright> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flex Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flex Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+ <systemChrome>none</systemChrome>
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is false. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Windows Start/Programs menu to use. Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <icon>
+ <image16x16>images/icons/tdfx_16.png</image16x16>
+ <image32x32>images/icons/tdfx_32.png</image32x32>
+ <image48x48>images/icons/tdfx_48.png</image48x48>
+ <image128x128>images/icons/tdfx_128.png</image128x128>
+ </icon>
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <allowBrowserInvocation>true</allowBrowserInvocation>
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME type. Optional. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!--
+ <icon>
+ <image16x16>images/icons/16x16-Icon.png</image16x16>
+ <image32x32>images/icons/32x32-Icon.png</image32x32>
+ <image48x48>images/icons/48x48-Icon.png</image48x48>
+ <image128x128>images/icons/128x128-Icon.png</image128x128>
+ </icon>
+ -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/TourDeFlex.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/TourDeFlex.mxml b/TourDeFlex/TourDeFlex/src/TourDeFlex.mxml
new file mode 100644
index 0000000..012b79a
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/TourDeFlex.mxml
@@ -0,0 +1,881 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" showFlexChrome="false"
+ showStatusBar="false" applicationComplete="init()" title="Tour de Flex" styleName="mainWindow"
+ width="1000" height="768" minWidth="1000" minHeight="700" xmlns:components="components.*"
+ visible="true" resize="window_resize(event)" horizontalScrollPolicy="off" verticalScrollPolicy="off">
+
+ <mx:Style source="styles.css" />
+
+ <mx:Script>
+ <![CDATA[
+ import mx.events.AIREvent;
+ import mx.rpc.events.FaultEvent;
+ import components.QuickStartWindow;
+ import mx.events.ResizeEvent;
+ import mx.validators.EmailValidator;
+// import TopPanels4_fla.MainTimeline;
+ import components.SplashWindow;
+ import mx.rpc.events.ResultEvent;
+ import classes.ObjectData;
+ import classes.Document;
+ import classes.ApplicationUpdaterManager;
+ import components.IllustrationTab;
+ import mx.events.CloseEvent;
+ import components.DownloadWindow;
+ import mx.controls.Alert;
+ import air.update.events.UpdateEvent;
+ import air.net.URLMonitor;
+ import mx.events.ItemClickEvent;
+ import components.WipeWindow;
+ import mx.events.FlexEvent;
+ import components.SearchWindow;
+ import mx.events.IndexChangedEvent;
+ import mx.managers.PopUpManager;
+ import components.CommentsWindow;
+ import mx.events.ListEvent;
+
+ //---- ADDED HS ------//
+ import mx.messaging.messages.IMessage;
+ import mx.rpc.events.ResultEvent;
+// import merapi.BridgeInstance;
+// import merapi.Bridge;
+// import merapi.messages.Message;
+// import merapi.messages.MerapiObjectMessage;
+ import mx.collections.ArrayCollection;
+// import plugin.TDFPluginTransferObject;
+ import flash.utils.*;
+ import components.PluginDownloadWindow;
+
+ //--------------------------------------------------------------------------
+ // Variables
+ //--------------------------------------------------------------------------
+ [Bindable]
+ public var objectData:ObjectData;
+
+ private var applicationUpdaterManager:ApplicationUpdaterManager;
+ private var urlMonitor:URLMonitor;
+ private var hasSearchOpenedWhileCommenting:Boolean = false;
+ private var selectedDownloadPath:String = "";
+ private var selectedIllustrationURL:String = "";
+ private var previousTopLevelCategoriesText:String = "";
+
+ //---- ADDED HS ------//
+ private var dockImage:BitmapData;
+// private var bridge:Bridge;
+ private var featuredSent:Boolean = false;
+ private var isPlugin:Boolean = false;
+ private var isStandAlone:Boolean = false;
+ private var comps:ArrayCollection= new ArrayCollection();
+// private var pluginTransferObject:TDFPluginTransferObject;
+ [Bindable]
+ private var splashWindow:QuickStartWindow = new QuickStartWindow();
+ private var splashPlayed:Boolean = false;
+
+ private var expandMode:int = 0;
+
+ private var illustrationAutoExpanded:Boolean = false;
+
+
+ //--------------------------------------------------------------------------
+ // Loading/initializing for main application
+ //--------------------------------------------------------------------------
+ private function init():void
+ {
+ NativeApplication.nativeApplication.addEventListener(Event.EXITING, onExiting);
+
+ //Config.loadSettings();
+ Config.setLocalization();
+ Preferences.load();
+
+ objectData = new ObjectData();
+ applicationUpdaterManager = new ApplicationUpdaterManager();
+
+ urlMonitor = new URLMonitor(new URLRequest(Config.ONLINE_STATUS_URL));
+ urlMonitor.addEventListener(StatusEvent.STATUS, urlMonitor_status);
+ urlMonitor.pollInterval = 20000; // Every 20 seconds
+ urlMonitor.start();
+
+ // Request notification whenever the app is activated or deactivated
+ //this.addEventListener(AIREvent.APPLICATION_ACTIVATE, applicationActivate);
+ //this.addEventListener(AIREvent.APPLICATION_DEACTIVATE, applicationDeactivate);
+
+ // Use the loader object to load an image, which will be used for the systray
+ // After the image has been loaded into the object, we can prepare the application for docking to the system tray
+ var iconLoad:Loader = new Loader();
+ var loader:Loader = new Loader();
+
+ iconLoad.load(new URLRequest("app:/images/icons/tdfx_128.png"));
+ iconLoad.contentLoaderInfo.addEventListener(Event.COMPLETE,prepareForSystray);
+
+ NativeApplication.nativeApplication.addEventListener(InvokeEvent.INVOKE, onInvoke);
+
+ // Center app when it starts - will add code later to remember where it was last -- GAW
+ var currentScreen:Screen = getCurrentScreen();
+ stage.nativeWindow.x = (currentScreen.bounds.right / 2) - (this.width / 2);
+ stage.nativeWindow.y = (currentScreen.bounds.height / 2) - (this.height / 2);
+ if (stage.nativeWindow.x < 0) stage.nativeWindow.x = 0;
+ if (stage.nativeWindow.y < 0) stage.nativeWindow.y = 0;
+
+ }
+
+
+ private function getCurrentScreen():Screen{
+ var current:Screen;
+ var screens:Array = Screen.getScreensForRectangle(stage.nativeWindow.bounds);
+ (screens.length > 0) ? current = screens[0] : current = Screen.mainScreen;
+ return current;
+ }
+
+ public function showQuickStart():void
+ {
+ illustrationTabs.visible = false;
+ documentTabs.visible = false;
+ quickStartWindow.visible = true;
+ if(Config.IS_ONLINE )
+ {
+ quickStartWindow.location = Config.QUICK_START_REMOTE_URL;
+ }
+ else
+ {
+ quickStartWindow.location = Config.QUICK_START_LOCAL_URL;
+ }
+ }
+
+ private function closeQuickStart(event:CloseEvent = null):void
+ {
+ illustrationTabs.visible = true;
+ documentTabs.visible = true;
+ quickStartWindow.visible = false;
+ quickStartWindow.clearContents(); // to kill any running content
+ }
+
+ /**
+ * Called when the invoke event is fired, such as when this app is called. ADDED HS
+ */
+ private function onInvoke(invokeEvt:InvokeEvent):void
+ {
+ // Here we need to figure out how the app was invoked, if from the Eclipse plug-in, then we should
+ // create the Merapi bridge. If not, then we should just set the app to visible since it starts off
+ // invisible so we can keep it in the system tray
+ /*
+ if (invokeEvt.arguments[0] == "plugin" && isPlugin == false) {
+ isPlugin = true;
+ bridge = Bridge.instance;
+ bridge.addEventListener(ResultEvent.RESULT,handleResponse);
+ } else { */
+ isStandAlone = true;
+ this.undock(invokeEvt);
+ /*}*/
+
+ // If started in stand alone mode and later invoked again as a plugin, send featured components - GAW
+ //if (isStandAlone && isPlugin) sendFeatured();
+
+
+ //if(!isPlugin && Config.USE_SPLASH && Preferences.preferencesXml.Splash.@skip != "true")
+ if(!isPlugin && Config.USE_SPLASH && !splashPlayed)
+ {
+ showQuickStart();
+ splashPlayed = true;
+ }
+ }
+
+ /*
+ private function sendFeatured():void {
+ // Never send featured components more than once
+ if (!featuredSent) {
+ var featuredComps:ArrayCollection = objectData.getFeaturedComponents();
+ var m : Message = new Message();
+ m.type = "FindFeaturedComponents";
+ m.data = featuredComps;
+ bridge.sendMessage(m);
+ featuredSent = true;
+ }
+ }
+ */
+
+ private function urlMonitor_status(event:StatusEvent):void
+ {
+ Config.IS_ONLINE = urlMonitor.available;
+
+ if(Config.IS_ONLINE )
+ {
+ quickStartWindow.location = Config.QUICK_START_REMOTE_URL;
+ if(objectList.selectedId > 0)
+ button_comments.enabled = true;
+ }
+ else
+ {
+ quickStartWindow.location = Config.QUICK_START_LOCAL_URL;
+ button_comments.enabled = false;
+ }
+
+
+ }
+
+ private function confirmExit():void {
+ Alert.yesLabel = "Close";
+ Alert.noLabel = "Minimize";
+ Alert.show("Closing will cause the plug-in search capabilities to be rendered useless. Close or minimize?", "Close?", 3, this, confirmationClickHandler);
+
+ }
+
+ private function confirmationClickHandler(event:CloseEvent):void {
+ if (event.detail==Alert.YES) {
+ isPlugin = false;
+ NativeApplication.nativeApplication.dispatchEvent(new Event(Event.EXITING,true,true));
+ } else {
+ dock();
+ }
+ }
+
+ private function closeSplash():void {
+ PopUpManager.removePopUp(splashWindow);
+ //mx.core.Application.application.removeChild(movieBackground);
+ }
+
+ private function onExiting(exitingEvent:Event):void {
+ var winClosingEvent:Event;
+
+ // Kill the movie and it's background if it exists
+ //if (this.contains(movieBackground)) closeSplash();
+
+ exitingEvent.preventDefault();
+ if (isPlugin) {
+ undock(exitingEvent);
+ confirmExit();
+ return;
+ }
+
+ NativeApplication.nativeApplication.removeEventListener(Event.EXITING, onExiting);
+
+ for each (var win:NativeWindow in NativeApplication.nativeApplication.openedWindows) {
+ winClosingEvent = new Event(Event.CLOSING,false,true);
+ win.dispatchEvent(winClosingEvent);
+ if (!winClosingEvent.isDefaultPrevented()) {
+ win.close();
+ } else {
+ exitingEvent.preventDefault();
+ }
+ }
+
+ if (!exitingEvent.isDefaultPrevented()) {
+ Preferences.save();
+ }
+ }
+
+ //--------------------------------------------------------------------------
+ // Window events
+ //--------------------------------------------------------------------------
+ private function window_resize(event:ResizeEvent):void
+ {
+ if (documentTabs != null) documentTabs.needHtmlHack = false;
+
+ //if(splashWindow.video_intro)
+ //{
+ //splashWindow.width = this.width - splashWindow.x - 40;
+ //splashWindow.height = this.height - splashWindow.y - 65;
+ //splashWindow.video_intro.width = splashWindow.width;
+ //splashWindow.video_intro.height = splashWindow.height;
+ //}
+ }
+
+ //--------------------------------------------------------------------------
+ // Object list UI coordination/management
+ //--------------------------------------------------------------------------
+ private function objectList_change(event:ListEvent):void
+ {
+ var objectXml:XML = null;
+
+ documentTabs.needHtmlHack = true;
+ // Kill the movie and it's background if it exists
+ //if (this.contains(movieBackground)) closeSplash();
+
+ /*
+ // Get the object xml differently depending on if it was clicked from AIR side or plugin ... HS
+ if (event==null && pluginTransferObject!=null) {
+ objectXml = objectData.getXMLForObjectId(pluginTransferObject.selectedComponentId);
+ }
+ else
+ { */
+ objectXml = XML(event.itemRenderer.data);
+ /*}*/
+
+ objectList.selectedId = objectXml.@id;
+ objectList.selectedObject = objectXml;
+
+ button_download.enabled = false;
+ button_comments.enabled = false;
+ button_expand.enabled = false;
+ button_browser.enabled = false;
+
+ if(objectList.selectedId > 0)
+ {
+ closeQuickStart();
+
+ label_objectName.text = objectXml.@name;
+ if(Config.IS_ONLINE)
+ {
+ //HTTP_GetCommentsTotal.send();
+ HTTP_logView.send();
+ button_comments.enabled = true;
+ }
+
+ searchWindow.visible = false;
+ commentsWindow.visible = false;
+ objectList.setDescription(objectXml.@description, objectXml.@dateAdded, objectXml.@author);
+
+ documentTabs.needHtmlHack = true;
+
+ //reset selected tab due to tab selection issue
+ documentTabs.selectedIndex = 0;
+ documentTabs.validateNow();
+
+ illustrationTabs.removeAll();
+ illustrationTabs.removeAllIllustrations();
+
+ var illustrations:XMLList = XMLList(objectXml.Illustrations.Illustration);
+ for each(var illustration:XML in illustrations)
+ {
+ var associatedDocuments:Array = new Array();
+ documentTabs.removeAllChildren();
+ var documents:XMLList = XMLList(illustration.Documents.Document);
+ for each(var document:XML in documents)
+ {
+ var documentPath:String = document.@path;
+ if(document.@localPath.toString().length > 0)
+ documentPath = document.@localPath;
+
+ associatedDocuments.push(new Document(document.@name, documentPath, document.@openLinksExternal));
+ }
+
+ if(!Config.IS_ONLINE && illustration.@localPath.toString().length == 0 && illustration.@path.toLowerCase().indexOf("http") == 0)
+ {
+ illustrationTabs.addTab(illustration.@name, Config.OFFLINE_URL, "", "", "", "", "", "", null);
+ }
+ else
+ {
+ var illustrationPath:String = illustration.@path;
+ if(illustration.@localPath.toString().length > 0)
+ illustrationPath = illustration.@localPath;
+
+ var illustrationDownloadPath:String = illustration.@downloadPath;
+ if(illustration.@localDownloadPath.toString().length > 0)
+ illustrationDownloadPath = illustration.@localDownloadPath;
+
+ illustrationTabs.addTab(illustration.@name, illustrationPath, Config.LOCAL_OBJECTS_ROOT_PATH, illustration.@isModule, illustrationDownloadPath, illustration.@autoExpand, illustration.@openLinksExternal, illustration.@scrollBars, associatedDocuments);
+ }
+ }
+
+ documentTabs.addTabs(illustrationTabs.associatedDocumentsCollection[0], Config.LOCAL_OBJECTS_ROOT_PATH);
+
+ if(illustrationTabs.numChildren > 0)
+ autoExpandIllustrationTab(IllustrationTab(illustrationTabs.getChildAt(0)).autoExpand);
+
+ if(illustrationTabs.numChildren > 0 && IllustrationTab(illustrationTabs.getChildAt(0)).downloadPath.length > 0)
+ {
+ button_download.enabled = true;
+ selectedDownloadPath = IllustrationTab(illustrationTabs.getChildAt(0)).downloadPath;
+ }
+ selectedIllustrationURL = IllustrationTab(illustrationTabs.getChildAt(0)).illustrationURL;
+ }
+ else
+ {
+ button_comments.label = "Comments";
+ }
+ }
+
+ private function illustrationTabs_change(event:IndexChangedEvent):void
+ {
+ var documents:Array = IllustrationTabs(event.currentTarget).associatedDocumentsCollection[event.newIndex];
+ documentTabs.addTabs(documents, Config.LOCAL_OBJECTS_ROOT_PATH);
+
+ var tab:IllustrationTab = IllustrationTab(IllustrationTabs(event.currentTarget).getChildAt(event.newIndex));
+ selectedDownloadPath = tab.downloadPath;
+ if(selectedDownloadPath.length == 0)
+ button_download.enabled = false;
+ else
+ button_download.enabled = true;
+
+ selectedIllustrationURL = tab.illustrationURL;
+ if(selectedIllustrationURL.length == 0)
+ button_browser.enabled = false;
+ else
+ button_browser.enabled = true;
+
+ autoExpandIllustrationTab(tab.autoExpand);
+ }
+
+ private function autoExpandIllustrationTab(autoExpand:Boolean):void
+ {
+ var documentsBox:DisplayObject = vdivider.getChildAt(1);
+ if(autoExpand)
+ {
+ //button_expand.enabled = false;
+ illustrationAutoExpanded = true;
+ documentsBox.height = 0;
+ }
+ else
+ {
+ button_expand.enabled = true;
+ illustrationAutoExpanded = false;
+
+ if(expandMode == 0) // showing split
+ documentsBox.height = vdivider.height/2;
+ else if(expandMode == 1) // showing illustrations
+ documentsBox.height = 0;
+ else if(expandMode == 2) // showing documents
+ documentsBox.height = vdivider.height;
+ }
+ }
+
+ private function toggleButtonBar_treeList_itemClick(event:ItemClickEvent):void
+ {
+ if(event.index == 0)
+ {
+ objectList.showTreeView(true);
+ comboBox_topLevelCategories.visible = false;
+ comboBox_topLevelCategories.height = 0;
+ }
+ else
+ {
+ objectData.sort(objectList.sortType);
+ objectList.showTreeView(false);
+ comboBox_topLevelCategories.visible = true;
+ comboBox_topLevelCategories.height = 22;
+ }
+ }
+
+ private function comboBox_topLevelCategories_change(event:ListEvent):void
+ {
+ searchWindow.clear();
+ objectData.filterTopLevelCategory(comboBox_topLevelCategories.selectedLabel);
+ objectData.sort(objectList.sortType);
+ }
+
+ private function objectList_sortChange(event:ListEvent):void
+ {
+ objectData.sort(objectList.sortType);
+ }
+
+ //--------------------------------------------------------------------------
+ // Comments window
+ //--------------------------------------------------------------------------
+ private function button_comments_click(event:MouseEvent):void
+ {
+ if(objectList.selectedId > 0)
+ {
+ var url:String = objectList.selectedObject.@commentsUrl;
+ if(url.length > 0)
+ navigateToURL(new URLRequest(url));
+ else
+ Alert.show("Comments are currently unavailable for this item.", "Unavailable");
+ }
+ }
+
+ /*
+ private function button_comments_click(event:MouseEvent):void
+ {
+ if(objectList.selectedId > 0)
+ {
+ commentsWindow.loadComments(objectList.selectedId, Config.IS_ONLINE);
+ commentsWindow.visible = true;
+ illustrationTabs.visible = false
+ previousTopLevelCategoriesText = comboBox_topLevelCategories.text;
+ }
+ }
+
+ private function processGetCommentsTotal(event:ResultEvent):void
+ {
+ var total:int = parseInt(event.result.toString());
+ button_comments.label = "Comments (" + total + ")";
+ }
+
+ private function processGetCommentsTotal_fault():void
+ {
+ //Alert.show('An Internet connection is required', 'Offline');
+ }
+ */
+
+ private function HTTP_logView_fault(event:FaultEvent):void
+ {
+ //Alert.show('An Internet connection is required' + event.message, 'Offline');
+ }
+
+ //--------------------------------------------------------------------------
+ // Search window
+ //--------------------------------------------------------------------------
+ private function button_search_click(event:MouseEvent):void
+ {
+ // Kill the movie and it's background if it exists
+ //if (this.contains(movieBackground)) closeSplash();
+
+ if(button_search.selected)
+ {
+ if(commentsWindow.visible)
+ hasSearchOpenedWhileCommenting = true;
+
+ closeQuickStart();
+
+ commentsWindow.visible = false;
+ searchWindow.visible = true;
+ illustrationTabs.visible = false;
+ comboBox_topLevelCategories.enabled = false;
+ previousTopLevelCategoriesText = comboBox_topLevelCategories.text;
+ comboBox_topLevelCategories.text = "All";
+ }
+ else
+ {
+ searchWindow.visible = false;
+ comboBox_topLevelCategories.enabled = true;
+ comboBox_topLevelCategories.text = previousTopLevelCategoriesText;
+ }
+ }
+
+ private function searchWindow_submit(event:Event):void
+ {
+ toggleButtonBar_treeList.selectedIndex = 1;
+ objectList.showTreeView(false);
+ }
+
+ //--------------------------------------------------------------------------
+ // Shared wipe-window functionality and coordination
+ //--------------------------------------------------------------------------
+ private function wipedWindow_hide(event:FlexEvent):void
+ {
+ if(!hasSearchOpenedWhileCommenting)
+ {
+ illustrationTabs.visible = true;
+ button_search.selected = false;
+ comboBox_topLevelCategories.enabled = true;
+ comboBox_topLevelCategories.text = previousTopLevelCategoriesText;
+ }
+
+ hasSearchOpenedWhileCommenting = false;
+ }
+
+ //--------------------------------------------------------------------------
+ // Download window
+ //--------------------------------------------------------------------------
+ private function button_download_click(event:MouseEvent):void
+ {
+ if(objectList.selectedId > 0)
+ {
+ illustrationTabs.visible = false;
+
+ /*if (this.isPlugin && pluginTransferObject!=null)
+ {
+ var pluginPopup:PluginDownloadWindow = new PluginDownloadWindow();
+ pluginPopup.addEventListener(FlexEvent.REMOVE, downloadWindow_close);
+ PopUpManager.addPopUp(pluginPopup, this, true);
+ PopUpManager.centerPopUp(pluginPopup);
+ pluginPopup.download(selectedDownloadPath, pluginTransferObject.pluginDownloadPath, Config.LOCAL_OBJECTS_ROOT_PATH);
+ }
+ else {*/
+ var popup:DownloadWindow = new DownloadWindow();
+ popup.addEventListener(FlexEvent.REMOVE, downloadWindow_close);
+ PopUpManager.addPopUp(popup, this, true);
+ PopUpManager.centerPopUp(popup);
+ popup.download(selectedDownloadPath, Config.LOCAL_OBJECTS_ROOT_PATH);
+ /*}*/
+ }
+ }
+
+ private function button_browser_click(eveng:MouseEvent):void {
+ navigateToURL(new URLRequest(selectedIllustrationURL));
+ }
+
+ private function downloadWindow_close(event:FlexEvent):void
+ {
+ illustrationTabs.visible = true;
+ }
+
+ //--------------------------------------------------------------------------
+ // Plugin related
+ //--------------------------------------------------------------------------
+ // ----- ADDED THE REST OF THE SCRIPT... HS
+ /**
+ * Handle the Merapi communication from the plug-in
+ private function handleResponse(event:Event):void
+ {
+ var ev:ResultEvent = ResultEvent(event);
+ var msg:Message = Message(ev.result);
+ if (msg.type == "FindComponents") {
+ if (msg.data != null) {
+ var msgType:String = msg.type;
+ comps = objectData.getFilteredComponents(String(msg.data));
+
+ }
+ var m : Message = new Message();
+ m.type = "FindComponents";
+ m.data = comps;
+ bridge.sendMessage(m);
+ }
+ else if (msg.type == "SendPluginTO") {
+ pluginTransferObject = TDFPluginTransferObject(msg.data);
+ }
+ else if (msg.type == "Minimize") {
+ this.minimize();
+ }
+ else if (msg.type == "Dock") {
+ this.dock();
+ }
+ else if (msg.type == "Undock") {
+ // We need to figure out what the download path is from the returned message and set it
+ if (msg.data != null) {
+ pluginTransferObject = TDFPluginTransferObject(msg.data);
+ this.objectList_change(null); // Fire the navigation to the component double-clicked from plugin
+ }
+ this.undock(event);
+ }
+ else if (msg.type == "Exit") {
+ isPlugin = false;
+ onExiting(event);
+ }
+ }
+ **/
+
+
+ /**
+ * Prepare for docking
+ */
+ public function prepareForSystray(event:Event):void {
+ // Immediately send featured component list to plugin, if plugin invoked
+ //if (isPlugin) sendFeatured();
+
+ if (event!=null)
+ // Retrieve the image being used as the systray icon
+ dockImage = event.target.content.bitmapData;
+
+ // If this is Mac...
+ if (NativeApplication.supportsDockIcon)
+ {
+ setDockProperties();
+ DockIcon(NativeApplication.nativeApplication.icon).menu = createSystrayRootMenu();
+ }
+ else
+ {
+ setSystemTrayProperties();
+ SystemTrayIcon(NativeApplication.nativeApplication.icon).menu = createSystrayRootMenu();
+ }
+ // If we are using this independent of the plug-in, we want to undock it because it was opened in
+ // docked mode and non-visible so that when the plug-in opens it, it does not flash onto the screen.
+ if (!isPlugin){
+ this.undock(null);
+ }
+ else this.dock();
+ }
+
+ /**
+ * Create a menu that can be accessed from the systray
+ */
+ private function createSystrayRootMenu():NativeMenu{
+ var menu:NativeMenu = new NativeMenu();
+ var openNativeMenuItem:NativeMenuItem = new NativeMenuItem("Open");
+ var exitNativeMenuItem:NativeMenuItem = new NativeMenuItem("Exit");
+
+ openNativeMenuItem.addEventListener(Event.SELECT, undock);
+ exitNativeMenuItem.addEventListener(Event.SELECT, onExiting);
+
+ menu.addItem(openNativeMenuItem);
+ menu.addItem(exitNativeMenuItem);
+
+ return menu;
+ }
+
+ /**
+ * Add event listeners
+ */
+ private function setDockProperties():void {
+ //Listen to the display state changing of the window, so that we can catch the minimize and dock
+ stage.nativeWindow.addEventListener(NativeWindowDisplayStateEvent.DISPLAY_STATE_CHANGING, processMinimized); //Catch the minimize event
+ }
+ /**
+ * To be able to dock and undock we need to set some eventlisteners
+ */
+ private function setSystemTrayProperties():void {
+ SystemTrayIcon(NativeApplication.nativeApplication.icon).tooltip = "Tour de Flex";
+
+ SystemTrayIcon(NativeApplication.nativeApplication.icon).addEventListener(MouseEvent.CLICK, undock);
+ stage.nativeWindow.addEventListener(NativeWindowDisplayStateEvent.DISPLAY_STATE_CHANGING, processMinimized); //Catch the minimize event
+ }
+
+ /**
+ * Do the appropriate actions after the windows display state has changed.
+ * E.g. dock when the user clicks on minimize
+ *
+ */
+ private function processMinimized(displayStateEvent:NativeWindowDisplayStateEvent):void {
+ // prevent the minimize
+ if(displayStateEvent.afterDisplayState == NativeWindowDisplayState.MINIMIZED) {
+ displayStateEvent.preventDefault();
+
+ //Dock instead
+ dock();
+ }
+ }
+
+ /**
+ * Do our own 'minimize' by docking the application to the systray (showing the application icon in the systray)
+ */
+ public function dock():void {
+ // Hide the applcation
+ stage.nativeWindow.visible = false;
+
+ //Setting the bitmaps array will show the application icon in the systray
+ NativeApplication.nativeApplication.icon.bitmaps = [dockImage];
+
+ }
+
+ /**
+ * Show the application again and remove the application icon from the systray
+ *
+ */
+ public function undock(evt:Event):void {
+ // After setting the window to visible, make sure that the application is ordered to the front,
+ // else we'll still need to click on the application on the taskbar to make it visible
+ stage.nativeWindow.visible = true;
+ stage.nativeWindow.restore();
+ stage.nativeWindow.orderToFront();
+ stage.nativeWindow.activate();
+
+ // Clearing the bitmaps array also clears the applcation icon from the systray
+ NativeApplication.nativeApplication .icon.bitmaps = [];
+
+ // Force the application to the front with focus, then allow user to switch to other apps
+ if (isPlugin) {
+ this.alwaysInFront = true
+ this.activate();
+ this.alwaysInFront = false;
+ }
+ }
+
+ private function expandIllustration():void {
+ documentTabs.needHtmlHack = false;
+
+ if (expandMode == 0) {
+ sideBar.setStyle("resizeEffect", expandEffect);
+ sideBar.width = 0;
+ if (illustrationAutoExpanded)
+ {
+ expandMode = 3;
+ } else {
+ expandMode = 1;
+ }
+ } else if (expandMode == 1) {
+ docBox.setStyle("resizeEffect",expandEffect);
+ illBox.setStyle("resizeEffect",null);
+ sideBar.setStyle("resizeEffect", expandEffect);
+ vdivider.moveDivider(0,vdivider.height);
+ sideBar.width = 0;
+ expandMode=2;
+ } else if (expandMode == 2) {
+ docBox.setStyle("resizeEffect",null);
+ illBox.setStyle("resizeEffect",expandEffect);
+ vdivider.moveDivider(0, - (vdivider.height));
+ expandMode=3;
+ } else if (expandMode == 3) {
+ docBox.setStyle("resizeEffect",expandEffect);
+ illBox.setStyle("resizeEffect",null);
+ sideBar.width=230;
+ vdivider.moveDivider(0, + (vdivider.height/2));
+ expandMode=0;
+ }
+ }
+
+ //--------------------------------------------------------------------------
+ //--------------------------------------------------------------------------
+
+ ]]>
+ </mx:Script>
+
+ <!--
+ <mx:HTTPService id="HTTP_GetCommentsTotal" showBusyCursor="false" result="processGetCommentsTotal(event)" resultFormat="e4x" fault="processGetCommentsTotal_fault()" url="{Config.DATA_EXCHANGE_URL}" useProxy="false" method="POST">
+ <mx:request xmlns="">
+ <Request>GetCommentsTotal</Request>
+ <ObjectId>{objectList.selectedId}</ObjectId>
+ </mx:request>
+ </mx:HTTPService>
+ -->
+
+ <mx:HTTPService id="HTTP_logView" showBusyCursor="false" resultFormat="e4x" fault="HTTP_logView_fault(event)" url="{Config.DATA_EXCHANGE_URL}" useProxy="false" method="POST">
+ <mx:request xmlns="">
+ <Request>logView</Request>
+ <ObjectId>{objectList.selectedId}</ObjectId>
+ <ObjectName>{label_objectName.text}</ObjectName>
+ </mx:request>
+ </mx:HTTPService>
+
+ <mx:Resize id="expandEffect" duration="200" />
+ <mx:VBox width="100%" height="100%" verticalGap="0" styleName="mainWindow">
+ <components:ApplicationHeader id="applicationHeader" />
+ <mx:HDividedBox styleName="mainBackground" width="100%" height="100%" paddingBottom="0" paddingLeft="12" paddingRight="0" paddingTop="7">
+
+ <mx:VBox id="sideBar" styleName="outerDividedBoxes" width="245" minWidth="0" height="100%" horizontalScrollPolicy="off" >
+ <mx:HBox width="100%" paddingRight="6">
+ <mx:ToggleButtonBar width="60" id="toggleButtonBar_treeList" itemClick="toggleButtonBar_treeList_itemClick(event)" >
+ <mx:dataProvider>
+ <mx:Object id="toggle_tree" icon="@Embed('images/toggle_tree.png')" toolTip="View Tree" />
+ <mx:Object id="toggle_list" icon="@Embed('images/toggle_list.png')" toolTip="View List" />
+ </mx:dataProvider>
+ </mx:ToggleButtonBar>
+ <mx:HBox width="100%" horizontalAlign="right">
+ <mx:Button id="button_search" label="Search » Filter" toggle="true" click="button_search_click(event)" labelPlacement="left" styleName="searchButton"/>
+ </mx:HBox>
+ </mx:HBox>
+ <mx:ComboBox id="comboBox_topLevelCategories" height="0" visible="false" rowCount="10" width="97%" dataProvider="{objectData.topLevelCategoriesXml}" change="comboBox_topLevelCategories_change(event)" />
+ <components:ObjectList id="objectList" treeDataProvider="{objectData.treeXml}" listDataProvider="{objectData.listXml}" change="objectList_change(event)" sortChange="objectList_sortChange(event)"/>
+ </mx:VBox>
+
+ <mx:Canvas id="box_illustrationsAndDocumentsOuterContainer" width="100%" height="100%">
+ <mx:VBox id="box_illustrationsAndDocuments" styleName="outerDividedBoxes" width="100%" height="100%" horizontalAlign="right" paddingRight="30" >
+ <mx:HBox id="box_illustrationControls" width="100%">
+ <mx:Label id="label_objectName" fontSize="10" fontWeight="bold" />
+ <mx:HBox width="100%" horizontalAlign="right" verticalAlign="middle">
+ <mx:LinkButton id="button_comments" click="button_comments_click(event)" label="Comments" fontSize="9" enabled="false" styleName="commentButton" />
+ <mx:LinkButton id="button_download" click="button_download_click(event)" label="Download" fontSize="9" enabled="false" styleName="downloadButton" />
+ <mx:LinkButton id="button_browser" click="button_browser_click(event)" label="Open in Browser" fontSize="9" enabled="false" styleName="buttonBrowser" />
+ <mx:LinkButton id="button_expand" click="expandIllustration()" label="Toggle Layout" fontSize="9" enabled="false" styleName="maximizeButton" />
+ </mx:HBox>
+ </mx:HBox>
+ <mx:VDividedBox id="vdivider" width="100%" height="100%">
+ <mx:VBox id="illBox" styleName="illustrationsBox" width="100%" height="100%" >
+ <components:IllustrationTabs id="illustrationTabs" change="illustrationTabs_change(event)" />
+ </mx:VBox>
+ <mx:VBox id="docBox" styleName="illustrationsBox" width="100%" height="100%">
+ <components:DocumentTabs id="documentTabs"/>
+ </mx:VBox>
+ </mx:VDividedBox>
+ </mx:VBox>
+ <mx:VBox width="100%" height="100%" paddingBottom="5" paddingRight="10">
+ <components:QuickStartWindow id="quickStartWindow" close="closeQuickStart(event)" width="100%" height="100%" />
+ </mx:VBox>
+ </mx:Canvas>
+ </mx:HDividedBox>
+
+ <components:ApplicationFooter />
+
+ </mx:VBox>
+
+ <!--<mx:Box id="movieBackground" backgroundColor="black" x="{splashWindow.x}" y="{splashWindow.y}" width="{splashWindow.width}" height="{splashWindow.height}"/>-->
+
+ <components:CommentsWindow id="commentsWindow" visible="false" hideComplete="wipedWindow_hide(event)" x="{box_illustrationsAndDocuments.x}" y="{box_illustrationsAndDocuments.y + applicationHeader.height}" width="{box_illustrationsAndDocuments.width}" height="{box_illustrationsAndDocuments.height}"/>
+ <components:SearchWindow id="searchWindow" visible="false" searchSubmit="searchWindow_submit(event)" objectData="{objectData}" searchTagsData="{objectData.searchTags}" hideComplete="wipedWindow_hide(event)" x="{box_illustrationsAndDocumentsOuterContainer.x}" y="{box_illustrationsAndDocumentsOuterContainer.y + applicationHeader.height}" width="{box_illustrationsAndDocumentsOuterContainer.width}" height="{box_illustrationsAndDocumentsOuterContainer.height}"/>
+</mx:WindowedApplication>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/classes/ApplicationUpdaterManager.as
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/classes/ApplicationUpdaterManager.as b/TourDeFlex/TourDeFlex/src/classes/ApplicationUpdaterManager.as
new file mode 100644
index 0000000..20a3b38
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/classes/ApplicationUpdaterManager.as
@@ -0,0 +1,55 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package classes
+{
+ import air.update.ApplicationUpdaterUI;
+ import air.update.events.UpdateEvent;
+
+ import flash.desktop.NativeApplication;
+ import flash.events.ErrorEvent;
+ import flash.events.Event;
+
+ import mx.controls.Alert;
+
+ public class ApplicationUpdaterManager
+ {
+ private var appUpdater:ApplicationUpdaterUI = new ApplicationUpdaterUI();
+
+ public function ApplicationUpdaterManager()
+ {
+ appUpdater.updateURL = Config.APP_UPDATER_URL;
+ appUpdater.isCheckForUpdateVisible = false;
+ //appUpdater.isInstallUpdateVisible = false;
+ appUpdater.addEventListener(ErrorEvent.ERROR, appUpdater_error);
+ appUpdater.addEventListener(UpdateEvent.INITIALIZED, appUpdater_update);
+ appUpdater.initialize();
+ }
+
+ private function appUpdater_update(event:UpdateEvent):void
+ {
+ appUpdater.checkNow();
+ }
+
+ private function appUpdater_error(event:ErrorEvent):void
+ {
+ Alert.show(event.toString());
+ }
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/classes/Document.as
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/classes/Document.as b/TourDeFlex/TourDeFlex/src/classes/Document.as
new file mode 100644
index 0000000..909ae65
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/classes/Document.as
@@ -0,0 +1,35 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package classes
+{
+ public class Document
+ {
+ public var name:String = "";
+ public var path:String = "";
+ public var openLinksExternal:String = "";
+
+ public function Document(name:String = "", path:String = "", openLinksExternal:String = "")
+ {
+ this.name = name;
+ this.path = path;
+ this.openLinksExternal = openLinksExternal;
+ }
+
+ }
+}
\ No newline at end of file
[07/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/SourceStyles.css
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/SourceStyles.css b/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/SourceStyles.css
new file mode 100644
index 0000000..9d5210f
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/SourceStyles.css
@@ -0,0 +1,155 @@
+/*
+ * 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.
+ */
+body {
+ font-family: Courier New, Courier, monospace;
+ font-size: medium;
+}
+
+.ActionScriptASDoc {
+ color: #3f5fbf;
+}
+
+.ActionScriptBracket/Brace {
+}
+
+.ActionScriptComment {
+ color: #009900;
+ font-style: italic;
+}
+
+.ActionScriptDefault_Text {
+}
+
+.ActionScriptMetadata {
+ color: #0033ff;
+ font-weight: bold;
+}
+
+.ActionScriptOperator {
+}
+
+.ActionScriptReserved {
+ color: #0033ff;
+ font-weight: bold;
+}
+
+.ActionScriptString {
+ color: #990000;
+ font-weight: bold;
+}
+
+.ActionScriptclass {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScriptfunction {
+ color: #339966;
+ font-weight: bold;
+}
+
+.ActionScriptinterface {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScriptpackage {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScripttrace {
+ color: #cc6666;
+ font-weight: bold;
+}
+
+.ActionScriptvar {
+ color: #6699cc;
+ font-weight: bold;
+}
+
+.MXMLASDoc {
+ color: #3f5fbf;
+}
+
+.MXMLComment {
+ color: #800000;
+}
+
+.MXMLComponent_Tag {
+ color: #0000ff;
+}
+
+.MXMLDefault_Text {
+}
+
+.MXMLProcessing_Instruction {
+}
+
+.MXMLSpecial_Tag {
+ color: #006633;
+}
+
+.MXMLString {
+ color: #990000;
+}
+
+.CSS@font-face {
+ color: #990000;
+ font-weight: bold;
+}
+
+.CSS@import {
+ color: #006666;
+ font-weight: bold;
+}
+
+.CSS@media {
+ color: #663333;
+ font-weight: bold;
+}
+
+.CSS@namespace {
+ color: #923196;
+}
+
+.CSSComment {
+ color: #999999;
+}
+
+.CSSDefault_Text {
+}
+
+.CSSDelimiters {
+}
+
+.CSSProperty_Name {
+ color: #330099;
+}
+
+.CSSProperty_Value {
+ color: #3333cc;
+}
+
+.CSSSelector {
+ color: #ff00ff;
+}
+
+.CSSString {
+ color: #990000;
+}
+
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/SourceTree.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/SourceTree.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/SourceTree.html
new file mode 100644
index 0000000..80281a9
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/SourceTree.html
@@ -0,0 +1,129 @@
+<!--
+ 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.
+-->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!-- saved from url=(0014)about:internet -->
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
+ <!--
+ Smart developers always View Source.
+
+ This application was built using Adobe Flex, an open source framework
+ for building rich Internet applications that get delivered via the
+ Flash Player or to desktops via Adobe AIR.
+
+ Learn more about Flex at http://flex.org
+ // -->
+ <head>
+ <title></title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <!-- Include CSS to eliminate any default margins/padding and set the height of the html element and
+ the body element to 100%, because Firefox, or any Gecko based browser, interprets percentage as
+ the percentage of the height of its parent container, which has to be set explicitly. Initially,
+ don't display flashContent div so it won't show if JavaScript disabled.
+ -->
+ <style type="text/css" media="screen">
+ html, body { height:100%; }
+ body { margin:0; padding:0; overflow:auto; text-align:center;
+ background-color: #ffffff; }
+ #flashContent { display:none; }
+ </style>
+
+ <!-- Enable Browser History by replacing useBrowserHistory tokens with two hyphens -->
+ <!-- BEGIN Browser History required section >
+ <link rel="stylesheet" type="text/css" href="history/history.css" />
+ <script type="text/javascript" src="history/history.js"></script>
+ <! END Browser History required section -->
+
+ <script type="text/javascript" src="swfobject.js"></script>
+ <script type="text/javascript">
+ function loadIntoMain(url) {
+ parent.mainFrame.location.href = url;
+ }
+
+ function openUrlWindow(url) {
+ window.top.location = url;
+ }
+
+ <!-- For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection. -->
+ var swfVersionStr = "10.0.0";
+ <!-- To use express install, set to playerProductInstall.swf, otherwise the empty string. -->
+ var xiSwfUrlStr = "playerProductInstall.swf";
+ var flashvars = {};
+ var params = {};
+ params.quality = "high";
+ params.bgcolor = "#ffffff";
+ params.allowscriptaccess = "sameDomain";
+ params.allowfullscreen = "true";
+ var attributes = {};
+ attributes.id = "SourceTree";
+ attributes.name = "SourceTree";
+ attributes.align = "middle";
+ swfobject.embedSWF(
+ "SourceTree.swf", "flashContent",
+ "100%", "100%",
+ swfVersionStr, xiSwfUrlStr,
+ flashvars, params, attributes);
+ <!-- JavaScript enabled so display the flashContent div in case it is not replaced with a swf object. -->
+ swfobject.createCSS("#flashContent", "display:block;text-align:left;");
+ </script>
+ </head>
+ <body>
+ <!-- SWFObject's dynamic embed method replaces this alternative HTML content with Flash content when enough
+ JavaScript and Flash plug-in support is available. The div is initially hidden so that it doesn't show
+ when JavaScript is disabled.
+ -->
+ <div id="flashContent">
+ <p>
+ To view this page ensure that Adobe Flash Player version
+ 10.0.0 or greater is installed.
+ </p>
+ <script type="text/javascript">
+ var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://");
+ document.write("<a href='http://www.adobe.com/go/getflashplayer'><img src='"
+ + pageHost + "www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' /></a>" );
+ </script>
+ </div>
+
+ <noscript>
+ <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%" id="SourceTree">
+ <param name="movie" value="SourceTree.swf" />
+ <param name="quality" value="high" />
+ <param name="bgcolor" value="#ffffff" />
+ <param name="allowScriptAccess" value="sameDomain" />
+ <param name="allowFullScreen" value="true" />
+ <!--[if !IE]>-->
+ <object type="application/x-shockwave-flash" data="SourceTree.swf" width="100%" height="100%">
+ <param name="quality" value="high" />
+ <param name="bgcolor" value="#ffffff" />
+ <param name="allowScriptAccess" value="sameDomain" />
+ <param name="allowFullScreen" value="true" />
+ <!--<![endif]-->
+ <!--[if gte IE 6]>-->
+ <p>
+ Either scripts and active content are not permitted to run or Adobe Flash Player version
+ 10.0.0 or greater is not installed.
+ </p>
+ <!--<![endif]-->
+ <a href="http://www.adobe.com/go/getflashplayer">
+ <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash Player" />
+ </a>
+ <!--[if !IE]>-->
+ </object>
+ <!--<![endif]-->
+ </object>
+ </noscript>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/index.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/index.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/index.html
new file mode 100644
index 0000000..683f0f4
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/index.html
@@ -0,0 +1,32 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Source of Sample-AIR2-SocketServer</title>
+</head>
+<frameset cols="235,*" border="2" framespacing="1">
+ <frame src="SourceTree.html" name="leftFrame" scrolling="NO">
+ <frame src="source/SocketServerSample.mxml.html" name="mainFrame">
+</frameset>
+<noframes>
+ <body>
+ </body>
+</noframes>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/source/SocketClient.as.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/source/SocketClient.as.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/source/SocketClient.as.html
new file mode 100644
index 0000000..fa93516
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/source/SocketClient.as.html
@@ -0,0 +1,140 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>SocketClient.as</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="ActionScriptpackage">package</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ErrorEvent</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Event</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">IOErrorEvent</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ProgressEvent</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">net</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Socket</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">utils</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ByteArray</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">controls</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Alert</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">spark</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">components</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">TextArea</span>;
+
+ <span class="ActionScriptReserved">public</span> <span class="ActionScriptclass">class</span> <span class="ActionScriptDefault_Text">SocketClient</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">serverURL</span>:<span class="ActionScriptDefault_Text">String</span>;
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">portNumber</span>:<span class="ActionScriptDefault_Text">int</span>;
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">socket</span>:<span class="ActionScriptDefault_Text">Socket</span>;
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">ta</span>:<span class="ActionScriptDefault_Text">TextArea</span>;
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">state</span>:<span class="ActionScriptDefault_Text">int</span> <span class="ActionScriptOperator">=</span> 0;
+
+
+ <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">SocketClient</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">server</span>:<span class="ActionScriptDefault_Text">String</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">port</span>:<span class="ActionScriptDefault_Text">int</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">output</span>:<span class="ActionScriptDefault_Text">TextArea</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">serverURL</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">server</span>;
+ <span class="ActionScriptDefault_Text">portNumber</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">port</span>;
+ <span class="ActionScriptDefault_Text">ta</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">output</span>;
+
+ <span class="ActionScriptDefault_Text">socket</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">Socket</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptReserved">try</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">msg</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Connecting to "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">serverURL</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">":"</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">portNumber</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">"\n"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">socket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">connect</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">serverURL</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">portNumber</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">catch</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">error</span>:<span class="ActionScriptDefault_Text">Error</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">msg</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">error</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">message</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">"\n"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">socket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">close</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptDefault_Text">socket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">CONNECT</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">connectHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">socket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">CLOSE</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">closeHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">socket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ErrorEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ERROR</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">errorHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">socket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">IOErrorEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">IO_ERROR</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">ioErrorHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">socket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ProgressEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SOCKET_DATA</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">dataHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">closeSocket</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">try</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">socket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">flush</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">socket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">close</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">catch</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">error</span>:<span class="ActionScriptDefault_Text">Error</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">msg</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">error</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">message</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">writeToSocket</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ba</span>:<span class="ActionScriptDefault_Text">ByteArray</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">try</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">socket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">writeBytes</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ba</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">socket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">flush</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">catch</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">error</span>:<span class="ActionScriptDefault_Text">Error</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">msg</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">error</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">message</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">msg</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">value</span>:<span class="ActionScriptDefault_Text">String</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptDefault_Text">value</span><span class="ActionScriptOperator">+</span> <span class="ActionScriptString">"\n"</span>;
+ <span class="ActionScriptDefault_Text">setScroll</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">setScroll</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">scrollToRange</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">y</span><span class="ActionScriptOperator">+</span>20<span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">connectHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">msg</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Socket Connected"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">closeHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">msg</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Socket Closed"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">errorHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">ErrorEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">msg</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Error "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">ioErrorHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">IOErrorEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">msg</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"IO Error "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" check to make sure the socket server is running."</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">dataHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">ProgressEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">msg</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Data Received - total bytes "</span> <span class="ActionScriptOperator">+</span><span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bytesTotal</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" "</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">bytes</span>:<span class="ActionScriptDefault_Text">ByteArray</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">ByteArray</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">socket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">readBytes</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">bytes</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">msg</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Bytes received "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">bytes</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">bytes</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+<span class="ActionScriptBracket/Brace">}</span>
+</pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/source/SocketClientSample-app.xml.txt
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/source/SocketClientSample-app.xml.txt b/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/source/SocketClientSample-app.xml.txt
new file mode 100644
index 0000000..8f46d6f
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/source/SocketClientSample-app.xml.txt
@@ -0,0 +1,156 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta2
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>SocketClientSample</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>SocketClientSample</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>SocketClientSample</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
+ <!-- <publisherID></publisherID> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width in pixels. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height in pixels. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/source/SocketClientSample.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/source/SocketClientSample.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/source/SocketClientSample.mxml.html
new file mode 100644
index 0000000..adda92b
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/source/SocketClientSample.mxml.html
@@ -0,0 +1,98 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>SocketClientSample.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication/span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">utils</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ByteArray</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">controls</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Alert</span>;
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">client</span>:<span class="ActionScriptDefault_Text">SocketClient</span>; <span class="ActionScriptComment">// source code included in SocketClient.as
+</span>
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">connect</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">client</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">SocketClient</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">server</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">int</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">port</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">log</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">sendBytes</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">bytes</span>:<span class="ActionScriptDefault_Text">ByteArray</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">ByteArray</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">bytes</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">writeUTFBytes</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">command</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">"\n"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">client</span> <span class="ActionScriptOperator">!=</span> <span class="ActionScriptReserved">null</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Writing to socket"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">client</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">writeToSocket</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">bytes</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">else</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+
+ <span class="ActionScriptDefault_Text">connect</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">sendBytes</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptDefault_Text">command</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">""</span>;
+
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> paddingLeft="</span><span class="MXMLString">6</span><span class="MXMLDefault_Text">" paddingTop="</span><span class="MXMLString">6</span><span class="MXMLDefault_Text">" paddingBottom="</span><span class="MXMLString">6</span><span class="MXMLDefault_Text">" paddingRight="</span><span class="MXMLString">6</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:HGroup</span><span class="MXMLDefault_Text"> left="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" top="</span><span class="MXMLString">5</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">middle</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Server:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextInput</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">server</span><span class="MXMLDefault_Text">" text="</span><span class="MXMLString">localhost</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Port #:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextInput</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">port</span><span class="MXMLDefault_Text">" text="</span><span class="MXMLString">1235</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">go</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">Connect</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">connect</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">closeSocket</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">Disconnect</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">client</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">closeSocket</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> left="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" top="</span><span class="MXMLString">40</span><span class="MXMLDefault_Text">" </span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Enter text to send to the socket server and press send:</span><span class="MXMLDefault_Text">" fontSize="</span><span class="MXMLString">12</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:HGroup></span>
+ <span class="MXMLComponent_Tag"><s:TextInput</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">command</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">300</span><span class="MXMLDefault_Text">" enter="</span><span class="ActionScriptDefault_Text">sendBytes</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">send</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">Send</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">sendBytes</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">500</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">justify</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">" bottom="</span><span class="MXMLString">9</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">"
+ text="</span><span class="MXMLString">The ServerSocket class allows code to act as a server for Transport Control Protocol (TCP) connections. A TCP server
+listens for incoming connections from remote clients. When a client attempts to connect, the ServerSocket dispatches a connect event. Run
+the SocketServerSample application first and click 'Listen' to start listening on the server and port information above. When data is sent
+from the client it will show up in the log running the socket server app.</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> top="</span><span class="MXMLString">88</span><span class="MXMLDefault_Text">" left="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Console:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextArea</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">log</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">500</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100</span><span class="MXMLDefault_Text">" editable="</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+
+
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/source/SocketServerSample-app.xml.txt
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/source/SocketServerSample-app.xml.txt b/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/source/SocketServerSample-app.xml.txt
new file mode 100644
index 0000000..1767950
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/source/SocketServerSample-app.xml.txt
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>SocketServerSample</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>SocketServerSample</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>SocketServerSample</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width in pixels. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height in pixels. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/source/SocketServerSample.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/source/SocketServerSample.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/source/SocketServerSample.mxml.html
new file mode 100644
index 0000000..2c438ad
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/SocketServer/srcview/source/SocketServerSample.mxml.html
@@ -0,0 +1,119 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>SocketServerSample.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Event</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">MouseEvent</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ProgressEvent</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ServerSocketConnectEvent</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">net</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ServerSocket</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">net</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Socket</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">utils</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ByteArray</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">controls</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Alert</span>;
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">serverSocket</span>:<span class="ActionScriptDefault_Text">ServerSocket</span>;
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">listen</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">try</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">serverSocket</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">ServerSocket</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">serverSocket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">CONNECT</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">socketConnectHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">serverSocket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">CLOSE</span><span class="ActionScriptOperator">,</span><span class="ActionScriptDefault_Text">socketCloseHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">serverSocket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bind</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Number</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">port</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">serverSocket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">listen</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">log</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"Listening on port "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">port</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">"...\n"</span>;
+
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">catch</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">error</span>:<span class="ActionScriptDefault_Text">Error</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Port "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">port</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" may be in use. Enter another port number and try again.\n("</span> <span class="ActionScriptOperator">+</span>
+ <span class="ActionScriptDefault_Text">error</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">message</span> <span class="ActionScriptOperator">+</span><span class="ActionScriptString">")"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptString">"Error"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">socketConnectHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">ServerSocketConnectEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">socket</span>:<span class="ActionScriptDefault_Text">Socket</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">socket</span>;
+ <span class="ActionScriptDefault_Text">log</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"Socket connection established on port "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">port</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">"...\n"</span>;
+ <span class="ActionScriptDefault_Text">socket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ProgressEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SOCKET_DATA</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">socketDataHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">socketDataHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">ProgressEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">try</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">socket</span>:<span class="ActionScriptDefault_Text">Socket</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">target</span> <span class="ActionScriptReserved">as</span> <span class="ActionScriptDefault_Text">Socket</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">bytes</span>:<span class="ActionScriptDefault_Text">ByteArray</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">ByteArray</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">socket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">readBytes</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">bytes</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">log</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">""</span><span class="ActionScriptOperator">+</span><span class="ActionScriptDefault_Text">bytes</span>;
+ <span class="ActionScriptDefault_Text">socket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">flush</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">catch</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">error</span>:<span class="ActionScriptDefault_Text">Error</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">error</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">message</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptString">"Error"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">buttonClose_clickHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">MouseEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">try</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">serverSocket</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">close</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">catch</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">error</span>:<span class="ActionScriptDefault_Text">Error</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">error</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">message</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptString">"Error on close"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">socketCloseHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">log</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"Socket Closed"</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> paddingTop="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" paddingLeft="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" paddingRight="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" paddingBottom="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Start listening over a socket connection by clicking the listen button.</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:HGroup</span><span class="MXMLDefault_Text"> verticalAlign="</span><span class="MXMLString">middle</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Port:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextInput</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">port</span><span class="MXMLDefault_Text">" text="</span><span class="MXMLString">1235</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">50</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Listen</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">listen</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Close Socket</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">buttonClose_clickHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+
+ <span class="MXMLComponent_Tag"><s:TextArea</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">log</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" </span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/DataAccess/chat.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/DataAccess/chat.png b/TourDeFlex/TourDeFlex/src/objects/DataAccess/chat.png
new file mode 100644
index 0000000..18a2bd6
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/objects/DataAccess/chat.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/DataAccess/genericdata.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/DataAccess/genericdata.png b/TourDeFlex/TourDeFlex/src/objects/DataAccess/genericdata.png
new file mode 100644
index 0000000..b9b6d05
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/objects/DataAccess/genericdata.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/DataAccess/remoting.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/DataAccess/remoting.png b/TourDeFlex/TourDeFlex/src/objects/DataAccess/remoting.png
new file mode 100644
index 0000000..8f35a44
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/objects/DataAccess/remoting.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/DataAccess/webservices.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/DataAccess/webservices.png b/TourDeFlex/TourDeFlex/src/objects/DataAccess/webservices.png
new file mode 100644
index 0000000..5a85dc4
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/objects/DataAccess/webservices.png differ
[24/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/TDFPanelSkin.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/TDFPanelSkin.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/TDFPanelSkin.mxml.html
new file mode 100644
index 0000000..6b501d4
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/TDFPanelSkin.mxml.html
@@ -0,0 +1,148 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta http-equiv="Content-Style-Type" content="text/css">
+ <title>TDFPanelSkin.mxml</title>
+ <meta name="Generator" content="Cocoa HTML Writer">
+ <meta name="CocoaVersion" content="1187.4">
+ <style type="text/css">
+ p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier}
+ p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px}
+ p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; color: #941100}
+ p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; min-height: 15.0px}
+ </style>
+</head>
+<body>
+<p class="p1"><?xml version="1.0" encoding="utf-8"?></p>
+<p class="p2"><br></p>
+<p class="p3"><!--</p>
+<p class="p4"><br></p>
+<p class="p3">Licensed to the Apache Software Foundation (ASF) under one or more</p>
+<p class="p3">contributor license agreements.<span class="Apple-converted-space"> </span>See the NOTICE file distributed with</p>
+<p class="p3">this work for additional information regarding copyright ownership.</p>
+<p class="p3">The ASF licenses this file to You under the Apache License, Version 2.0</p>
+<p class="p3">(the "License"); you may not use this file except in compliance with</p>
+<p class="p3">the License.<span class="Apple-converted-space"> </span>You may obtain a copy of the License at</p>
+<p class="p4"><br></p>
+<p class="p3">http://www.apache.org/licenses/LICENSE-2.0</p>
+<p class="p4"><br></p>
+<p class="p3">Unless required by applicable law or agreed to in writing, software</p>
+<p class="p3">distributed under the License is distributed on an "AS IS" BASIS,</p>
+<p class="p3">WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</p>
+<p class="p3">See the License for the specific language governing permissions and</p>
+<p class="p3">limitations under the License.</p>
+<p class="p4"><br></p>
+<p class="p3">--></p>
+<p class="p2"><br></p>
+<p class="p1"><s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"<span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span>alpha.disabled="0.5" minWidth="131" minHeight="127"></p>
+<p class="p2"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><fx:Metadata></p>
+<p class="p1"><span class="Apple-converted-space"> </span>[HostComponent("spark.components.Panel")]</p>
+<p class="p1"><span class="Apple-converted-space"> </span></fx:Metadata><span class="Apple-converted-space"> </span></p>
+<p class="p2"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:states></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normal" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabled" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normalWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabledWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:states></p>
+<p class="p2"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- drop shadow --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" top="0" right="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:DropShadowFilter blurX="15" blurY="15" alpha="0.18" distance="11" angle="90" knockout="true" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p2"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: border --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColorStroke color="0" alpha="0.50" weight="1" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p2"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: background fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" height="15"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradient rotation="90"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xE2E2E2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradient></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p2"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: contents --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group left="1" right="1" top="1" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:VerticalLayout gap="0" horizontalAlign="justify" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p2"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="topGroup" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: title bar fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- Note: We have custom skinned the title bar to be solid black for Tour de Flex --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbFill" left="0" right="0" top="0" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p2"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: title bar highlight --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradientStroke rotation="90" weight="1"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xEAEAEA" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xD9D9D9" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradientStroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p2"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: title bar divider --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xC0C0C0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p2"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: text --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Label id="titleDisplay" maxDisplayedLines="1"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>left="9" right="3" top="1" minHeight="30"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>verticalAlign="middle" fontWeight="bold" color="#E2E2E2"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Label></p>
+<p class="p2"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p2"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p2"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="bottomGroup" minWidth="0" minHeight="0"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>includeIn="normalWithControlBar, disabledWithControlBar" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: control bar background --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" top="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xE2EdF7" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p2"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: control bar divider line --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" height="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xD1E0F2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p2"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: control bar --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"></s:Skin></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/sample.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/sample.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/sample.mxml.html
new file mode 100644
index 0000000..b3b362f
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/sample.mxml.html
@@ -0,0 +1,73 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>sample.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ creationComplete="</span><span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"
+ styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Event</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">controls</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Alert</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">skins</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">TDFPanelSkin</span>;
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"handle exit"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">NativeApplication</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">nativeApplication</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">EXITING</span><span class="ActionScriptOperator">,</span><span class="ActionScriptDefault_Text">handleExiting</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">handleExiting</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptComment">// Here you can save data if needed
+</span> <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Exit!"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Handle Exit!!: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">f</span>:<span class="ActionScriptDefault_Text">File</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">desktopDirectory</span>;
+ <span class="ActionScriptDefault_Text">f</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">f</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">resolvePath</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"air-exit-test.txt"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">stream</span>:<span class="ActionScriptDefault_Text">FileStream</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">FileStream</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">stream</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">open</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">f</span><span class="ActionScriptOperator">,</span><span class="ActionScriptDefault_Text">FileMode</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">WRITE</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">stream</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">writeUTFBytes</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">stream</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">close</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:Panel</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" skinClass="</span><span class="MXMLString">skins.TDFPanelSkin</span><span class="MXMLDefault_Text">" title="</span><span class="MXMLString">Exit Event on Shutdown</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:HGroup</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">95%</span><span class="MXMLDefault_Text">" left="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">" top="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Enter text to save upon shutdown:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextArea</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">ta</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">200</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">95%</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">justify</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" bottom="</span><span class="MXMLString">20</span><span class="MXMLDefault_Text">"
+ text="</span><span class="MXMLString">The Exiting event can now be handled upon the user shutting down the OS giving you a chance to handle any unsaved data in your application
+upon shutdown. If you run this code in an AIR application and shutdown your OS, it will still save the data that you have
+entered in Text Area to air-exit-test.txt in your Desktop directory.</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"></s:Panel></span>
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/Sample-AIR2-EventOnShutdown/src/sample-app.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/Sample-AIR2-EventOnShutdown/src/sample-app.xml b/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/Sample-AIR2-EventOnShutdown/src/sample-app.xml
new file mode 100755
index 0000000..f9eed35
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/Sample-AIR2-EventOnShutdown/src/sample-app.xml
@@ -0,0 +1,156 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta2
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>main</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>main</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>main</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
+ <!-- <publisherID></publisherID> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width in pixels. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height in pixels. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/Sample-AIR2-EventOnShutdown/src/sample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/Sample-AIR2-EventOnShutdown/src/sample.mxml b/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/Sample-AIR2-EventOnShutdown/src/sample.mxml
new file mode 100644
index 0000000..cd755cc
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/Sample-AIR2-EventOnShutdown/src/sample.mxml
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:s="library://ns.adobe.com/flex/spark"
+ xmlns:mx="library://ns.adobe.com/flex/mx"
+ creationComplete="init()"
+ styleName="plain" width="100%" height="100%">
+
+ <fx:Script>
+ <![CDATA[
+ import flash.events.Event;
+
+ import mx.controls.Alert;
+
+ import skins.TDFPanelSkin;
+
+ protected function init():void
+ {
+ trace("handle exit");
+ NativeApplication.nativeApplication.addEventListener(Event.EXITING,handleExiting);
+ }
+
+ protected function handleExiting(e:Event):void
+ {
+ // Here you can save data if needed
+ Alert.show("Exit!");
+ trace("Handle Exit!!: " + e);
+ var f:File = File.desktopDirectory;
+ f = f.resolvePath("air-exit-test.txt");
+ var stream:FileStream = new FileStream();
+ stream.open(f,FileMode.WRITE);
+ stream.writeUTFBytes(ta.text);
+ stream.close();
+ }
+ ]]>
+ </fx:Script>
+
+ <s:Panel width="100%" height="100%" skinClass="skins.TDFPanelSkin" title="Exit Event on Shutdown">
+ <s:HGroup width="95%" left="10" top="10">
+ <s:Label text="Enter text to save upon shutdown:"/>
+ <s:TextArea id="ta" height="200"/>
+ <s:Label width="95%" verticalAlign="justify" color="#323232" horizontalCenter="0" bottom="20"
+ text="The Exiting event can now be handled upon the user shutting down the OS giving you a chance to handle any unsaved data in your application
+upon shutdown. If you run this code in an AIR application and shutdown your OS, it will still save the data that you have
+entered in Text Area to air-exit-test.txt in your Desktop directory."/>
+ </s:HGroup>
+ </s:Panel>
+</mx:Module>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/Sample-AIR2-EventOnShutdown/src/skins/TDFPanelSkin.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/Sample-AIR2-EventOnShutdown/src/skins/TDFPanelSkin.mxml b/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/Sample-AIR2-EventOnShutdown/src/skins/TDFPanelSkin.mxml
new file mode 100644
index 0000000..ff46524
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/Sample-AIR2-EventOnShutdown/src/skins/TDFPanelSkin.mxml
@@ -0,0 +1,130 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+
+
+<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+ alpha.disabled="0.5" minWidth="131" minHeight="127">
+
+ <fx:Metadata>
+ [HostComponent("spark.components.Panel")]
+ </fx:Metadata>
+
+ <s:states>
+ <s:State name="normal" />
+ <s:State name="disabled" />
+ <s:State name="normalWithControlBar" />
+ <s:State name="disabledWithControlBar" />
+ </s:states>
+
+ <!-- drop shadow -->
+ <s:Rect left="0" top="0" right="0" bottom="0">
+ <s:filters>
+ <s:DropShadowFilter blurX="15" blurY="15" alpha="0.18" distance="11" angle="90" knockout="true" />
+ </s:filters>
+ <s:fill>
+ <s:SolidColor color="0" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 1: border -->
+ <s:Rect left="0" right="0" top="0" bottom="0">
+ <s:stroke>
+ <s:SolidColorStroke color="0" alpha="0.50" weight="1" />
+ </s:stroke>
+ </s:Rect>
+
+ <!-- layer 2: background fill -->
+ <s:Rect left="0" right="0" bottom="0" height="15">
+ <s:fill>
+ <s:LinearGradient rotation="90">
+ <s:GradientEntry color="0xE2E2E2" />
+ <s:GradientEntry color="0x000000" />
+ </s:LinearGradient>
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 3: contents -->
+ <s:Group left="1" right="1" top="1" bottom="1" >
+ <s:layout>
+ <s:VerticalLayout gap="0" horizontalAlign="justify" />
+ </s:layout>
+
+ <s:Group id="topGroup" >
+ <!-- layer 0: title bar fill -->
+ <!-- Note: We have custom skinned the title bar to be solid black for Tour de Flex -->
+ <s:Rect id="tbFill" left="0" right="0" top="0" bottom="1" >
+ <s:fill>
+ <s:SolidColor color="0x000000" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 1: title bar highlight -->
+ <s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0" >
+ <s:stroke>
+ <s:LinearGradientStroke rotation="90" weight="1">
+ <s:GradientEntry color="0xEAEAEA" />
+ <s:GradientEntry color="0xD9D9D9" />
+ </s:LinearGradientStroke>
+ </s:stroke>
+ </s:Rect>
+
+ <!-- layer 2: title bar divider -->
+ <s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0">
+ <s:fill>
+ <s:SolidColor color="0xC0C0C0" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 3: text -->
+ <s:Label id="titleDisplay" maxDisplayedLines="1"
+ left="9" right="3" top="1" minHeight="30"
+ verticalAlign="middle" fontWeight="bold" color="#E2E2E2">
+ </s:Label>
+
+ </s:Group>
+
+ <s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0">
+ </s:Group>
+
+ <s:Group id="bottomGroup" minWidth="0" minHeight="0"
+ includeIn="normalWithControlBar, disabledWithControlBar" >
+ <!-- layer 0: control bar background -->
+ <s:Rect left="0" right="0" bottom="0" top="1" >
+ <s:fill>
+ <s:SolidColor color="0xE2EdF7" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 1: control bar divider line -->
+ <s:Rect left="0" right="0" top="0" height="1" >
+ <s:fill>
+ <s:SolidColor color="0xD1E0F2" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 2: control bar -->
+ <s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0">
+ <s:layout>
+ <s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" />
+ </s:layout>
+ </s:Group>
+ </s:Group>
+ </s:Group>
+</s:Skin>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/SourceIndex.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/SourceIndex.xml b/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/SourceIndex.xml
new file mode 100644
index 0000000..cef714a
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/SourceIndex.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ 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.
+
+-->
+<index>
+ <title>Source of Sample-AIR2-EventOnShutdown</title>
+ <nodes>
+ <node label="libs">
+ </node>
+ <node label="src">
+ <node icon="packageIcon" label="skins" expanded="true">
+ <node icon="mxmlIcon" label="TDFPanelSkin.mxml" url="source/skins/TDFPanelSkin.mxml.html"/>
+ </node>
+ <node label="sample-app.xml" url="source/sample-app.xml.txt"/>
+ <node icon="mxmlAppIcon" selected="true" label="sample.mxml" url="source/sample.mxml.html"/>
+ </node>
+ </nodes>
+ <zipfile label="Download source (ZIP, 7K)" url="Sample-AIR2-EventOnShutdown.zip">
+ </zipfile>
+ <sdklink label="Download Flex SDK" url="http://www.adobe.com/go/flex4_sdk_download">
+ </sdklink>
+</index>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/SourceStyles.css
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/SourceStyles.css b/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/SourceStyles.css
new file mode 100644
index 0000000..9d5210f
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/SourceStyles.css
@@ -0,0 +1,155 @@
+/*
+ * 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.
+ */
+body {
+ font-family: Courier New, Courier, monospace;
+ font-size: medium;
+}
+
+.ActionScriptASDoc {
+ color: #3f5fbf;
+}
+
+.ActionScriptBracket/Brace {
+}
+
+.ActionScriptComment {
+ color: #009900;
+ font-style: italic;
+}
+
+.ActionScriptDefault_Text {
+}
+
+.ActionScriptMetadata {
+ color: #0033ff;
+ font-weight: bold;
+}
+
+.ActionScriptOperator {
+}
+
+.ActionScriptReserved {
+ color: #0033ff;
+ font-weight: bold;
+}
+
+.ActionScriptString {
+ color: #990000;
+ font-weight: bold;
+}
+
+.ActionScriptclass {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScriptfunction {
+ color: #339966;
+ font-weight: bold;
+}
+
+.ActionScriptinterface {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScriptpackage {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScripttrace {
+ color: #cc6666;
+ font-weight: bold;
+}
+
+.ActionScriptvar {
+ color: #6699cc;
+ font-weight: bold;
+}
+
+.MXMLASDoc {
+ color: #3f5fbf;
+}
+
+.MXMLComment {
+ color: #800000;
+}
+
+.MXMLComponent_Tag {
+ color: #0000ff;
+}
+
+.MXMLDefault_Text {
+}
+
+.MXMLProcessing_Instruction {
+}
+
+.MXMLSpecial_Tag {
+ color: #006633;
+}
+
+.MXMLString {
+ color: #990000;
+}
+
+.CSS@font-face {
+ color: #990000;
+ font-weight: bold;
+}
+
+.CSS@import {
+ color: #006666;
+ font-weight: bold;
+}
+
+.CSS@media {
+ color: #663333;
+ font-weight: bold;
+}
+
+.CSS@namespace {
+ color: #923196;
+}
+
+.CSSComment {
+ color: #999999;
+}
+
+.CSSDefault_Text {
+}
+
+.CSSDelimiters {
+}
+
+.CSSProperty_Name {
+ color: #330099;
+}
+
+.CSSProperty_Value {
+ color: #3333cc;
+}
+
+.CSSSelector {
+ color: #ff00ff;
+}
+
+.CSSString {
+ color: #990000;
+}
+
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/SourceTree.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/SourceTree.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/SourceTree.html
new file mode 100644
index 0000000..80281a9
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/SourceTree.html
@@ -0,0 +1,129 @@
+<!--
+ 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.
+-->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!-- saved from url=(0014)about:internet -->
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
+ <!--
+ Smart developers always View Source.
+
+ This application was built using Adobe Flex, an open source framework
+ for building rich Internet applications that get delivered via the
+ Flash Player or to desktops via Adobe AIR.
+
+ Learn more about Flex at http://flex.org
+ // -->
+ <head>
+ <title></title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <!-- Include CSS to eliminate any default margins/padding and set the height of the html element and
+ the body element to 100%, because Firefox, or any Gecko based browser, interprets percentage as
+ the percentage of the height of its parent container, which has to be set explicitly. Initially,
+ don't display flashContent div so it won't show if JavaScript disabled.
+ -->
+ <style type="text/css" media="screen">
+ html, body { height:100%; }
+ body { margin:0; padding:0; overflow:auto; text-align:center;
+ background-color: #ffffff; }
+ #flashContent { display:none; }
+ </style>
+
+ <!-- Enable Browser History by replacing useBrowserHistory tokens with two hyphens -->
+ <!-- BEGIN Browser History required section >
+ <link rel="stylesheet" type="text/css" href="history/history.css" />
+ <script type="text/javascript" src="history/history.js"></script>
+ <! END Browser History required section -->
+
+ <script type="text/javascript" src="swfobject.js"></script>
+ <script type="text/javascript">
+ function loadIntoMain(url) {
+ parent.mainFrame.location.href = url;
+ }
+
+ function openUrlWindow(url) {
+ window.top.location = url;
+ }
+
+ <!-- For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection. -->
+ var swfVersionStr = "10.0.0";
+ <!-- To use express install, set to playerProductInstall.swf, otherwise the empty string. -->
+ var xiSwfUrlStr = "playerProductInstall.swf";
+ var flashvars = {};
+ var params = {};
+ params.quality = "high";
+ params.bgcolor = "#ffffff";
+ params.allowscriptaccess = "sameDomain";
+ params.allowfullscreen = "true";
+ var attributes = {};
+ attributes.id = "SourceTree";
+ attributes.name = "SourceTree";
+ attributes.align = "middle";
+ swfobject.embedSWF(
+ "SourceTree.swf", "flashContent",
+ "100%", "100%",
+ swfVersionStr, xiSwfUrlStr,
+ flashvars, params, attributes);
+ <!-- JavaScript enabled so display the flashContent div in case it is not replaced with a swf object. -->
+ swfobject.createCSS("#flashContent", "display:block;text-align:left;");
+ </script>
+ </head>
+ <body>
+ <!-- SWFObject's dynamic embed method replaces this alternative HTML content with Flash content when enough
+ JavaScript and Flash plug-in support is available. The div is initially hidden so that it doesn't show
+ when JavaScript is disabled.
+ -->
+ <div id="flashContent">
+ <p>
+ To view this page ensure that Adobe Flash Player version
+ 10.0.0 or greater is installed.
+ </p>
+ <script type="text/javascript">
+ var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://");
+ document.write("<a href='http://www.adobe.com/go/getflashplayer'><img src='"
+ + pageHost + "www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' /></a>" );
+ </script>
+ </div>
+
+ <noscript>
+ <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%" id="SourceTree">
+ <param name="movie" value="SourceTree.swf" />
+ <param name="quality" value="high" />
+ <param name="bgcolor" value="#ffffff" />
+ <param name="allowScriptAccess" value="sameDomain" />
+ <param name="allowFullScreen" value="true" />
+ <!--[if !IE]>-->
+ <object type="application/x-shockwave-flash" data="SourceTree.swf" width="100%" height="100%">
+ <param name="quality" value="high" />
+ <param name="bgcolor" value="#ffffff" />
+ <param name="allowScriptAccess" value="sameDomain" />
+ <param name="allowFullScreen" value="true" />
+ <!--<![endif]-->
+ <!--[if gte IE 6]>-->
+ <p>
+ Either scripts and active content are not permitted to run or Adobe Flash Player version
+ 10.0.0 or greater is not installed.
+ </p>
+ <!--<![endif]-->
+ <a href="http://www.adobe.com/go/getflashplayer">
+ <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash Player" />
+ </a>
+ <!--[if !IE]>-->
+ </object>
+ <!--<![endif]-->
+ </object>
+ </noscript>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/index.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/index.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/index.html
new file mode 100644
index 0000000..4b2674d
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/index.html
@@ -0,0 +1,32 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Source of Sample-AIR2-EventOnShutdown</title>
+</head>
+<frameset cols="235,*" border="2" framespacing="1">
+ <frame src="SourceTree.html" name="leftFrame" scrolling="NO">
+ <frame src="source/sample.mxml.html" name="mainFrame">
+</frameset>
+<noframes>
+ <body>
+ </body>
+</noframes>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/source/sample-app.xml.txt
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/source/sample-app.xml.txt b/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/source/sample-app.xml.txt
new file mode 100644
index 0000000..f9eed35
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/source/sample-app.xml.txt
@@ -0,0 +1,156 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta2
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>main</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>main</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>main</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
+ <!-- <publisherID></publisherID> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width in pixels. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height in pixels. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/source/sample.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/source/sample.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/source/sample.mxml.html
new file mode 100644
index 0000000..b3b362f
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/source/sample.mxml.html
@@ -0,0 +1,73 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>sample.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ creationComplete="</span><span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"
+ styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Event</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">controls</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Alert</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">skins</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">TDFPanelSkin</span>;
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"handle exit"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">NativeApplication</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">nativeApplication</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">EXITING</span><span class="ActionScriptOperator">,</span><span class="ActionScriptDefault_Text">handleExiting</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">handleExiting</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptComment">// Here you can save data if needed
+</span> <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Exit!"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Handle Exit!!: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">f</span>:<span class="ActionScriptDefault_Text">File</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">desktopDirectory</span>;
+ <span class="ActionScriptDefault_Text">f</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">f</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">resolvePath</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"air-exit-test.txt"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">stream</span>:<span class="ActionScriptDefault_Text">FileStream</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">FileStream</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">stream</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">open</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">f</span><span class="ActionScriptOperator">,</span><span class="ActionScriptDefault_Text">FileMode</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">WRITE</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">stream</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">writeUTFBytes</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">stream</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">close</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:Panel</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" skinClass="</span><span class="MXMLString">skins.TDFPanelSkin</span><span class="MXMLDefault_Text">" title="</span><span class="MXMLString">Exit Event on Shutdown</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:HGroup</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">95%</span><span class="MXMLDefault_Text">" left="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">" top="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Enter text to save upon shutdown:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextArea</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">ta</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">200</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">95%</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">justify</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" bottom="</span><span class="MXMLString">20</span><span class="MXMLDefault_Text">"
+ text="</span><span class="MXMLString">The Exiting event can now be handled upon the user shutting down the OS giving you a chance to handle any unsaved data in your application
+upon shutdown. If you run this code in an AIR application and shutdown your OS, it will still save the data that you have
+entered in Text Area to air-exit-test.txt in your Desktop directory.</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"></s:Panel></span>
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/source/skins/TDFPanelSkin.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/source/skins/TDFPanelSkin.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/source/skins/TDFPanelSkin.mxml.html
new file mode 100644
index 0000000..df79d11
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/EventOnShutdown/srcview/source/skins/TDFPanelSkin.mxml.html
@@ -0,0 +1,147 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta http-equiv="Content-Style-Type" content="text/css">
+ <title>TDFPanelSkin.mxml</title>
+ <meta name="Generator" content="Cocoa HTML Writer">
+ <meta name="CocoaVersion" content="1187.4">
+ <style type="text/css">
+ p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier}
+ p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; color: #941100}
+ p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; min-height: 15.0px}
+ p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px}
+ </style>
+</head>
+<body>
+<p class="p1"><?xml version="1.0" encoding="utf-8"?></p>
+<p class="p2"><!--</p>
+<p class="p3"><br></p>
+<p class="p2">Licensed to the Apache Software Foundation (ASF) under one or more</p>
+<p class="p2">contributor license agreements.<span class="Apple-converted-space"> </span>See the NOTICE file distributed with</p>
+<p class="p2">this work for additional information regarding copyright ownership.</p>
+<p class="p2">The ASF licenses this file to You under the Apache License, Version 2.0</p>
+<p class="p2">(the "License"); you may not use this file except in compliance with</p>
+<p class="p2">the License.<span class="Apple-converted-space"> </span>You may obtain a copy of the License at</p>
+<p class="p3"><br></p>
+<p class="p2">http://www.apache.org/licenses/LICENSE-2.0</p>
+<p class="p3"><br></p>
+<p class="p2">Unless required by applicable law or agreed to in writing, software</p>
+<p class="p2">distributed under the License is distributed on an "AS IS" BASIS,</p>
+<p class="p2">WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</p>
+<p class="p2">See the License for the specific language governing permissions and</p>
+<p class="p2">limitations under the License.</p>
+<p class="p3"><br></p>
+<p class="p2">--></p>
+<p class="p4"><br></p>
+<p class="p1"><s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"<span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span>alpha.disabled="0.5" minWidth="131" minHeight="127"></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><fx:Metadata></p>
+<p class="p1"><span class="Apple-converted-space"> </span>[HostComponent("spark.components.Panel")]</p>
+<p class="p1"><span class="Apple-converted-space"> </span></fx:Metadata><span class="Apple-converted-space"> </span></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:states></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normal" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabled" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normalWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabledWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:states></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- drop shadow --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" top="0" right="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:DropShadowFilter blurX="15" blurY="15" alpha="0.18" distance="11" angle="90" knockout="true" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: border --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColorStroke color="0" alpha="0.50" weight="1" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: background fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" height="15"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradient rotation="90"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xE2E2E2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradient></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: contents --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group left="1" right="1" top="1" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:VerticalLayout gap="0" horizontalAlign="justify" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="topGroup" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: title bar fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- Note: We have custom skinned the title bar to be solid black for Tour de Flex --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbFill" left="0" right="0" top="0" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: title bar highlight --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradientStroke rotation="90" weight="1"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xEAEAEA" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xD9D9D9" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradientStroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: title bar divider --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xC0C0C0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: text --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Label id="titleDisplay" maxDisplayedLines="1"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>left="9" right="3" top="1" minHeight="30"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>verticalAlign="middle" fontWeight="bold" color="#E2E2E2"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Label></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="bottomGroup" minWidth="0" minHeight="0"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>includeIn="normalWithControlBar, disabledWithControlBar" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: control bar background --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" top="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xE2EdF7" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: control bar divider line --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" height="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xD1E0F2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: control bar --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"></s:Skin></p>
+</body>
+</html>
[41/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/classes/LocalQuickStart.as
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/classes/LocalQuickStart.as b/TourDeFlex/TourDeFlex/src/classes/LocalQuickStart.as
new file mode 100644
index 0000000..3e44e8b
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/classes/LocalQuickStart.as
@@ -0,0 +1,159 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package classes
+{
+ /********************************
+ * This class has been deprecated
+ *********************************/
+
+
+ import flash.events.Event;
+ import flash.events.IOErrorEvent;
+ import flash.filesystem.File;
+ import flash.filesystem.FileMode;
+ import flash.filesystem.FileStream;
+ import flash.net.SharedObject;
+ import flash.net.URLLoader;
+ import flash.net.URLRequest;
+ import flash.system.Capabilities;
+
+ public class LocalQuickStart
+ {
+
+ //--------------------------------------------------------------------------
+ // Variables
+ //--------------------------------------------------------------------------
+ public static var url:String = "quickstart.html";
+
+ private static var cookieName:String = "TourDeFlex";
+ private static var onlineVersion:String = "";
+ private static var localLanguage:String = "en";
+ private static var onlineVersionUrl:String = "";
+
+
+ //--------------------------------------------------------------------------
+ // Load/setup
+ //--------------------------------------------------------------------------
+ public function LocalQuickStart()
+ {
+ }
+
+ public static function update():void
+ {
+ var staticContainerPath:String = "data/";
+ var updatableFile:File = File.applicationStorageDirectory.resolvePath(url);
+ var staticFile:File = File.applicationDirectory.resolvePath(staticContainerPath + url);
+
+ localLanguage = Capabilities.language.toLowerCase();
+ //localLanguage = "jp";
+
+ if(localLanguage != "en")
+ {
+ var newUrl:String = Config.appendLanguage(url, localLanguage);
+ var newStaticFile:File = File.applicationDirectory.resolvePath(staticContainerPath + newUrl);
+ if(newStaticFile.exists)
+ staticFile = newStaticFile;
+ }
+
+ if(Config.isAppFirstTimeRun() || !updatableFile.exists)
+ staticFile.copyTo(updatableFile, true);
+
+ url = updatableFile.url;
+
+ checkForNewLocalQuickStart();
+ }
+
+ //--------------------------------------------------------------------------
+ // Helper/shared functions
+ //--------------------------------------------------------------------------
+ private static function checkForNewLocalQuickStart():void
+ {
+ var loader:URLLoader = new URLLoader(new URLRequest(Config.QUICK_START_LOCAL_UPDATER_URL));
+ loader.addEventListener(Event.COMPLETE, updaterXmlLoaded);
+ loader.addEventListener(IOErrorEvent.IO_ERROR, updaterXmlLoadedError);
+ }
+
+ private static function updaterXmlLoadedError(event:IOErrorEvent):void
+ {
+ }
+
+ private static function updaterXmlLoaded(event:Event):void
+ {
+ var loader:URLLoader = URLLoader(event.target);
+ var updaterXml:XML = new XML(loader.data);
+
+ var currentVersion:String = "0";
+ var cookie:SharedObject = SharedObject.getLocal(cookieName);
+ if(cookie.data.localQuickStartVersion != null)
+ currentVersion = cookie.data.localQuickStartVersion;
+
+ onlineVersion = updaterXml.version;
+ var onlineVersionDescription:String = updaterXml.description;
+
+ if(onlineVersion > currentVersion)
+ {
+ onlineVersionUrl = updaterXml.url;
+ downloadNewVersion(onlineVersionUrl);
+ if(onlineVersionDescription.length > 0)
+ {
+ // Only show notice if a description was provided, otherwise, silent install
+ //Alert.show(onlineVersionDescription, "Updated to Version " + onlineVersion);
+ }
+ }
+ }
+
+ private static function downloadNewVersion(path:String):void
+ {
+ if(localLanguage != "en")
+ path = Config.appendLanguage(path, localLanguage);
+
+ var loader:URLLoader = new URLLoader(new URLRequest(path));
+ loader.addEventListener(Event.COMPLETE, updatedVersionLoaded);
+ loader.addEventListener(IOErrorEvent.IO_ERROR, updatedVersionLoadingError);
+ }
+
+ private static function updatedVersionLoadingError(event:IOErrorEvent):void
+ {
+ var loader:URLLoader = new URLLoader(new URLRequest(onlineVersionUrl));
+ loader.addEventListener(Event.COMPLETE, updatedVersionLoaded);
+ loader.addEventListener(IOErrorEvent.IO_ERROR, updatedVersionLoadingError);
+ }
+
+ private static function updatedVersionLoaded(event:Event):void
+ {
+ var file:File = File.applicationStorageDirectory;
+ file = file.resolvePath(url);
+ if(file.exists)
+ file.deleteFile();
+
+ var loader:URLLoader = URLLoader(event.target);
+
+ var fileStream:FileStream = new FileStream();
+ fileStream.open(file, FileMode.WRITE);
+ fileStream.writeUTFBytes(loader.data);
+ fileStream.close();
+
+ var cookie:SharedObject = SharedObject.getLocal(cookieName);
+ cookie.data.localQuickStartVersion = onlineVersion;
+ cookie.flush();
+ }
+ //--------------------------------------------------------------------------
+ //--------------------------------------------------------------------------
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/classes/ObjectData.as
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/classes/ObjectData.as b/TourDeFlex/TourDeFlex/src/classes/ObjectData.as
new file mode 100644
index 0000000..e9125fd
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/classes/ObjectData.as
@@ -0,0 +1,336 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package classes
+{
+ import flash.desktop.NativeApplication;
+ import flash.events.Event;
+ import flash.events.IOErrorEvent;
+ import flash.filesystem.File;
+ import flash.filesystem.FileMode;
+ import flash.filesystem.FileStream;
+ import flash.net.URLLoader;
+ import flash.net.URLRequest;
+
+ import mx.collections.ArrayCollection;
+ import mx.collections.Sort;
+ import mx.collections.SortField;
+ import mx.collections.XMLListCollection;
+ import mx.controls.Alert;
+ import mx.managers.CursorManager;
+
+ import plugin.Component; //HS
+
+ public class ObjectData
+ {
+ //--------------------------------------------------------------------------
+ // Variables
+ //--------------------------------------------------------------------------
+ [Bindable] public var topLevelCategoriesXml:XMLList;
+ [Bindable] public var listXml:XMLListCollection;
+ [Bindable] public var treeXml:XMLListCollection;
+ [Bindable] public var featuredTreeXml:XMLListCollection;
+ [Bindable] public var searchTags:Array;
+ private var objectXml:XML;
+ private var selectedTopLevelCategory:String = "";
+ private var previousSortType:String;
+
+ //--------------------------------------------------------------------------
+ // Loading/setup
+ //--------------------------------------------------------------------------
+ public function ObjectData()
+ {
+ loadData();
+ }
+
+ public function loadData():void
+ {
+ var objectsUrl:String = Config.OBJECTS_URL;
+ trace(objectsUrl);
+ var updatableObjectFile:File = File.applicationStorageDirectory.resolvePath(Config.OBJECTS_FILE);
+ var staticObjectFile:File = File.applicationDirectory.resolvePath(Config.OBJECTS_URL);
+
+ if(Config.isAppFirstTimeRun() || !updatableObjectFile.exists)
+ staticObjectFile.copyTo(updatableObjectFile, true);
+
+ var loader:URLLoader = new URLLoader(new URLRequest("file://" + updatableObjectFile.nativePath));
+ loader.addEventListener(Event.COMPLETE, objectsXmlLoaded);
+ }
+
+ private function objectsXmlLoaded(event:Event):void
+ {
+ trace("OBJECTS LOADED");
+ var loader:URLLoader = URLLoader(event.target);
+ objectXml = new XML(loader.data);
+
+ loadSettings();
+ loadCategoriesAndObjects()
+ checkForNewObjectXml();
+ }
+
+ private function loadCategoriesAndObjects():void
+ {
+ Config.OBJECTS_FILE_VERSION = objectXml.@version;
+ Config.OBJECTS_TOTAL = XMLList(objectXml..Object).length();
+
+ var searchTagsLabels:Array = String(objectXml.@searchTags).split(",");
+ var searchTagsTotals:Array = String(objectXml.@searchTagsTotals).split(",");
+ var searchTagsCombined:Array = new Array();
+
+ for(var i:int=0; i<searchTagsLabels.length; i++)
+ searchTagsCombined.push([searchTagsLabels[i], searchTagsTotals[i]]);
+
+ searchTags = searchTagsCombined;
+
+ topLevelCategoriesXml = new XMLList(objectXml.children().@name);
+ selectedTopLevelCategory = topLevelCategoriesXml[0];
+ filterTopLevelCategory(selectedTopLevelCategory);
+ }
+
+ //--------------------------------------------------------------------------
+ // Filtering
+ //--------------------------------------------------------------------------
+ public function filterTopLevelCategory(category:String):void
+ {
+ selectedTopLevelCategory = category;
+ listXml = new XMLListCollection(objectXml.Category.(@name == category)..Object);
+ //treeXml = new XMLListCollection(XMLList(objectXml.Category.(@name == category)));
+ treeXml = new XMLListCollection(XMLList(objectXml.Category));
+ }
+
+ public function filterList(filterText:String, onlyTags:Boolean = false):XMLList // HS
+ {
+ filterText = filterText.toLowerCase();
+ var filterTextTerms:Array = filterText.split(" ");
+ var filteredList:XMLList = new XMLList();
+
+ //for each(var objectItem:XML in objectXml.Category.(@name == selectedTopLevelCategory)..Object)
+ //for each(var objectItem:XML in objectXml..Object)
+
+ var objectsToSearch:XML = objectXml.copy();
+ delete objectsToSearch.Category.(@name == "Featured").*;
+
+ for each(var objectItem:XML in objectsToSearch..Object)
+ {
+ var name:String = objectItem.@name.toLowerCase();
+ var tags:String = objectItem.@tags.toLowerCase();
+ var author:String = objectItem.@author.toLowerCase();
+
+ for each(var term:String in filterTextTerms)
+ {
+ var found:Boolean = false;
+ if(onlyTags)
+ {
+ if(tags.indexOf(term) != -1)
+ found = true;
+ }
+ else
+ {
+ if(name.indexOf(term) != -1 || author.indexOf(term) != -1 || tags.indexOf(term) != -1)
+ found = true;
+ }
+
+ if(found)
+ {
+ filteredList += objectItem;
+ break;
+ }
+ }
+ }
+
+ listXml = new XMLListCollection(filteredList);
+ sort(previousSortType);
+ return filteredList; //HS
+ }
+
+ public function sort(sortType:String = ObjectListSortTypes.ALPHABETICAL):void
+ {
+ previousSortType = sortType;
+ var sortField:String = "@name";
+ var descending:Boolean = false;
+ var numeric:Boolean = false;
+
+ switch(sortType)
+ {
+ case ObjectListSortTypes.ALPHABETICAL:
+ sortField = "@name";
+ break;
+ case ObjectListSortTypes.MOST_RECENT:
+ sortField = "@dateAdded";
+ descending = true;
+ break;
+ case ObjectListSortTypes.MOST_POPULAR:
+ sortField = "@viewCount";
+ descending = true;
+ numeric = true;
+ break;
+ }
+
+ var sort:Sort = new Sort();
+ sort.fields = [new SortField(sortField, true, descending, numeric)];
+ listXml.sort = sort;
+ listXml.refresh();
+ }
+
+ //--------------------------------------------------------------------------
+ // Settings / localization
+ //--------------------------------------------------------------------------
+ private function loadSettings():void
+ {
+ Config.PROGRAM_TITLE = objectXml.Settings.@title;
+ Config.ABOUT_MENU_LIST = objectXml.Settings.AboutMenu.Item;
+ Config.ABOUT_MENU_TITLE = objectXml.Settings.AboutMenu.@title;
+
+ var appXml:XML = NativeApplication.nativeApplication.applicationDescriptor;
+ var ns:Namespace = appXml.namespace();
+ Config.APP_VERSION = appXml.ns::version;
+ }
+
+ //--------------------------------------------------------------------------
+ // Checking for new objects.xml and updating it
+ //--------------------------------------------------------------------------
+ private function checkForNewObjectXml():void
+ {
+ var loader:URLLoader = new URLLoader(new URLRequest(Config.OBJECTS_UPDATER_URL));
+ loader.addEventListener(Event.COMPLETE, objectsUpdaterXmlLoaded);
+ loader.addEventListener(IOErrorEvent.IO_ERROR, objectsUpdaterXmlLoadedError);
+ }
+
+ private function objectsUpdaterXmlLoadedError(event:IOErrorEvent):void
+ {
+ }
+
+ private function objectsUpdaterXmlLoaded(event:Event):void
+ {
+ var loader:URLLoader = URLLoader(event.target);
+ var objectsUpdaterXml:XML = new XML(loader.data);
+
+ var currentVersion:String = objectXml.@version;
+ var onlineVersion:String = objectsUpdaterXml.version;
+ var onlineVersionDescription:String = objectsUpdaterXml.description;
+
+ if(onlineVersion > currentVersion) {
+ downloadNewObjectXml(objectsUpdaterXml.url);
+ if(onlineVersionDescription.length > 0) {
+ // Only show notice if a description was provided, otherwise, silent install
+ var myPattern:RegExp = /\r\n/g;
+ onlineVersionDescription = onlineVersionDescription.replace(myPattern,"\n");
+ Alert.show(onlineVersionDescription, "Samples Database Updated to Version " + onlineVersion);
+ }
+ }
+ }
+
+ private function downloadNewObjectXml(path:String):void
+ {
+ var loader:URLLoader = new URLLoader(new URLRequest(path));
+ loader.addEventListener(Event.COMPLETE, updatedObjectsXmlLoaded);
+ CursorManager.setBusyCursor();
+ }
+
+ public function updatedObjectsXmlLoaded(event:Event):void
+ {
+ var file:File = File.applicationStorageDirectory;
+ file = file.resolvePath(Config.OBJECTS_FILE);
+ if(file.exists)
+ file.deleteFile();
+
+ var loader:URLLoader = URLLoader(event.target);
+
+ objectXml = new XML(loader.data);
+ loadSettings();
+ loadCategoriesAndObjects();
+
+ var fileStream:FileStream = new FileStream();
+ fileStream.open(file, FileMode.WRITE);
+ fileStream.writeUTFBytes(objectXml.toXMLString());
+ fileStream.close();
+ CursorManager.removeBusyCursor();
+
+ }
+ //--------------------------------------------------------------------------
+ //--------------------------------------------------------------------------
+ //------------------------------------------------------------------------
+ // Convert the XML objects into Component objects so they map to the remote
+ // java object for easier processing by plug-in. HS
+ //------------------------------------------------------------------------
+ private function createComponentsFromXML(xmlList:XMLList):ArrayCollection
+ {
+ var objectsAsComponents:ArrayCollection = new ArrayCollection();
+ for each(var object:XML in xmlList)
+ {
+ trace("Component name " + object.attribute("name") + " id " + object.attribute("id"));
+ var c:Component = new Component();
+ c.id = object.attribute("id");
+ c.name = object.attribute("name");
+ c.author = object.attribute("author");
+ c.description = object.attribute("description");
+ objectsAsComponents.addItem(c);
+ }
+ return objectsAsComponents;
+ }
+ //-----------------------------------------------------
+ // Find the matching components based on the search string
+ // passed from the Eclipse plug-in and add them to an Array
+ // Collection as component objects for return via Merapi. HS
+ //-----------------------------------------------------
+ public function getFilteredComponents(filter:String):ArrayCollection
+ {
+ // First setup the XML list based on the search string from the plugin
+ var resultList:XMLList = filterList(filter);
+ var objectsAsComponents:ArrayCollection = createComponentsFromXML(resultList);
+ return objectsAsComponents;
+ }
+ //-----------------------------------------------------
+ // Fetch the list of featured components and convert them
+ // to component objects and add them to the array collection
+ // that will be returned to the eclipse plug-in. HS
+ //-----------------------------------------------------
+ public function getFeaturedComponents():ArrayCollection
+ {
+ // First setup the XML list based on the search string from the plugin
+ // Featured Components are the first child in the object XML...
+
+ var featXml:XML = objectXml.children()[0];
+ trace("Top level categories: " + featXml + objectXml.contains("Category"));
+ var featObjsList:XMLList = featXml.descendants("Object")
+ var objectsAsComponents:ArrayCollection = createComponentsFromXML(featObjsList);
+ return objectsAsComponents;
+
+ }
+ //-----------------------------------------------------
+ // Fetch the XML object for the id that was passed in
+ // from the Eclipse plug-in so we can navigate to that
+ // object for display. HS
+ //-----------------------------------------------------
+ public function getXMLForObjectId(matchId:String):XML {
+ var objects:XMLList = XMLList(objectXml..Object);
+ for each(var objectItem:XML in objects) {
+ var id:String = objectItem.@id.toLowerCase();
+ var name:String = objectItem.@name.toLowerCase();
+ var tags:String = objectItem.@tags.toLowerCase();
+ var author:String = objectItem.@author.toLowerCase();
+ if (id == matchId) {
+ trace("NAME: " + name + " id " + id);
+ return objectItem;
+ }
+ }
+ return null;
+ }
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/classes/ObjectListSortTypes.as
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/classes/ObjectListSortTypes.as b/TourDeFlex/TourDeFlex/src/classes/ObjectListSortTypes.as
new file mode 100644
index 0000000..6466fab
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/classes/ObjectListSortTypes.as
@@ -0,0 +1,38 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package classes
+{
+ import mx.collections.ArrayCollection;
+
+ public final class ObjectListSortTypes
+ {
+
+ public static const ALPHABETICAL:String = "Alphabetical";
+ public static const MOST_RECENT:String = "Most Recent";
+ public static const MOST_POPULAR:String = "Most Popular";
+
+ [Bindable]
+ public static var ObjectListSortTypeArray:Array = [ALPHABETICAL, MOST_RECENT, MOST_POPULAR];
+
+ public function ObjectListSortTypes()
+ {
+ }
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/classes/ObjectTreeDataDescriptor.as
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/classes/ObjectTreeDataDescriptor.as b/TourDeFlex/TourDeFlex/src/classes/ObjectTreeDataDescriptor.as
new file mode 100644
index 0000000..7afbafd
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/classes/ObjectTreeDataDescriptor.as
@@ -0,0 +1,191 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package classes
+{
+ import mx.collections.ArrayCollection;
+ import mx.collections.CursorBookmark;
+ import mx.collections.ICollectionView;
+ import mx.collections.IViewCursor;
+ import mx.collections.XMLListCollection;
+ import mx.controls.treeClasses.ITreeDataDescriptor;
+ import mx.events.CollectionEvent;
+ import mx.events.CollectionEventKind;
+
+ public class ObjectTreeDataDescriptor implements ITreeDataDescriptor
+ {
+ public function ObjectTreeDataDescriptor()
+ {
+ }
+
+ public function getChildren(node:Object, model:Object=null):ICollectionView
+ {
+ try
+ {
+ return new XMLListCollection(XMLList(node).children());
+ }
+ catch (e:Error)
+ {
+ trace("[Descriptor] exception checking for getChildren:" + e.toString());
+ }
+ return null;
+ }
+
+ // The isBranch method simply returns true if the node is an
+ // Object with a children field.
+ // It does not support empty branches, but does support null children
+ // fields.
+ public function isBranch(node:Object, model:Object=null):Boolean
+ {
+ try
+ {
+ if(node is Object)
+ {
+ if(node.children != null && XML(node).name().toString() != "Object")
+ return true;
+ }
+ }
+ catch (e:Error)
+ {
+ trace("[Descriptor] exception checking for isBranch");
+ }
+
+ return false;
+ }
+
+ // The hasChildren method Returns true if the
+ // node actually has children.
+ public function hasChildren(node:Object, model:Object=null):Boolean
+ {
+ if(node == null)
+ return false;
+
+ var children:ICollectionView = getChildren(node, model);
+
+ try
+ {
+ if(children.length > 0)
+ return true;
+ }
+ catch(e:Error)
+ {
+ trace("hasChildren: " + e.toString());
+ }
+
+ return false;
+ }
+
+ // The getData method simply returns the node as an Object.
+ public function getData(node:Object, model:Object=null):Object
+ {
+ try
+ {
+ return node;
+ }
+ catch (e:Error)
+ {
+ trace("getData: " + e.toString());
+ }
+
+ return null;
+ }
+
+ // The addChildAt method does the following:
+ // If the parent parameter is null or undefined, inserts
+ // the child parameter as the first child of the model parameter.
+ // If the parent parameter is an Object and has a children field,
+ // adds the child parameter to it at the index parameter location.
+ // It does not add a child to a terminal node if it does not have
+ // a children field.
+ public function addChildAt(parent:Object, child:Object, index:int, model:Object=null):Boolean
+ {
+ var event:CollectionEvent = new CollectionEvent(CollectionEvent.COLLECTION_CHANGE);
+ event.kind = CollectionEventKind.ADD;
+ event.items = [child];
+ event.location = index;
+
+ if (!parent)
+ {
+ var iterator:IViewCursor = model.createCursor();
+ iterator.seek(CursorBookmark.FIRST, index);
+ iterator.insert(child);
+ }
+ else if (parent is Object)
+ {
+ if (parent.children != null)
+ {
+ if(parent.children is ArrayCollection)
+ {
+ parent.children.addItemAt(child, index);
+ if (model)
+ {
+ model.dispatchEvent(event);
+ model.itemUpdated(parent);
+ }
+ return true;
+ }
+ else
+ {
+ parent.children.splice(index, 0, child);
+ if(model)
+ model.dispatchEvent(event);
+ return true;
+ }
+ }
+ }
+ return false;
+ }
+
+ // The removeChildAt method does the following:
+ // If the parent parameter is null or undefined,
+ // removes the child at the specified index
+ // in the model.
+ // If the parent parameter is an Object and has a children field,
+ // removes the child at the index parameter location in the parent.
+ public function removeChildAt(parent:Object, child:Object, index:int, model:Object=null):Boolean
+ {
+ var event:CollectionEvent = new CollectionEvent(CollectionEvent.COLLECTION_CHANGE);
+ event.kind = CollectionEventKind.REMOVE;
+ event.items = [child];
+ event.location = index;
+
+ //handle top level where there is no parent
+ if (!parent)
+ {
+ var iterator:IViewCursor = model.createCursor();
+ iterator.seek(CursorBookmark.FIRST, index);
+ iterator.remove();
+ if (model)
+ model.dispatchEvent(event);
+ return true;
+ }
+ else if (parent is Object)
+ {
+ if (parent.children != undefined)
+ {
+ parent.children.splice(index, 1);
+ if(model)
+ model.dispatchEvent(event);
+ return true;
+ }
+ }
+ return false;
+ }
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/classes/ObjectTreeItemRenderer.as
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/classes/ObjectTreeItemRenderer.as b/TourDeFlex/TourDeFlex/src/classes/ObjectTreeItemRenderer.as
new file mode 100644
index 0000000..e58fc5c
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/classes/ObjectTreeItemRenderer.as
@@ -0,0 +1,94 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package classes
+{
+ import mx.controls.Image;
+ import mx.controls.treeClasses.TreeItemRenderer;
+ import mx.controls.treeClasses.TreeListData;
+
+ public class ObjectTreeItemRenderer extends TreeItemRenderer
+ {
+ protected var iconImage:Image;
+ private var imageWidth:Number = 18;
+ private var imageHeight:Number = 18;
+ private var imageToLabelMargin:Number = 2;
+
+ public function ObjectTreeItemRenderer()
+ {
+ super();
+ }
+
+ override protected function createChildren():void
+ {
+ iconImage = new Image();
+ iconImage.width = imageWidth;
+ iconImage.height = imageHeight;
+ addChild(iconImage);
+
+ super.createChildren();
+ }
+
+ override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
+ {
+ super.updateDisplayList(unscaledWidth, unscaledHeight);
+ if(super.data)
+ {
+ if(!TreeListData(super.listData).hasChildren)
+ {
+ iconImage.x = super.label.x - imageWidth - imageToLabelMargin;
+
+ var tmp:XMLList = new XMLList(TreeListData(super.listData).item);
+ var iconPath:String = tmp.@iconPath.toString();
+ if(tmp.@localIconPath.toString().length > 0)
+ iconPath = tmp.@localIconPath;
+
+ if(iconPath.length > 0)
+ {
+ if(hasFullPath(iconPath)) {
+ if (Config.IS_ONLINE) {
+ iconImage.source = iconPath;
+ } else {
+ iconImage.source = Config.TREE_NO_ICON;
+ }
+ }
+ else
+ iconImage.source = Config.LOCAL_OBJECTS_ROOT_PATH + iconPath;
+ }
+ else
+ {
+ iconImage.source = Config.TREE_NO_ICON;
+ }
+ }
+ else
+ {
+ iconImage.source = null;
+ }
+ }
+ }
+
+ private function hasFullPath(path:String):Boolean
+ {
+ if(path.indexOf("//") >= 0 || path.indexOf(":") >= 0)
+ return true;
+ else
+ return false;
+ }
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/components/AboutWindow.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/components/AboutWindow.mxml b/TourDeFlex/TourDeFlex/src/components/AboutWindow.mxml
new file mode 100644
index 0000000..da94159
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/components/AboutWindow.mxml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="500" height="430" horizontalScrollPolicy="off" verticalScrollPolicy="off" click="closeAbout()">
+
+ <mx:Script>
+ <![CDATA[
+ import mx.managers.PopUpManager;
+
+ public var isOpen:Boolean = false;
+
+ public function set url(value:String):void
+ {
+ html_view.htmlLoader.navigateInSystemBrowser = true;
+ html_view.location = value;
+ }
+
+ public function closeAbout():void {
+ isOpen = false;
+ parentApplication.setFocus();
+ PopUpManager.removePopUp(this)
+ }
+
+ ]]>
+ </mx:Script>
+
+ <mx:Parallel id="aboutEffect">
+ <mx:Fade alphaFrom="0" alphaTo="1" duration="300"/>
+ <mx:Blur blurXFrom="300" blurXTo="0" duration="700"/>
+ </mx:Parallel>
+
+ <mx:Parallel id="shadowEffect">
+ <mx:Fade duration="1000"/>
+ <mx:Blur blurXFrom="0" blurYFrom="0" blurXTo="20" blurYTo="20" duration="500"/>
+ <mx:Fade duration="1000"/>
+ </mx:Parallel>
+
+ <mx:Canvas x="15" y="15" backgroundColor="black" backgroundAlpha="0.5" width="434" height="368" addedEffect="shadowEffect"/>
+ <mx:HTML x="0" y="0" id="html_view" width="439" height="368" addedEffect="aboutEffect" verticalScrollPolicy="off" horizontalScrollPolicy="off" />
+
+</mx:Canvas>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/components/ApplicationFooter.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/components/ApplicationFooter.mxml b/TourDeFlex/TourDeFlex/src/components/ApplicationFooter.mxml
new file mode 100644
index 0000000..430629d
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/components/ApplicationFooter.mxml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="init()" width="100%" height="30" styleName="applicationFooter">
+
+ <mx:Script >
+ <![CDATA[
+ import mx.managers.PopUpManager;
+
+ private var popup:AboutWindow;
+
+ private function init():void
+ {
+ popup = new AboutWindow();
+ }
+
+ private function showAbout():void
+ {
+ if(!popup.isOpen)
+ {
+ PopUpManager.addPopUp(popup, DisplayObject(this.parentApplication), false);
+ popup.url = "data/about.html";
+ popup.isOpen = true;
+ PopUpManager.centerPopUp(popup);
+ popup.move(popup.x + 70, popup.y + 50);
+ }
+ else
+ {
+ popup.isOpen = false;
+ PopUpManager.removePopUp(popup);
+ }
+ }
+
+ ]]>
+ </mx:Script>
+ <mx:Button x="4" y="1" id="aboutBtn" styleName="aboutButton" click="showAbout();" />
+ <mx:HBox x="70" width="100%" height="100%" verticalAlign="middle">
+ <mx:Label text="©2010 Adobe Inc, All Rights Reserved" width="25%" textAlign="center" />
+ <mx:Label id="label_version" text="Version: {Config.APP_VERSION}" width="25%" textAlign="center" />
+ <mx:Label id="label_objectsDataVersion" text="List Version: {Config.OBJECTS_FILE_VERSION}" width="25%" textAlign="center" />
+ <mx:Label id="label_objectsTotal" text="Samples: {Config.OBJECTS_TOTAL}" width="25%" textAlign="center" />
+ </mx:HBox>
+
+ <mx:Image bottom="5" right="4" source="@Embed('/images/button_clear.png')" mouseDown="stage.nativeWindow.startResize()" buttonMode="true" mouseEnabled="true" useHandCursor="true" />
+
+</mx:Canvas>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/components/ApplicationHeader.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/components/ApplicationHeader.mxml b/TourDeFlex/TourDeFlex/src/components/ApplicationHeader.mxml
new file mode 100644
index 0000000..65713b0
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/components/ApplicationHeader.mxml
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="42"
+ verticalScrollPolicy="off" horizontalScrollPolicy="off" backgroundAlpha="0">
+
+ <mx:Script>
+ <![CDATA[
+ import mx.controls.Alert;
+ import mx.managers.PopUpManager;
+ import mx.events.ListEvent;
+
+ [Bindable]
+ private var resourceTitle:String = " ";
+
+ /*
+ private function comboBox_about_change(event:ListEvent):void
+ {
+ if(comboBox_about.selectedItem.@data.toString().toLowerCase().indexOf("http") == 0)
+ {
+ navigateToURL(new URLRequest(comboBox_about.selectedItem.@data));
+ }
+ else if(comboBox_about.selectedItem.@data == "SplashWindow")
+ {
+ var splashWindow:SplashWindow = new SplashWindow();
+ PopUpManager.addPopUp(splashWindow, DisplayObject(this.parentApplication), false);
+ PopUpManager.centerPopUp(splashWindow);
+ }
+ else
+ {
+ var popup:AboutWindow = new AboutWindow();
+ PopUpManager.addPopUp(popup, DisplayObject(this.parentApplication), false);
+ popup.url = comboBox_about.selectedItem.@data;
+ PopUpManager.centerPopUp(popup);
+ popup.move(popup.x + 70, popup.y + 50); // move it 50 pixels right - GAW
+ }
+ comboBox_about.selectedIndex = -1; // Reset menu
+ }
+ */
+
+ private function button_quickStart_click(event:MouseEvent):void
+ {
+ TourDeFlex(this.parentApplication).showQuickStart();
+ }
+
+ ]]>
+ </mx:Script>
+
+ <mx:HBox styleName="applicationHeader" width="100%" height="100%" mouseDown="stage.nativeWindow.startMove()" />
+
+ <!--<mx:VBox right="37" y="2" height="100%" verticalAlign="middle" horizontalAlign="right">-->
+ <mx:HBox right="6" y="10" paddingTop="2" width="214" horizontalGap="2" horizontalScrollPolicy="off">
+ <mx:Button styleName="aboutComboBox" width="103" height="14" click="button_quickStart_click(event)" />
+ <!--<mx:ComboBox id="comboBox_about" prompt="{resourceTitle}" width="103" height="14" change="comboBox_about_change(event)" rowCount="20" styleName="aboutComboBox" dataProvider="{Config.ABOUT_MENU_LIST}" labelField="@label" />-->
+ <!--prompt="{Config.ABOUT_MENU_TITLE}" -->
+ <mx:Spacer width="30" />
+ <mx:Button width="20" styleName="applicationMinimizeButton" click="parentApplication.minimize()" tabEnabled="false" toolTip="Minimize" buttonMode="true" mouseEnabled="true" useHandCursor="true" />
+ <mx:Button width="20" styleName="applicationMaximizeButton" click="if(stage.displayState == StageDisplayState.FULL_SCREEN_INTERACTIVE) stage.displayState = StageDisplayState.NORMAL; else stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE" tabEnabled="false" toolTip="Full Screen" buttonMode="true" mouseEnabled="true" useHandCursor="true" />
+ <mx:Button width="20" styleName="applicationCloseButton"
+ click="NativeApplication.nativeApplication.dispatchEvent(new Event(Event.EXITING,true,true));"
+ tabEnabled="false" toolTip="Close" buttonMode="true" mouseEnabled="true" useHandCursor="true" />
+
+ </mx:HBox>
+ <!--</mx:VBox>-->
+</mx:Canvas>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/components/CommentsWindow.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/components/CommentsWindow.mxml b/TourDeFlex/TourDeFlex/src/components/CommentsWindow.mxml
new file mode 100644
index 0000000..54e403b
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/components/CommentsWindow.mxml
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<WipeWindow xmlns="components.*" xmlns:mx="http://www.adobe.com/2006/mxml" horizontalAlign="right">
+
+ <mx:Script>
+ <![CDATA[
+
+ private var commentsInitiallyLoaded:Boolean = false;
+
+ public function loadComments(objectId:int, isOnline:Boolean):void
+ {
+ if(isOnline)
+ this.html_comments.location = Config.COMMENTS_URL + objectId;
+ else
+ this.html_comments.location = Config.OFFLINE_URL;
+ }
+
+ private function html_comments_loaded(event:Event):void
+ {
+ if(commentsInitiallyLoaded)
+ this.parentApplication.HTTP_GetCommentsTotal.send();
+
+ commentsInitiallyLoaded = true;
+ }
+
+ ]]>
+ </mx:Script>
+
+ <mx:Button click="{this.visible = false}" styleName="closeButton"/>
+
+ <mx:HTML id="html_comments" width="100%" height="100%" complete="html_comments_loaded(event)" />
+
+</WipeWindow>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/components/DocumentTabs.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/components/DocumentTabs.mxml b/TourDeFlex/TourDeFlex/src/components/DocumentTabs.mxml
new file mode 100644
index 0000000..01fe4d7
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/components/DocumentTabs.mxml
@@ -0,0 +1,126 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<mx:TabNavigator xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:local="components.*"
+ width="100%" height="100%" styleName="documentTabs" selectedTabTextStyleName="documentTabSelected">
+
+ <mx:Script>
+ <![CDATA[
+ import classes.Document;
+ import mx.controls.HTML;
+ import mx.containers.VBox;
+
+ public var needHtmlHack:Boolean = false; // This is a total hack to work around TWO bugs in Flex. Ask Greg Wilson for details
+
+ public function addTabs(documents:Array, localRootPath:String):void
+ {
+ this.selectedIndex = 0;
+ this.validateNow();
+ this.removeAllChildren();
+
+ for each(var document:Document in documents)
+ this.addTab(document.name, document.path, document.openLinksExternal, localRootPath);
+ }
+
+ // There is a bug in the Flex 3.2 html control where the default font is set too large. This method puts it back to the desired default of 11px.
+ public function changeDefaultFont(e:Event):void {
+ var frames:Object = e.target.htmlLoader.window.document.getElementsByTagName("frame");
+ if (frames.length == 0)
+ {
+ // document does not have frames
+ if(e.target.htmlLoader.window.document.getElementsByTagName("body")[0])
+ e.target.htmlLoader.window.document.getElementsByTagName("body")[0].style.fontSize="11px";
+ }
+ else
+ {
+ // document has frames... change style for document in each frame
+ for (var i:int=0;i<frames.length;i++)
+ {
+ if(frames[i].contentDocument.getElementsByTagName("body")[0])
+ frames[i].contentDocument.getElementsByTagName("body")[0].style.fontSize="11px";
+ }
+ }
+ e.target.visible = true;
+ }
+
+ public function removeCleanup(e:Event):void {
+ if (this.needHtmlHack) {
+ //trace("CLEANUP");
+ e.target.htmlText = ""; // Hack - GAW - forces any loaded SWFs to stop
+ }
+ }
+
+
+ public function addTab(name:String, path:String, openLinksExternal:String, localRootPath:String):void
+ {
+ var tab:VBox = new VBox();
+ tab.percentWidth = 100;
+ tab.percentHeight = 100;
+ if(name.length == 0)
+ tab.label = getFileName(path);
+ else
+ tab.label = name;
+ this.addChild(tab);
+
+ var html_illustration:HTML = new HTML();
+ html_illustration.percentWidth = 100;
+ html_illustration.percentHeight = 100;
+ html_illustration.visible = false; // Set to true after changeDefaultFont
+ html_illustration.addEventListener(Event.COMPLETE,changeDefaultFont);
+ html_illustration.addEventListener(Event.REMOVED_FROM_STAGE, removeCleanup);
+ tab.addChild(html_illustration);
+
+ if (openLinksExternal.toLowerCase() == "true")
+ {
+ html_illustration.htmlLoader.navigateInSystemBrowser = true; // Open links in default browser
+ }
+
+ if(path.toLowerCase().indexOf("http") == 0)
+ {
+ if(Config.IS_ONLINE)
+ html_illustration.location = path;
+ else
+ html_illustration.location = Config.OFFLINE_URL;
+ }
+ else
+ {
+ html_illustration.location = localRootPath + path;
+ }
+ }
+
+ private function getFileName(path:String):String
+ {
+ var fileName:String = "";
+ var slashPos:int = path.lastIndexOf("/");
+ var backslashPos:int = path.lastIndexOf("\\");
+
+ if(slashPos > 0)
+ fileName = path.substr(slashPos+1);
+ else if(backslashPos > 0)
+ fileName = path.substr(backslashPos+1);
+ else
+ fileName = "Document";
+
+ return fileName;
+ }
+
+ ]]>
+ </mx:Script>
+
+</mx:TabNavigator>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/components/DownloadWindow.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/components/DownloadWindow.mxml b/TourDeFlex/TourDeFlex/src/components/DownloadWindow.mxml
new file mode 100644
index 0000000..c118aeb
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/components/DownloadWindow.mxml
@@ -0,0 +1,123 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" horizontalAlign="center" verticalAlign="middle" styleName="downloadWindow" width="300" height="150" creationComplete="init()">
+ <mx:Script>
+ <![CDATA[
+ import mx.controls.Alert;
+ import mx.managers.PopUpManager;
+
+ private var fileReference:FileReference;
+ private var localFileToSave:File;
+ private var fileToSave:File;
+
+ private function init():void
+ {
+ fileReference = new FileReference();
+ }
+
+ public function download(path:String, localRootPath:String):void
+ {
+ if(path.toLowerCase().indexOf("http") == 0)
+ downloadHttp(path);
+ else
+ downloadLocal(localRootPath + path);
+ }
+
+ private function downloadLocal(path:String):void
+ {
+ localFileToSave = File.applicationDirectory.resolvePath(path);
+
+ fileToSave = new File(File.documentsDirectory.nativePath + File.separator + localFileToSave.name);
+ fileToSave.addEventListener(Event.SELECT, downloadLocal_directorySelect);
+ fileToSave.addEventListener(Event.CANCEL, downloadLocal_directorySelectCancel);
+ fileToSave.browseForSave("Save As");
+ }
+
+ private function downloadLocal_directorySelect(event:Event):void
+ {
+ localFileToSave.addEventListener(ProgressEvent.PROGRESS, download_progressHandler);
+ localFileToSave.addEventListener(Event.COMPLETE, download_completeHandler);
+ localFileToSave.copyToAsync(fileToSave, true);
+ progressBar_download.setProgress(100,100);
+ }
+
+ private function downloadLocal_directorySelectCancel(event:Event):void
+ {
+ PopUpManager.removePopUp(this);
+ }
+
+ private function downloadHttp(path:String):void
+ {
+ var request:URLRequest = new URLRequest(path);
+ fileReference = new FileReference();
+ fileReference.addEventListener(Event.OPEN, download_openHandler);
+ fileReference.addEventListener(ProgressEvent.PROGRESS, download_progressHandler);
+ fileReference.addEventListener(Event.COMPLETE, download_completeHandler);
+
+ try
+ {
+ fileReference.download(request);
+ }
+ catch (error:Error)
+ {
+ Alert.show(error.message, "Download Error");
+ }
+ }
+
+ private function download_openHandler(event:Event):void
+ {
+ progressBar_download.label = "DOWNLOADING %3%%";
+ button_cancel.visible = true;
+ button_close.visible = false;
+ }
+
+ private function download_progressHandler(event:ProgressEvent):void
+ {
+ progressBar_download.setProgress(event.bytesLoaded, event.bytesTotal);
+ }
+
+ private function download_cancel(event:MouseEvent):void
+ {
+ fileReference.cancel();
+ progressBar_download.label = "CANCELLED";
+ button_close.visible = true;
+ button_cancel.visible = false;
+
+ PopUpManager.removePopUp(this);
+ }
+
+ private function download_completeHandler(event:Event):void
+ {
+ progressBar_download.label = "DOWNLOAD COMPLETE";
+ button_close.visible = true;
+ button_cancel.visible = false;
+ }
+
+ ]]>
+ </mx:Script>
+
+ <mx:ProgressBar id="progressBar_download" width="90%" mode="manual" label="DOWNLOADING..." />
+
+ <mx:Canvas>
+ <mx:Button id="button_cancel" label="Cancel" visible="false" click="download_cancel(event)" horizontalCenter="0" />
+ <mx:Button id="button_close" label="Close" click="{PopUpManager.removePopUp(this)}" horizontalCenter="0"/>
+ </mx:Canvas>
+
+</mx:TitleWindow>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/components/IllustrationTab.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/components/IllustrationTab.mxml b/TourDeFlex/TourDeFlex/src/components/IllustrationTab.mxml
new file mode 100644
index 0000000..df4bcbb
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/components/IllustrationTab.mxml
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%" remove="unloadIllustration();">
+
+ <mx:Script>
+ <![CDATA[
+ import mx.controls.Alert;
+ import mx.core.Application;
+ import mx.core.FlexGlobals;
+ import mx.modules.ModuleLoader;
+
+ public var downloadPath:String = "";
+ public var illustrationURL:String = "";
+ public var autoExpand:Boolean = false;
+
+ public function setLocation(path:String, isModule:String):void
+ {
+ //mx.core.Application.application.button_expand.enabled = true;
+ FlexGlobals.topLevelApplication.button_expand.enabled = true;
+
+ if(isModule.toLowerCase() == "true")
+ {
+ this.removeChild(html_illustration);
+ module_swfs.url = path;
+ illustrationURL = "";
+ FlexGlobals.topLevelApplication.button_browser.enabled = false;
+ }
+ else
+ {
+ this.removeChild(module_swfs);
+ html_illustration.location = path;
+ illustrationURL = path;
+ FlexGlobals.topLevelApplication.button_browser.enabled = true;
+
+ }
+ }
+
+ public function unloadIllustration():void {
+ if (this.contains(html_illustration))
+ {
+ html_illustration.htmlText = ""; // hack - GAW
+ this.removeChild(html_illustration); // hack - GAW
+ }
+ else
+ {
+ module_swfs.unloadModule();
+ }
+ }
+
+ ]]>
+ </mx:Script>
+
+ <mx:Parallel id="arrowShow">
+ <mx:Fade alphaFrom="0.5" alphaTo="1.0" duration="500"/>
+ </mx:Parallel>
+
+ <mx:Parallel id="arrowDim">
+ <mx:Fade alphaFrom="1.0" alphaTo="0.5" duration="500"/>
+ </mx:Parallel>
+
+ <mx:HTML id="html_illustration" width="100%" height="100%" horizontalScrollPolicy="off" verticalScrollPolicy="off" />
+ <mx:ModuleLoader id="module_swfs" height="100%" width="100%" backgroundColor="#323232" horizontalAlign="center" verticalAlign="middle" />
+
+</mx:Canvas>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/components/IllustrationTabs.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/components/IllustrationTabs.mxml b/TourDeFlex/TourDeFlex/src/components/IllustrationTabs.mxml
new file mode 100644
index 0000000..26d55c5
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/components/IllustrationTabs.mxml
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<local:TDFTabNavigator xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:local="components.*" width="100%" height="100%"
+ creationComplete="init()" styleName="illustrationTabs" selectedTabTextStyleName="illustrationTabSelected">
+
+ <mx:Script>
+ <![CDATA[
+ import mx.controls.Image;
+ import mx.collections.ArrayCollection;
+ import mx.controls.HTML;
+ import mx.containers.VBox;
+
+ public var associatedDocumentsCollection:ArrayCollection;
+
+ private function init():void
+ {
+ var t:TDFTabNavigator = new TDFTabNavigator();
+ associatedDocumentsCollection = new ArrayCollection();
+ }
+
+ public function addTab(name:String, path:String, localRootPath:String, isModule:String, downloadPath:String, autoExpand:String, openLinksExternal:String, scrollBars:String, associatedDocuments:Array):void
+ {
+ this.associatedDocumentsCollection.addItem(associatedDocuments);
+
+ var tab:IllustrationTab = new IllustrationTab();
+ tab.downloadPath = downloadPath;
+ tab.autoExpand = (autoExpand.toLowerCase() == "true")? true:false;
+
+ if(name.length == 0)
+ tab.label = "Sample " + (this.getChildren().length + 1);
+ else
+ tab.label = name;
+
+ this.addChild(tab);
+
+ if(scrollBars.toLowerCase() == "true") {
+ tab.html_illustration.verticalScrollPolicy = "auto";
+ tab.html_illustration.horizontalScrollPolicy = "auto";
+ }
+
+ if(openLinksExternal.toLowerCase() == "true")
+ tab.html_illustration.htmlLoader.navigateInSystemBrowser = true;
+
+ if(path.toLowerCase().indexOf("http") == 0)
+ tab.setLocation(path, isModule);
+ else
+ tab.setLocation(localRootPath + path, isModule);
+ }
+
+ public function removeAllIllustrations():void
+ {
+ //reset selected tab due to tab selection issue - HS - took out, use TDFTabNavigator class now instead.
+ //this.selectedIndex = 0;
+ //this.validateNow();
+
+ this.removeAllChildren();
+ this.associatedDocumentsCollection.removeAll();
+
+ }
+
+ public function hideSwf():void
+ {
+ this.selectedChild.visible = false;
+ }
+
+ ]]>
+ </mx:Script>
+
+</local:TDFTabNavigator>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/components/ObjectList.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/components/ObjectList.mxml b/TourDeFlex/TourDeFlex/src/components/ObjectList.mxml
new file mode 100644
index 0000000..d9155ed
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/components/ObjectList.mxml
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" width="98%" height="98%">
+
+ <mx:Script>
+ <![CDATA[
+ import classes.ObjectListSortTypes;
+ import classes.ObjectTreeItemRenderer;
+ import classes.ObjectTreeDataDescriptor;
+ import mx.events.FlexEvent;
+ import mx.collections.XMLListCollection;
+ import mx.events.ListEvent;
+
+ [Bindable] public var treeDataProvider:Object;
+ [Bindable] public var listDataProvider:Object;
+ [Bindable] public var selectedId:int = -1;
+ [Bindable] public var selectedObject:XML;
+ [Bindable] public var sortType:String = "";
+ public static const SORT_CHANGE:String = "sortChange";
+
+ private function list_objects_change(event:ListEvent):void
+ {
+ dispatchEvent(event);
+ }
+
+ private function comboBox_sort_change(event:ListEvent):void
+ {
+ sortType = comboBox_sort.selectedLabel;
+ var sortEvent:ListEvent = new ListEvent(SORT_CHANGE, event.bubbles, event.cancelable, event.columnIndex, event.rowIndex, event.reason, event.itemRenderer);
+ dispatchEvent(sortEvent);
+ }
+
+ private function tree_dataChange(event:FlexEvent):void
+ {
+ if(treeDataProvider && treeDataProvider[0].@autoExpand == true)
+ tree_objects.expandChildrenOf(treeDataProvider[0], true);
+ }
+
+ public function showTreeView(show:Boolean):void
+ {
+ tree_objects.visible = show;
+ box_list_objects.visible = !show;
+ }
+
+ public function setDescription(description:String, dateAdded:String, author:String):void
+ {
+ text_description.htmlText = description + "<br><b>Author:</b> " + author + "<br><b>Date Added:</b> " + dateAdded;
+ }
+
+ ]]>
+ </mx:Script>
+
+ <mx:Metadata>
+ [Event(name="change", type="mx.events.ListEvent")]
+ [Event(name="sortChange", type="mx.events.ListEvent")]
+ </mx:Metadata>
+
+ <mx:Canvas width="100%" height="100%">
+
+ <mx:VBox id="box_list_objects" width="100%" height="100%">
+ <mx:ComboBox id="comboBox_sort" width="100%" change="comboBox_sort_change(event)" dataProvider="{ObjectListSortTypes.ObjectListSortTypeArray}" />
+ <mx:List id="list_objects" fontSize="11" fontAntiAliasType="advanced" labelField="@name" itemRenderer="components.ObjectListItemRenderer" change="list_objects_change(event)" dataProvider="{listDataProvider}" width="100%" height="100%" />
+ </mx:VBox>
+
+ <mx:Tree id="tree_objects" fontSize="11" fontAntiAliasType="advanced" labelField="@name" showRoot="true" defaultLeafIcon="{null}" valueCommit="tree_dataChange(event)" itemRenderer="classes.ObjectTreeItemRenderer" change="list_objects_change(event)" dataProvider="{treeDataProvider}" dataDescriptor="{new ObjectTreeDataDescriptor()}" height="100%" width="100%" openDuration="0" />
+
+ </mx:Canvas>
+
+ <mx:Text id="text_description" width="100%" />
+
+</mx:VBox>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/components/ObjectListItemRenderer.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/components/ObjectListItemRenderer.mxml b/TourDeFlex/TourDeFlex/src/components/ObjectListItemRenderer.mxml
new file mode 100644
index 0000000..39bc381
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/components/ObjectListItemRenderer.mxml
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" implements="mx.controls.listClasses.IDropInListItemRenderer" horizontalScrollPolicy="off">
+
+ <mx:Script>
+ <![CDATA[
+ import mx.controls.listClasses.BaseListData;
+
+ private var _listData:BaseListData;
+
+ public function get listData():BaseListData
+ {
+ return _listData;
+ }
+
+ public function set listData(value:BaseListData):void
+ {
+ _listData = value;
+ }
+
+ override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
+ {
+ super.updateDisplayList(unscaledWidth, unscaledHeight);
+
+ if(data)
+ {
+ label_name.text = data.@name;
+ var iconPath:String = data.@iconPath;
+ if(data.@localIconPath.toString().length > 0)
+ iconPath = data.@localIconPath;
+
+ //Config.IS_ONLINE
+ if(iconPath.length > 0)
+ {
+ if(hasFullPath(data.@iconPath) && data.@localIconPath.toString().length == 0)
+ {
+ if(Config.IS_ONLINE) {
+ image_icon.source = iconPath;
+ } else {
+ image_icon.source = Config.TREE_NO_ICON;
+ }
+ }
+ else
+ {
+ image_icon.source = Config.LOCAL_OBJECTS_ROOT_PATH + iconPath;
+ }
+ }
+ else
+ {
+ image_icon.source = Config.TREE_NO_ICON;
+ }
+ }
+ }
+
+ private function hasFullPath(path:String):Boolean
+ {
+ if(path.indexOf("//") >= 0 || path.indexOf(":") >= 0)
+ return true;
+ else
+ return false;
+ }
+
+ ]]>
+ </mx:Script>
+
+ <mx:Image id="image_icon" width="18" height="18" />
+ <mx:Label id="label_name" x="20" />
+
+</mx:Canvas>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/components/PluginDownloadWindow.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/components/PluginDownloadWindow.mxml b/TourDeFlex/TourDeFlex/src/components/PluginDownloadWindow.mxml
new file mode 100644
index 0000000..82b5297
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/components/PluginDownloadWindow.mxml
@@ -0,0 +1,125 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" horizontalAlign="center" verticalAlign="middle" styleName="downloadWindow" width="300" height="150" creationComplete="init()">
+ <mx:Script>
+ <![CDATA[
+ import mx.controls.Alert;
+ import mx.managers.PopUpManager;
+
+ private var fileReference:FileReference;
+ private var localFileToSave:File;
+ private var fileToSave:File;
+
+ private function init():void
+ {
+ fileReference = new FileReference();
+ }
+
+ public function download(samplePath:String, pluginPath:String, localRootPath:String):void
+ {
+ if(samplePath.toLowerCase().indexOf("http") == 0)
+ downloadHttp(samplePath);
+ else
+ downloadLocal(localRootPath + samplePath, pluginPath);
+ }
+
+ private function downloadLocal(samplePath:String, path:String):void
+ {
+ var sampleFile:File = File.applicationDirectory.resolvePath(samplePath);
+ localFileToSave = File.documentsDirectory.resolvePath(path);
+
+ fileToSave = new File(localFileToSave.nativePath + File.separator + sampleFile.name);
+ //fileToSave.resolvePath(path);
+ fileToSave.nativePath = path;
+ fileToSave.addEventListener(Event.SELECT, downloadLocal_directorySelect);
+ fileToSave.addEventListener(Event.CANCEL, downloadLocal_directorySelectCancel);
+ fileToSave.browseForSave("Save to project:");
+
+ }
+
+ private function downloadLocal_directorySelect(event:Event):void
+ {
+ localFileToSave.addEventListener(ProgressEvent.PROGRESS, download_progressHandler);
+ localFileToSave.addEventListener(Event.COMPLETE, download_completeHandler);
+ localFileToSave.copyToAsync(fileToSave, true);
+ progressBar_download.setProgress(100,100);
+ }
+ private function downloadLocal_directorySelectCancel(event:Event):void
+ {
+ PopUpManager.removePopUp(this);
+ }
+ private function downloadHttp(path:String):void
+ {
+ var request:URLRequest = new URLRequest(path);
+ fileReference = new FileReference();
+ fileReference.addEventListener(Event.OPEN, download_openHandler);
+ fileReference.addEventListener(ProgressEvent.PROGRESS, download_progressHandler);
+ fileReference.addEventListener(Event.COMPLETE, download_completeHandler);
+
+ try
+ {
+ fileReference.download(request);
+ }
+ catch (error:Error)
+ {
+ Alert.show(error.message, "Download Error");
+ }
+ }
+
+ private function download_openHandler(event:Event):void
+ {
+ progressBar_download.label = "DOWNLOADING %3%%";
+ button_cancel.visible = true;
+ button_close.visible = false;
+ }
+
+ private function download_progressHandler(event:ProgressEvent):void
+ {
+ progressBar_download.setProgress(event.bytesLoaded, event.bytesTotal);
+ }
+
+ private function download_cancel(event:MouseEvent):void
+ {
+ fileReference.cancel();
+ progressBar_download.label = "CANCELLED";
+ button_close.visible = true;
+ button_cancel.visible = false;
+
+ PopUpManager.removePopUp(this);
+ }
+
+ private function download_completeHandler(event:Event):void
+ {
+ progressBar_download.label = "DOWNLOAD COMPLETE";
+ button_close.visible = true;
+ button_cancel.visible = false;
+ }
+
+ ]]>
+ </mx:Script>
+
+ <mx:ProgressBar id="progressBar_download" width="90%" mode="manual" label="DOWNLOADING..." />
+
+ <mx:Canvas>
+ <mx:Button id="button_cancel" label="Cancel" visible="false" click="download_cancel(event)" horizontalCenter="0" />
+ <mx:Button id="button_close" label="Close" click="{PopUpManager.removePopUp(this)}" horizontalCenter="0"/>
+ </mx:Canvas>
+
+</mx:TitleWindow>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/components/QuickStartWindow.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/components/QuickStartWindow.mxml b/TourDeFlex/TourDeFlex/src/components/QuickStartWindow.mxml
new file mode 100644
index 0000000..e35f3bb
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/components/QuickStartWindow.mxml
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="init()" width="100%" height="100%" verticalGap="0" styleName="qStartStyle" >
+
+ <mx:Script>
+ <![CDATA[
+ import mx.events.CloseEvent;
+ import mx.core.FlexSprite;
+ import mx.managers.PopUpManager;
+ import TopPanels4_fla.MainTimeline;
+
+ public static const CLOSE_EVENT:String = "close";
+
+ private function init():void
+ {
+ html_quickStart.htmlLoader.navigateInSystemBrowser = true;
+ html_quickStart.htmlText = "<BR><BR><BR><CENTER>Loading...</CENTER>";
+ this.systemManager.addEventListener(MouseEvent.CLICK, modal_click);
+ }
+
+ private function modal_click(event:MouseEvent):void
+ {
+ if(event.target is FlexSprite && FlexSprite(event.target).name == "modalWindow")
+ PopUpManager.removePopUp(this);
+ }
+
+ public function set location(value:String):void
+ {
+ if(html_quickStart)
+ html_quickStart.location = value;
+ }
+
+ public function clearContents():void
+ {
+ html_quickStart.htmlText = "";
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:Style>
+ .qStartStyle{
+ backgroundImage: Embed(skinClass='QuickStartPanel');
+ backgroundSize: "100%";
+ }
+ .closeHTML{
+ skin: Embed(skinClass='CloseHTMLButton');
+ }
+ .linkButton{
+ icon: Embed(skinClass='LinkIcon');
+ color: #314983;
+ textRollOverColor: #323232;
+ fontWeight: normal;
+ }
+ </mx:Style>
+
+ <mx:Metadata>
+ [Event(name="close", type="mx.events.CloseEvent")]
+ </mx:Metadata>
+
+ <mx:VBox height="100%" width="100%" paddingBottom="5" paddingLeft="6" paddingRight="6" paddingTop="5">
+ <mx:HTML id="html_quickStart" height="100%" width="100%" horizontalScrollPolicy="off" />
+ </mx:VBox>
+
+
+</mx:VBox>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/components/SearchWindow.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/components/SearchWindow.mxml b/TourDeFlex/TourDeFlex/src/components/SearchWindow.mxml
new file mode 100644
index 0000000..ea687ff
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/components/SearchWindow.mxml
@@ -0,0 +1,197 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<WipeWindow xmlns="components.*" xmlns:mx="http://www.adobe.com/2006/mxml" horizontalAlign="right" creationComplete="init()">
+
+ <mx:Script>
+ <![CDATA[
+ //--------------------------------------------------------------------------
+ // Imports
+ //--------------------------------------------------------------------------
+ import classes.ObjectData;
+ import mx.core.EdgeMetrics;
+ import mx.containers.GridItem;
+ import mx.containers.GridRow;
+ import mx.utils.StringUtil;
+ import mx.events.CollectionEvent;
+ import mx.controls.CheckBox;
+
+ //--------------------------------------------------------------------------
+ // Variables/properties
+ //--------------------------------------------------------------------------
+ public var objectData:ObjectData;
+ public static const SEARCH_SUBMIT:String = "searchSubmit";
+
+ public function set searchTagsData(tags:Array):void
+ {
+ var tagCounter:int = 0;
+
+ for each(var row:GridRow in grid_tags.getChildren())
+ {
+ for each(var col:GridItem in row.getChildren())
+ {
+ var checkBox:CheckBox = CheckBox(col.getChildAt(0));
+
+ var tagTotal:String = "";
+ if(tags[tagCounter][1] && tags[tagCounter][1].toString().length > 0)
+ tagTotal = " (" + tags[tagCounter][1] + ")";
+
+ checkBox.label = tags[tagCounter][0] + tagTotal;
+ checkBox.data = tags[tagCounter][0];
+ checkBox.addEventListener(Event.CHANGE, checkBox_tag_change);
+ checkBox.styleName = "tagCheckBox";
+ checkBox.visible = true;
+ tagCounter++;
+ if(tagCounter == tags.length)
+ break;
+ }
+ if(tagCounter == tags.length)
+ break;
+ }
+ }
+
+ //--------------------------------------------------------------------------
+ // Grid creation
+ //--------------------------------------------------------------------------
+ private function init():void
+ {
+ createTagGrid();
+ }
+
+ private function createTagGrid():void
+ {
+ for(var rows:int=0; rows<14; rows++)
+ {
+ var row:GridRow = new GridRow();
+ row.percentWidth = 100;
+ row.percentHeight = 100;
+
+ for(var cols:int=0; cols<4; cols++)
+ {
+ var col:GridItem = new GridItem();
+ col.percentWidth = 100;
+ col.percentHeight = 100;
+
+ if(cols == 0 && rows == 0)
+ col.styleName = "tagGridFirstRowItem"
+ else if(rows == 0)
+ col.styleName = "tagGridFirstRow";
+ else if(cols == 0)
+ col.styleName = "tagGridFirstItem";
+ else
+ col.styleName = "tagGridItem";
+
+ var checkBox:CheckBox = new CheckBox();
+ checkBox.visible = false;
+
+ col.addChild(checkBox);
+ row.addChild(col);
+ }
+ grid_tags.addChild(row);
+ }
+ }
+
+ //--------------------------------------------------------------------------
+ // Search controls
+ //--------------------------------------------------------------------------
+ public function clear():void
+ {
+ textInput_search.text = "";
+ clearGridTags();
+ }
+
+ private function button_clear_click(event:MouseEvent):void
+ {
+ objectData.filterList("");
+ clear();
+ }
+
+ private function clearGridTags():void
+ {
+ for each(var row:GridRow in grid_tags.getChildren())
+ {
+ for each(var col:GridItem in row.getChildren())
+ {
+ var checkBox:CheckBox = CheckBox(col.getChildAt(0));
+ checkBox.selected = false;
+ }
+ }
+ }
+
+ private function textBox_submit(event:Event):void
+ {
+ clearGridTags();
+
+ objectData.filterList(textInput_search.text);
+ dispatchEvent(new Event(SEARCH_SUBMIT, true));
+ }
+
+ private function checkBox_tag_change(event:Event):void
+ {
+ textInput_search.text = "";
+ var searchTerms:String = "";
+
+ for each(var row:GridRow in grid_tags.getChildren())
+ {
+ for each(var col:GridItem in row.getChildren())
+ {
+ var checkBox:CheckBox = CheckBox(col.getChildAt(0));
+ if(checkBox.visible && checkBox.selected)
+ searchTerms += checkBox.data + " ";
+ }
+ }
+
+ objectData.filterList(StringUtil.trim(searchTerms), true);
+ dispatchEvent(new Event(SEARCH_SUBMIT, true));
+ }
+
+ //--------------------------------------------------------------------------
+ //--------------------------------------------------------------------------
+
+ ]]>
+ </mx:Script>
+
+ <mx:Metadata>
+ [Event(name="searchSubmit", type="flash.events.Event")]
+ </mx:Metadata>
+
+ <mx:HBox width="100%" paddingLeft="10">
+
+ <mx:VBox>
+ <mx:Label text="Search:" styleName="headingLabel" />
+ <mx:HBox>
+ <TextBoxSearch id="textInput_search" width="240" textSubmit="textBox_submit(event)" />
+ <mx:Button id="button_clear" label="Reset" click="button_clear_click(event)" />
+ </mx:HBox>
+ </mx:VBox>
+
+ <mx:HBox width="100%" horizontalAlign="right">
+ <mx:Button click="{this.visible = false}" styleName="closeButton" />
+ </mx:HBox>
+
+ </mx:HBox>
+
+ <mx:Spacer height="5" />
+
+ <mx:VBox styleName="searchWindowTagBox" width="100%" height="100%">
+ <mx:Label text="Popular Tags:" styleName="headingLabel" />
+ <mx:Grid id="grid_tags" width="100%" height="100%" styleName="searchWindowTags" verticalGap="0" horizontalGap="0" />
+ </mx:VBox>
+
+</WipeWindow>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/components/SplashWindow.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/components/SplashWindow.mxml b/TourDeFlex/TourDeFlex/src/components/SplashWindow.mxml
new file mode 100644
index 0000000..28f41bd
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/components/SplashWindow.mxml
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" backgroundColor="#000000" horizontalScrollPolicy="off" verticalScrollPolicy="off" remove="video_intro.stop()" >
+
+ <mx:Script>
+ <![CDATA[
+ import mx.managers.PopUpManager;
+
+ private var videoLength:int;
+
+ private function setVolume(event:Event):void
+ {
+ if(event.target.selected)
+ {
+ video_intro.volume = 0;
+ }
+ else
+ {
+ video_intro.volume = 1;
+ video_intro.playheadTime = 0;
+ video_intro.play();
+ }
+ //so.data.mute = ev.target.selected;
+ }
+
+ private function checkBox_skip_click(event:Event):void
+ {
+ if(event.target.selected)
+ {
+ video_intro_complete();
+ }
+ else
+ {
+ video_intro.playheadTime = 0;
+ video_intro.play();
+ }
+ //so.data.skip = event.target.selected;
+ }
+
+ private function video_intro_complete():void
+ {
+ //Preferences.preferencesXml.Splash.@skip = checkBox_skip.selected.toString(); -- no longer save skip - GAW
+ video_intro.playheadTime = video_intro.totalTime;
+ video_intro.stop();
+ //PopUpManager.removePopUp(this);
+ //Preferences.save();
+ }
+
+ ]]>
+ </mx:Script>
+
+ <mx:VideoDisplay id="video_intro" width="678" height="568" source="{Config.SPLASH_URL}"
+ autoPlay="true" borderThickness="2" borderColor="black" borderStyle="inset"
+ autoBandWidthDetection="false" bufferTime="0.1" volume="0" complete="video_intro_complete()" rollOver="panel_options.visible=true;"
+ rollOut="panel_options.visible=false;" autoRewind="false" />
+
+ <mx:Panel id="panel_options" width="90" height="35" color="0xFFFFFF" backgroundAlpha="0.6" backgroundColor="0x000000" borderColor="0x000000" layout="horizontal" borderAlpha="0.6"
+ borderThicknessTop="1" borderThicknessBottom="10" headerHeight="10" cornerRadius="5" x="{(video_intro.width/2)-(panel_options.width/2)}"
+ y="{(video_intro.height - 70)}" horizontalAlign="center" verticalAlign="middle" horizontalGap="20" visible="false"
+ roundedBottomCorners="true" rollOver="panel_options.visible=true;" >
+
+ <mx:CheckBox id="checkBox_mute" label="MUTE" selected="true" click="setVolume(event);" textRollOverColor="0x55C0FF" textSelectedColor="0xACACAC" />
+ <!-- Removed - GAW
+ <mx:VRule height="20" alpha="0.5" />
+ <mx:Button id="checkBox_skip" label="SKIP" click="checkBox_skip_click(event);" textRollOverColor="0x55C0FF" textSelectedColor="0xACACAC" />
+ -->
+ </mx:Panel>
+
+</mx:Canvas>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/components/TDFTabNavigator.as
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/components/TDFTabNavigator.as b/TourDeFlex/TourDeFlex/src/components/TDFTabNavigator.as
new file mode 100644
index 0000000..c045973
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/components/TDFTabNavigator.as
@@ -0,0 +1,43 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package components
+{
+ import mx.containers.TabNavigator;
+
+ /**
+ * Currently there is a known bug within flex that prevents you from simply setting the selectedIndex
+ * once all the children are added. This class should be used to avoid the issue.
+ **/
+
+ public class TDFTabNavigator extends TabNavigator
+ {
+ public function TDFTabNavigator()
+ {
+ super();
+ }
+ override protected function commitSelectedIndex(newIndex:int):void
+ {
+ super.commitSelectedIndex(newIndex);
+ if(tabBar.numChildren > 0)
+ {
+ tabBar.selectedIndex = newIndex;
+ }
+ }
+ }
+}
\ No newline at end of file
[36/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/data/objects-desktop_ja-update.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/data/objects-desktop_ja-update.xml b/TourDeFlex/TourDeFlex/src/data/objects-desktop_ja-update.xml
new file mode 100644
index 0000000..f9a1c33
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/data/objects-desktop_ja-update.xml
@@ -0,0 +1,37 @@
+<!--
+
+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.
+
+-->
+<update>
+<version>2009-06-16</version>
+<url>http://tourdeflex.adobe.com/download/objects-desktop_ja.xml</url>
+<description>
+06/16/2009: New - Added 5 new ESRI ArcGIS samples
+06/11/2009: New - Axiis Data Visualization Framework (Open Source) added
+06/09/2009: New - Flex Data Access / Data Management Samples added by Holly Schinsky
+06/01/2009: New - Flex 4 Preview samples added!
+06/01/2009: New - New ESRI ArcGIS Sample by Moxie Zhang, ESRI, Inc. - Mapping
+05/25/2009: New - New Collaboration Sample by Holly Schinsky - Data Access, Messaging
+05/20/2009: New - New Java Remoting Samples by Holly Schinsky - Data Access, RemoteObject
+05/19/2009: New - JSON and REST API Sample by Holly Schinsky - Data Access, Techniques
+05/10/2009: New - Added sample for reducing idle CPU usage in AIR apps
+05/01/2009: New - "AutoCompleteComboBox" by Jeffry Houser - Other Computers - Flextras
+04/30/2009: New - "IBM ILOG DASHBOARD" - Data Visualization
+04/12/2009: New - "Determine Client Capabilities" - Flex Core Components / Coding Techniques
+04/09/2009: New - "Working with Filters" - Flex Core Components / Coding Techniques
+</description>
+</update>
[31/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/Components/SourceStyles.css
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/Components/SourceStyles.css b/TourDeFlex/TourDeFlex/src/objects/AIR/Components/SourceStyles.css
new file mode 100644
index 0000000..639c39a
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/Components/SourceStyles.css
@@ -0,0 +1,146 @@
+/*
+ * 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.
+ */
+body {
+ font-family: Courier New, Courier, monospace;
+}
+
+.CSS@font-face {
+ color: #990000;
+ font-weight: bold;
+}
+
+.CSS@import {
+ color: #006666;
+ font-weight: bold;
+}
+
+.CSS@media {
+ color: #663333;
+ font-weight: bold;
+}
+
+.CSSComment {
+ color: #999999;
+}
+
+.CSSDefault_Text {
+}
+
+.CSSDelimiters {
+}
+
+.CSSProperty_Name {
+ color: #330099;
+}
+
+.CSSProperty_Value {
+ color: #3333cc;
+}
+
+.CSSSelector {
+ color: #ff00ff;
+}
+
+.CSSString {
+ color: #990000;
+}
+
+.ActionScriptASDoc {
+ color: #3f5fbf;
+}
+
+.ActionScriptBracket/Brace {
+}
+
+.ActionScriptComment {
+ color: #009900;
+ font-style: italic;
+}
+
+.ActionScriptDefault_Text {
+}
+
+.ActionScriptMetadata {
+ color: #0033ff;
+ font-weight: bold;
+}
+
+.ActionScriptOperator {
+}
+
+.ActionScriptReserved {
+ color: #0033ff;
+ font-weight: bold;
+}
+
+.ActionScriptString {
+ color: #990000;
+ font-weight: bold;
+}
+
+.ActionScriptclass {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScriptfunction {
+ color: #339966;
+ font-weight: bold;
+}
+
+.ActionScriptinterface {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScriptpackage {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScripttrace {
+ color: #cc6666;
+ font-weight: bold;
+}
+
+.ActionScriptvar {
+ color: #6699cc;
+ font-weight: bold;
+}
+
+.MXMLComment {
+ color: #800000;
+}
+
+.MXMLComponent_Tag {
+ color: #0000ff;
+}
+
+.MXMLDefault_Text {
+}
+
+.MXMLProcessing_Instruction {
+}
+
+.MXMLSpecial_Tag {
+ color: #006633;
+}
+
+.MXMLString {
+ color: #990000;
+}
+
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/AutoUpdate/AutoUpdate.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/AutoUpdate/AutoUpdate.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/AutoUpdate/AutoUpdate.mxml.html
new file mode 100644
index 0000000..d5449e0
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/AutoUpdate/AutoUpdate.mxml.html
@@ -0,0 +1,82 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>AutoUpdate.mxml</title>
+<link rel="stylesheet" type="text/css" href="../../../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><mx:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:mx="</span><span class="MXMLString">http://www.adobe.com/2006/mxml</span><span class="MXMLDefault_Text">" layout="</span><span class="MXMLString">absolute</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">200</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">70</span><span class="MXMLDefault_Text">" creationComplete="</span><span class="ActionScriptDefault_Text">checkForUpdate</span><span class="ActionScriptBracket/Brace">()</span><span class="MXMLDefault_Text">" viewSourceURL="</span><span class="MXMLString">srcview/index.html</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLSpecial_Tag"><mx:Script></span>
+ <span class="ActionScriptOperator"><!</span><span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptDefault_Text">CDATA</span><span class="ActionScriptBracket/Brace">[</span>
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span>.<span class="ActionScriptDefault_Text">events</span>.<span class="ActionScriptDefault_Text">ErrorEvent</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">air</span>.<span class="ActionScriptDefault_Text">update</span>.<span class="ActionScriptDefault_Text">ApplicationUpdaterUI</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">air</span>.<span class="ActionScriptDefault_Text">update</span>.<span class="ActionScriptDefault_Text">events</span>.<span class="ActionScriptDefault_Text">UpdateEvent</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span>.<span class="ActionScriptDefault_Text">controls</span>.<span class="ActionScriptDefault_Text">Alert</span>;
+
+ <span class="ActionScriptComment">// Instantiate the updater
+</span> <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">appUpdater</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">ApplicationUpdaterUI</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">ApplicationUpdaterUI</span><span class="ActionScriptBracket/Brace">()</span>;
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">checkForUpdate</span><span class="ActionScriptBracket/Brace">()</span><span class="ActionScriptOperator">:</span><span class="ActionScriptReserved">void</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptComment">// The code below is a hack to work around a bug in the framework so that CMD-Q still works on MacOS
+</span> <span class="ActionScriptComment">// This is a temporary fix until the framework is updated
+</span> <span class="ActionScriptComment">// See http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=670&threadid=1373568
+</span> <span class="ActionScriptDefault_Text">NativeApplication</span>.<span class="ActionScriptDefault_Text">nativeApplication</span>.<span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span> <span class="ActionScriptDefault_Text">Event</span>.<span class="ActionScriptDefault_Text">EXITING</span>,
+ <span class="ActionScriptfunction">function</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">:</span><span class="ActionScriptReserved">void</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">opened</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Array</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">NativeApplication</span>.<span class="ActionScriptDefault_Text">nativeApplication</span>.<span class="ActionScriptDefault_Text">openedWindows</span>;
+ <span class="ActionScriptReserved">for</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">i</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">int</span> <span class="ActionScriptOperator">=</span> 0; <span class="ActionScriptDefault_Text">i</span> <span class="ActionScriptOperator"><</span> <span class="ActionScriptDefault_Text">opened</span>.<span class="ActionScriptDefault_Text">length</span>; <span class="ActionScriptDefault_Text">i</span> <span class="ActionScriptOperator">++</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">opened</span><span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptDefault_Text">i</span><span class="ActionScriptBracket/Brace">]</span>.<span class="ActionScriptDefault_Text">close</span><span class="ActionScriptBracket/Brace">()</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">})</span>;
+
+ <span class="ActionScriptDefault_Text">setApplicationVersion</span><span class="ActionScriptBracket/Brace">()</span>; <span class="ActionScriptComment">// Find the current version so we can show it below
+</span>
+ <span class="ActionScriptComment">// Configuration stuff - see update framework docs for more details
+</span> <span class="ActionScriptDefault_Text">appUpdater</span>.<span class="ActionScriptDefault_Text">updateURL</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">"http://64.23.34.61/updatesample/update.xml"</span>; <span class="ActionScriptComment">// Server-side XML file describing update
+</span> <span class="ActionScriptDefault_Text">appUpdater</span>.<span class="ActionScriptDefault_Text">isCheckForUpdateVisible</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">false</span>; <span class="ActionScriptComment">// We won't ask permission to check for an update
+</span> <span class="ActionScriptDefault_Text">appUpdater</span>.<span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">UpdateEvent</span>.<span class="ActionScriptDefault_Text">INITIALIZED</span>, <span class="ActionScriptDefault_Text">onUpdate</span><span class="ActionScriptBracket/Brace">)</span>; <span class="ActionScriptComment">// Once initialized, run onUpdate
+</span> <span class="ActionScriptDefault_Text">appUpdater</span>.<span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ErrorEvent</span>.<span class="ActionScriptDefault_Text">ERROR</span>, <span class="ActionScriptDefault_Text">onError</span><span class="ActionScriptBracket/Brace">)</span>; <span class="ActionScriptComment">// If something goes wrong, run onError
+</span> <span class="ActionScriptDefault_Text">appUpdater</span>.<span class="ActionScriptDefault_Text">initialize</span><span class="ActionScriptBracket/Brace">()</span>; <span class="ActionScriptComment">// Initialize the update framework
+</span> <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">onError</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">ErrorEvent</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">:</span><span class="ActionScriptReserved">void</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">Alert</span>.<span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>.<span class="ActionScriptDefault_Text">toString</span><span class="ActionScriptBracket/Brace">())</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">onUpdate</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">UpdateEvent</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">:</span><span class="ActionScriptReserved">void</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">appUpdater</span>.<span class="ActionScriptDefault_Text">checkNow</span><span class="ActionScriptBracket/Brace">()</span>; <span class="ActionScriptComment">// Go check for an update now
+</span> <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptComment">// Find the current version for our Label below
+</span> <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">setApplicationVersion</span><span class="ActionScriptBracket/Brace">()</span><span class="ActionScriptOperator">:</span><span class="ActionScriptReserved">void</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">appXML</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">XML</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">NativeApplication</span>.<span class="ActionScriptDefault_Text">nativeApplication</span>.<span class="ActionScriptDefault_Text">applicationDescriptor</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">ns</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Namespace</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">appXML</span>.<span class="ActionScriptDefault_Text">namespace</span><span class="ActionScriptBracket/Brace">()</span>;
+ <span class="ActionScriptDefault_Text">ver</span>.<span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">"Current version is "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">appXML</span>.<span class="ActionScriptDefault_Text">ns</span><span class="ActionScriptOperator">::</span><span class="ActionScriptDefault_Text">version</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></mx:Script></span>
+
+ <span class="MXMLComponent_Tag"><mx:VBox</span><span class="MXMLDefault_Text"> backgroundColor="</span><span class="MXMLString">blue</span><span class="MXMLDefault_Text">" x="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" y="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:Label</span><span class="MXMLDefault_Text"> color="</span><span class="MXMLString">white</span><span class="MXMLDefault_Text">" id="</span><span class="MXMLString">ver</span><span class="MXMLDefault_Text">" </span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></mx:VBox></span>
+
+<span class="MXMLComponent_Tag"></mx:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/AutoUpdate/dialogscreenshot1.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/AutoUpdate/dialogscreenshot1.html b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/AutoUpdate/dialogscreenshot1.html
new file mode 100644
index 0000000..bfcdd82
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/AutoUpdate/dialogscreenshot1.html
@@ -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.
+-->
+<HTML>
+<HEAD></HEAD>
+<BODY BGCOLOR="#323232">
+<IMG SRC="dialogscreenshot1.png">
+</BODY>
+</HTML>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/AutoUpdate/dialogscreenshot1.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/AutoUpdate/dialogscreenshot1.png b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/AutoUpdate/dialogscreenshot1.png
new file mode 100644
index 0000000..7a2d3af
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/AutoUpdate/dialogscreenshot1.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/AutoUpdate/readme.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/AutoUpdate/readme.html b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/AutoUpdate/readme.html
new file mode 100644
index 0000000..0d96eda
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/AutoUpdate/readme.html
@@ -0,0 +1,35 @@
+<!--
+ 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.
+-->
+<h3>Adobe AIR Update Framework (beta)</H3>
+This beta release of the update framework provides APIs to assist developers in including
+good update capabilities in their AIR applications. The framework assists with the following:
+<UL>
+<LI>Periodically checking for updates based on an interval or at the request of the user
+<LI>Downloading AIR files (updates) from a web source
+<LI>Alerting the user on the first run of the newly installed version or performing data migration
+<LI>Confirming that the user wants to check for updates
+<LI>Displaying information to the user on the new available version for download
+<LI>Displaying download progress and error information to the user
+</UL>
+The update framework supplies a default user interface that your application can use. It provides the user with basic
+information and options related to application updates. Your application can also also define its own custom user
+interface for use with the update framework.
+<BR>
+<UL>
+<LI><A HREF="http://labs.adobe.com/wiki/index.php/Adobe_AIR_Update_Framework">Adobe AIR Update Framework Home Page</A>
+<LI><A HREF="http://gregorywilson.wordpress.com/2008/08/16/adding-auto-update-features-to-your-air-application-in-3-easy-steps">Greg Wilson's Update Framework quick start</A>
+</UL>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/AutoUpdate/update.xml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/AutoUpdate/update.xml.html b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/AutoUpdate/update.xml.html
new file mode 100644
index 0000000..b2cfcc5
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/AutoUpdate/update.xml.html
@@ -0,0 +1,27 @@
+<!--
+ 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.
+-->
+<div class="highlight"><pre><span style="color: #333333"><?xml version="1.0" encoding="utf-8"?></span>
+<span style="color: #0000FF; font-weight: bold"><update</span> <span style="color: #7D9029">xmlns=</span><span style="color: #BA2121">"http://ns.adobe.com/air/framework/update/description/1.0"</span><span style="color: #0000FF; font-weight: bold">></span>
+ <span style="color: #0000FF; font-weight: bold"><version></span>v1.1<span style="color: #0000FF; font-weight: bold"></version></span>
+ <span style="color: #0000FF; font-weight: bold"><url></span>http://yourserver/updatesample/UpdateSample.air<span style="color: #0000FF; font-weight: bold"></url></span>
+ <span style="color: #0000FF; font-weight: bold"><description></span><span style="color: #333333"><![CDATA[</span>
+<span style="color: #333333">v1.1</span>
+<span style="color: #333333"> * These notes are displayed to the user in the update dialog</span>
+<span style="color: #333333"> * Typically, this is used to summarize what's new in the release</span>
+<span style="color: #333333"> ]]></span><span style="color: #0000FF; font-weight: bold"></description></span>
+<span style="color: #0000FF; font-weight: bold"></update></span>
+</pre></div>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/CopyPaste/main.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/CopyPaste/main.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/CopyPaste/main.mxml.html
new file mode 100644
index 0000000..d416dc5
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/CopyPaste/main.mxml.html
@@ -0,0 +1,121 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>main.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Declarations></span>
+ <span class="MXMLComponent_Tag"><fx:Number</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">lastRollOverIndex</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+
+ <span class="MXMLComponent_Tag"><s:ArrayCollection</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">menuItems</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><fx:Object</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Copy</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><fx:Object</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Paste</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:ArrayCollection></span>
+
+ <span class="MXMLComponent_Tag"><s:ArrayCollection</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">people</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><fx:Object</span><span class="MXMLDefault_Text"> firstName="</span><span class="MXMLString">James</span><span class="MXMLDefault_Text">" lastName="</span><span class="MXMLString">Ward</span><span class="MXMLDefault_Text">" phone="</span><span class="MXMLString">555-123-1234</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><fx:Object</span><span class="MXMLDefault_Text"> firstName="</span><span class="MXMLString">Greg</span><span class="MXMLDefault_Text">" lastName="</span><span class="MXMLString">Wilson</span><span class="MXMLDefault_Text">" phone="</span><span class="MXMLString">555-987-6543</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><fx:Object</span><span class="MXMLDefault_Text"> firstName="</span><span class="MXMLString">Christophe</span><span class="MXMLDefault_Text">" lastName="</span><span class="MXMLString">Coenraets</span><span class="MXMLDefault_Text">" phone="</span><span class="MXMLString">555-432-5678</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:ArrayCollection></span>
+ <span class="MXMLComponent_Tag"><mx:FlexNativeMenu</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">cMenu</span><span class="MXMLDefault_Text">" labelField="</span><span class="MXMLString">label</span><span class="MXMLDefault_Text">" itemClick="</span><span class="ActionScriptDefault_Text">handleMenuClick</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">index</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLSpecial_Tag"></fx:Declarations></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">updateMenu</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">index</span>:<span class="ActionScriptDefault_Text">Number</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">lastRollOverIndex</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">index</span>;
+
+ <span class="ActionScriptComment">// only enable the Copy menu item when the user is over a row in the DataGrid
+</span> <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">isNaN</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">lastRollOverIndex</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">menuItems</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">getItemAt</span><span class="ActionScriptBracket/Brace">(</span>0<span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">enabled</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">false</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">else</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">menuItems</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">getItemAt</span><span class="ActionScriptBracket/Brace">(</span>0<span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">enabled</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">true</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptDefault_Text">cMenu</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">dataProvider</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">menuItems</span>;
+ <span class="ActionScriptDefault_Text">dg</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">flexContextMenu</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">cMenu</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">handleMenuClick</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">index</span>:<span class="ActionScriptDefault_Text">int</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">index</span> <span class="ActionScriptOperator">==</span> 0<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptComment">// add the data to the clipboard
+</span> <span class="ActionScriptDefault_Text">Clipboard</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">generalClipboard</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">clear</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">cs</span>:<span class="ActionScriptDefault_Text">String</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">dg</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">dataProvider</span><span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptDefault_Text">lastRollOverIndex</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">firstName</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">"\t"</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">dg</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">dataProvider</span><span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptDefault_Text">lastRollOverIndex<
/span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">lastName</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">"\t"</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">dg</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">dataProvider</span><span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptDefault_Text">lastRollOverIndex</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">phone</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">"\r\n"</span>;
+ <span class="ActionScriptDefault_Text">Clipboard</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">generalClipboard</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">setData</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ClipboardFormats</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">TEXT_FORMAT</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">cs</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">index</span> <span class="ActionScriptOperator">==</span> 1<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptComment">// read the data from the Clipboard
+</span> <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Clipboard</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">generalClipboard</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">hasFormat</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ClipboardFormats</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">TEXT_FORMAT</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">a</span>:<span class="ActionScriptDefault_Text">Array</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">s</span>:<span class="ActionScriptDefault_Text">String</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">String</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Clipboard</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">generalClipboard</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">getData</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ClipboardFormats</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">TEXT_FORMAT</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptComment">// split the Clipboard string into an array
+</span> <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">s</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">indexOf</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"\t"</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptOperator">>=</span> 0<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptDefault_Text">a</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">s</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">split</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"\t"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">s</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">indexOf</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">" "</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptOperator">>=</span> 0<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptDefault_Text">a</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">s</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">split</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">" "</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">else</span>
+ <span class="ActionScriptDefault_Text">a</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptDefault_Text">s</span><span class="ActionScriptBracket/Brace">]</span>;
+
+ <span class="ActionScriptComment">// assign the Array items to a new Object
+</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">o</span>:<span class="ActionScriptDefault_Text">Object</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">Object</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">a</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">length</span> <span class="ActionScriptOperator">></span> 2<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptDefault_Text">o</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">phone</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">a</span><span class="ActionScriptBracket/Brace">[</span>2<span class="ActionScriptBracket/Brace">]</span>;
+
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">a</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">length</span> <span class="ActionScriptOperator">></span> 1<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptDefault_Text">o</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">lastName</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">a</span><span class="ActionScriptBracket/Brace">[</span>1<span class="ActionScriptBracket/Brace">]</span>;
+
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">a</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">length</span> <span class="ActionScriptOperator">></span> 0<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">o</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">firstName</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">a</span><span class="ActionScriptBracket/Brace">[</span>0<span class="ActionScriptBracket/Brace">]</span>;
+
+ <span class="ActionScriptComment">// add the item to the DataGrid
+</span> <span class="ActionScriptDefault_Text">people</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addItem</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">o</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+
+
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" verticalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Right-click for copy/paste menu</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">0xFFFFFF</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><mx:DataGrid</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">dg</span><span class="MXMLDefault_Text">" dataProvider="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">people</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">" itemRollOver="</span><span class="ActionScriptDefault_Text">updateMenu</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">rowIndex</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">" itemRollOut="</span><span class="ActionScriptDefault_Text">updateMenu</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">NaN</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></
span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/DragAndDrop/DragIn.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/DragAndDrop/DragIn.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/DragAndDrop/DragIn.mxml.html
new file mode 100644
index 0000000..77223d0
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/DragAndDrop/DragIn.mxml.html
@@ -0,0 +1,77 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>DragIn.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ backgroundColor="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">" styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">managers</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">DragManager</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">core</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">IUIComponent</span>;
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><mx:nativeDragEnter></span>
+ <span class="ActionScriptComment">// Event handler for when something is dragged over to the WindowedApplication
+</span> <span class="ActionScriptComment">// Only allow files to be dragged in
+</span> <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">clipboard</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">hasFormat</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ClipboardFormats</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">FILE_LIST_FORMAT</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">files</span>:<span class="ActionScriptDefault_Text">Array</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">clipboard</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">getData</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ClipboardFormats</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">FILE_LIST_FORMAT</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptReserved">as</span> <span class="ActionScriptDefault_Text">Array</span>;
+
+ <span class="ActionScriptComment">// only allow a single file to be dragged in
+</span> <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">files</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">length</span> <span class="ActionScriptOperator">==</span> 1<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">DragManager</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">acceptDragDrop</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">currentTarget</span> <span class="ActionScriptReserved">as</span> <span class="ActionScriptDefault_Text">IUIComponent</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">setStyle</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"backgroundColor"</span><span class="ActionScriptOperator">,</span> 0xccccff<span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="MXMLComponent_Tag"></mx:nativeDragEnter></span>
+
+ <span class="MXMLComponent_Tag"><mx:nativeDragExit></span>
+ <span class="ActionScriptComment">// Event handler for when the drag leaves the WindowedApplication
+</span> <span class="ActionScriptDefault_Text">setStyle</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"backgroundColor"</span><span class="ActionScriptOperator">,</span> 0x323232<span class="ActionScriptBracket/Brace">)</span>;
+ <span class="MXMLComponent_Tag"></mx:nativeDragExit></span>
+
+ <span class="MXMLComponent_Tag"><mx:nativeDragDrop></span>
+ <span class="ActionScriptComment">// Event handler for when a dragged item is dropped on the WindowedApplication
+</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">arr</span>:<span class="ActionScriptDefault_Text">Array</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">clipboard</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">getData</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ClipboardFormats</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">FILE_LIST_FORMAT</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptReserved">as</span> <span class="ActionScriptDefault_Text">Array</span>;
+ <span class="ActionScriptDefault_Text">startImage</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">source</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">arr</span><span class="ActionScriptBracket/Brace">[</span>0<span class="ActionScriptBracket/Brace">]</span> <span class="ActionScriptReserved">as</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">url</span>;
+ <span class="MXMLComponent_Tag"></mx:nativeDragDrop></span>
+
+
+ <span class="MXMLComponent_Tag"><mx:ViewStack</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">startVS</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" creationPolicy="</span><span class="MXMLString">all</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:Canvas</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:Text</span><span class="MXMLDefault_Text"> verticalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">white</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:htmlText></span><span class="MXMLDefault_Text"><![CDATA[</span><span class="MXMLDefault_Text"><font size="20"><b>Drag an image here</b></font></span><span class="MXMLDefault_Text">]]></span><span class="MXMLComponent_Tag"></mx:htmlText></span>
+ <span class="MXMLComponent_Tag"></mx:Text></span>
+ <span class="MXMLComponent_Tag"></mx:Canvas></span>
+ <span class="MXMLComponent_Tag"><mx:Canvas</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:Image</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">startImage</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" horizontalAlign="</span><span class="MXMLString">center</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">middle</span><span class="MXMLDefault_Text">" complete="</span><span class="ActionScriptDefault_Text">startVS</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedIndex</span> <span class="ActionScriptOperator">=</span> 1;<span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></mx:Canvas></span>
+ <span class="MXMLComponent_Tag"></mx:ViewStack></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/DragAndDrop/DragOut.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/DragAndDrop/DragOut.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/DragAndDrop/DragOut.mxml.html
new file mode 100644
index 0000000..2d719f8
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/DragAndDrop/DragOut.mxml.html
@@ -0,0 +1,66 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>DragOut.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ backgroundColor="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">" styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Bindable</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">logo</span>:<span class="ActionScriptDefault_Text">File</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"app:/air-logo.jpg"</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Embed</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"air-logo-icon.jpg"</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptBracket/Brace">]</span>
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">logoIconClass</span>:<span class="ActionScriptDefault_Text">Class</span>;
+
+
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> horizontalAlign="</span><span class="MXMLString">center</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Drag the image out of the application</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">white</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+
+ <span class="MXMLComponent_Tag"><mx:Image</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">image</span><span class="MXMLDefault_Text">" source="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">logo</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">url</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">90%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">90%</span><span class="MXMLDefault_Text">" horizontalAlign="</span><span class="MXMLString">center</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">middle</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:mouseDown></span>
+ <span class="ActionScriptComment">// Event handler which begins the drag
+</span>
+ <span class="ActionScriptComment">// Allow the image to be dragged as either a file or a bitmap
+</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">transfer</span>:<span class="ActionScriptDefault_Text">Clipboard</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">Clipboard</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">transfer</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">setData</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ClipboardFormats</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">BITMAP_FORMAT</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">Bitmap</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">image</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">content</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bitmapData</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">transfer</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">setData</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ClipboardFormats</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">FILE_LIST_FORMAT</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">Array</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">logo</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptReserved">false</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptComment">// only allow the file to be copied
+</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">dragOptions</span>:<span class="ActionScriptDefault_Text">NativeDragOptions</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">NativeDragOptions</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">dragOptions</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">allowMove</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">false</span>;
+ <span class="ActionScriptDefault_Text">dragOptions</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">allowCopy</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">true</span>;
+ <span class="ActionScriptDefault_Text">dragOptions</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">allowLink</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">false</span>;
+
+ <span class="ActionScriptComment">// create an icon to display when dragging
+</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">iconBitmapData</span>:<span class="ActionScriptDefault_Text">BitmapData</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">logoIconClass</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptReserved">as</span> <span class="ActionScriptDefault_Text">Bitmap</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bitmapData</span>;
+
+ <span class="ActionScriptComment">// begin the drag
+</span> <span class="ActionScriptDefault_Text">NativeDragManager</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">doDrag</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptReserved">this</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">transfer</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">iconBitmapData</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptReserved">null</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">dragOptions</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="MXMLComponent_Tag"></mx:mouseDown></span>
+ <span class="MXMLComponent_Tag"></mx:Image></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/DragAndDrop/readme.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/DragAndDrop/readme.html b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/DragAndDrop/readme.html
new file mode 100644
index 0000000..f9475e6
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/DragAndDrop/readme.html
@@ -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.
+-->
+Additional information about AIR Drag and Drop:
+<UL>
+<LI><A HREF="http://help.adobe.com/en_US/AIR/1.1/devappsflex/WS5b3ccc516d4fbf351e63e3d118666ade46-7e8a.html">Adobe 1.1 Help on Drag and Drop</A>
+<LI><A HREF="http://www.mikechambers.com/blog/2007/11/07/air-example-native-drag-and-drop/">Mike Chambers' blog post on Drag and Drop</A>
+<LI><A HREF="http://www.jamesward.com/wordpress/2008/06/12/quickfix-google-app-engine-adobe-air-flex/">James Ward's blog post on Google App Engine, Adobe AIR and Flex</A>
+</UL>
\ No newline at end of file
[12/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/sample.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/sample.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/sample.mxml.html
new file mode 100644
index 0000000..388b575
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/sample.mxml.html
@@ -0,0 +1,126 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>sample.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">" creationComplete="</span><span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">controls</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Alert</span>;
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">process</span>:<span class="ActionScriptDefault_Text">NativeProcess</span>;
+
+ <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptOperator">!</span><span class="ActionScriptDefault_Text">NativeProcess</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">isSupported</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptComment">// Note: you could also get this error if you forgot to add the extendedDesktop flag to your app.xml descriptor
+</span> <span class="ActionScriptComment">// this line must be within the <application> tags: <supportedProfiles>extendedDesktop</supportedProfiles>
+</span> <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"NativeProcess is not supported"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">runProcess</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">file</span>:<span class="ActionScriptDefault_Text">File</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">try</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptComment">// Use default paths for ping... modify if your system does not use the default path
+</span> <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Capabilities</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">os</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">toLowerCase</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">indexOf</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"win"</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptOperator">></span> <span class="ActionScriptOperator">-</span>1<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">file</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"c:\windows\system32\ping.exe"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Capabilities</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">os</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">toLowerCase</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">indexOf</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"mac"</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptOperator">></span> <span class="ActionScriptOperator">-</span>1<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">file</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"/sbin/ping"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">file</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptReserved">null</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptDefault_Text">file</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"/bin/ping"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">file</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptReserved">null</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptDefault_Text">file</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"/usr/bin/ping"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Capabilities</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">os</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">toLowerCase</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">indexOf</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"linux"</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptOperator">></span> <span class="ActionScriptOperator">-</span>1<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">file</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"/sbin/ping"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">file</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptReserved">null</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptDefault_Text">file</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"/bin/ping"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">file</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptReserved">null</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptDefault_Text">file</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"/usr/bin/ping"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">nativeProcessStartupInfo</span>:<span class="ActionScriptDefault_Text">NativeProcessStartupInfo</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">NativeProcessStartupInfo</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">nativeProcessStartupInfo</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">executable</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">file</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">args</span>:<span class="ActionScriptDefault_Text">Vector</span><span class="ActionScriptBracket/Brace">.<</span><span class="ActionScriptDefault_Text">String</span><span class="ActionScriptBracket/Brace">></span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">Vector</span><span class="ActionScriptBracket/Brace">.<</span><span class="ActionScriptDefault_Text">String</span><span class="ActionScriptBracket/Brace">></span>;
+ <span class="ActionScriptDefault_Text">args</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">push</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"www.adobe.com"</span><span class="ActionScriptBracket/Brace">)</span>; <span class="ActionScriptComment">// what we're pinging
+</span> <span class="ActionScriptDefault_Text">nativeProcessStartupInfo</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">arguments</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">args</span>;
+ <span class="ActionScriptDefault_Text">process</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">NativeProcess</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">process</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">start</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">nativeProcessStartupInfo</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptDefault_Text">process</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ProgressEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">STANDARD_OUTPUT_DATA</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">stdoutHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">process</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ProgressEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">STANDARD_ERROR_DATA</span><span class="ActionScriptOperator">,</span><span class="ActionScriptDefault_Text">errorHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">catch</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">Error</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">message</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptString">"Error"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">stdoutHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">ProgressEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">process</span>:<span class="ActionScriptDefault_Text">NativeProcess</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">target</span> <span class="ActionScriptReserved">as</span> <span class="ActionScriptDefault_Text">NativeProcess</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptDefault_Text">String</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">process</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">standardOutput</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">readUTFBytes</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">process</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">standardOutput</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bytesAvailable</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">log</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptDefault_Text">data</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">errorHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">ProgressEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">process</span>:<span class="ActionScriptDefault_Text">NativeProcess</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">target</span> <span class="ActionScriptReserved">as</span> <span class="ActionScriptDefault_Text">NativeProcess</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptDefault_Text">String</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">process</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">standardError</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">readUTFBytes</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">process</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">standardError</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bytesAvailable</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">log</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptDefault_Text">data</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:Panel</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" title="</span><span class="MXMLString">NativeProcess Sample</span><span class="MXMLDefault_Text">" skinClass="</span><span class="MXMLString">skins.TDFPanelSkin</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> left="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">" top="</span><span class="MXMLString">7</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">470</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">justify</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">"
+ text="</span><span class="MXMLString">The NativeProcess feature allows you to invoke any executable found on your Operating System. You can provide the necessary
+startup data and arguments for the executable using the NativeProcessStartupInfo class. This sample shows how it can be used to run a native ping
+against www.adobe.com using the default path for ping on your OS.</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> left="</span><span class="MXMLString">100</span><span class="MXMLDefault_Text">" bottom="</span><span class="MXMLString">65</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">300</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Trace:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextArea</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">log</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" editable="</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+
+ <span class="MXMLComponent_Tag"><s:HGroup</span><span class="MXMLDefault_Text"> bottom="</span><span class="MXMLString">30</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Run</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">runProcess</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Stop</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">process</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">exit</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;<span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Clear</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">log</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptOperator">=</span><span class="ActionScriptString">''</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"></s:Panel></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/Sample-AIR2-Microphone/src/com/adobe/audio/format/WAVWriter.as
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/Sample-AIR2-Microphone/src/com/adobe/audio/format/WAVWriter.as b/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/Sample-AIR2-Microphone/src/com/adobe/audio/format/WAVWriter.as
new file mode 100644
index 0000000..62c0802
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/Sample-AIR2-Microphone/src/com/adobe/audio/format/WAVWriter.as
@@ -0,0 +1,257 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+
+package com.adobe.audio.format
+{
+ import flash.utils.ByteArray;
+ import flash.utils.Endian;
+ import flash.utils.IDataOutput;
+
+
+/**
+ * Helper class to write WAV formated audio files. The class
+ * expects audio input data in a byte array with samples represented
+ * as floats.
+ *
+ * <p>The default compressed code is set to PCM. The class
+ * resamples and formats the audio samples according to the
+ * class properties. The resampling geared for performance and
+ * not quality, for best quality use sampling rates that divide/multiple
+ * into the desired output <code>samplingRate</code>.
+ *
+ * For more information about the WAVE file format see:
+ * http://ccrma.stanford.edu/courses/422/projects/WaveFormat/</p>
+ *
+ * TODO Get WAV's for testing
+ *
+ * @langversion ActionScript 3.0
+ * @playerversion Flash 10.0
+ */
+public class WAVWriter
+{
+
+ //-------------------------------------------------------------------
+ // Variables
+ //-------------------------------------------------------------------
+
+ /**
+ * @private
+ * Used for resampling channels where input channels > output channels
+ */
+ private var tempValueSum:Number = 0;
+ /**
+ * @private
+ * Used for resampling channels where input channels > output channels
+ */
+ private var tempValueCount:int = 0;
+
+ //-------------------------------------------------------------------
+ // Properties
+ //-------------------------------------------------------------------
+
+ /**
+ * The sampling rate, in Hz, for the data in the WAV file.
+ *
+ * @default 44100
+ */
+ public var samplingRate:Number = 44100;
+
+ /**
+ * The audio sample bit rate. Has to be set to 8, 16, 24, or 32.
+ *
+ * @default 16
+ */
+ public var sampleBitRate:int = 16; // ie: 16 bit wav file
+
+ /**
+ * The number of audio channels in the WAV file.
+ *
+ * @default 2
+ */
+ public var numOfChannels:int = 2;
+
+ /**
+ * The WAV header compression code value. The default is the PCM
+ * code.
+ *
+ * @default 1
+ */
+ public var compressionCode:int = 1;
+
+ //-------------------------------------------------------------------
+ // Methods
+ //-------------------------------------------------------------------
+
+ /**
+ * @private
+ * Create WAV header bytes
+ */
+ private function header(dataOutput:IDataOutput, fileSize:Number):void
+ {
+ dataOutput.writeUTFBytes("RIFF");
+ dataOutput.writeUnsignedInt(fileSize); // Size of whole file
+ dataOutput.writeUTFBytes("WAVE");
+ // WAVE Chunk
+ dataOutput.writeUTFBytes("fmt "); // Chunk ID
+ dataOutput.writeUnsignedInt(16); // Header Chunk Data Size
+ dataOutput.writeShort(compressionCode); // Compression code - 1 = PCM
+ dataOutput.writeShort(numOfChannels); // Number of channels
+ dataOutput.writeUnsignedInt(samplingRate); // Sample rate
+ dataOutput.writeUnsignedInt(samplingRate * numOfChannels * sampleBitRate / 8); // Byte Rate == SampleRate * NumChannels * BitsPerSample/8
+ dataOutput.writeShort(numOfChannels * sampleBitRate / 8); // Block align == NumChannels * BitsPerSample/8
+ dataOutput.writeShort(sampleBitRate); // Bits Per Sample
+ }
+
+ /**
+ * Resample the <code>dataInput</code> audio data into the WAV format.
+ * Writing the output to the <code>dataOutput</code> object.
+ *
+ * <p>The <code>dataOutput.endian</code> will be set to <code>Endian.LITTLE_ENDIAN</code>
+ * with the header and data written out on the data stream. The <code>dataInput</code>
+ * will set the position = 0 and read all bytes in the <code>ByteArray</code> as samples.
+ *
+ *
+ * </p>
+ *
+ * @param dataOutput The IDataOutput object that you want the WAV formated bytes to be written to.
+ * @param dataInput The audio sample data in float format.
+ * @param inputSamplingRate The sampling rate of the <code>dataInput</code> data.
+ * @param inputNumChannels The number of audio changes in <code>dataInput</code> data.
+ *
+ */
+ public function processSamples(dataOutput:IDataOutput, dataInput:ByteArray, inputSamplingRate:int, inputNumChannels:int = 1):void
+ {
+ if (!dataInput || dataInput.bytesAvailable <= 0) // Return if null
+ throw new Error("No audio data");
+
+
+ // 16 bit values are between -32768 to 32767.
+ var bitResolution:Number = (Math.pow(2, sampleBitRate)/2)-1;
+ var soundRate:Number = samplingRate / inputSamplingRate;
+ var dataByteLength:int = ((dataInput.length/4) * soundRate * sampleBitRate/8);
+ // data.length is in 4 bytes per float, where we want samples * sampleBitRate/8 for bytes
+ var fileSize:int = 32 + 8 + dataByteLength;
+ // WAV format requires little-endian
+ dataOutput.endian = Endian.LITTLE_ENDIAN;
+ // RIFF WAVE Header Information
+ header(dataOutput, fileSize);
+ // Data Chunk Header
+ dataOutput.writeUTFBytes("data");
+ dataOutput.writeUnsignedInt(dataByteLength); // Size of whole file
+
+ // Write data to file
+ dataInput.position = 0;
+ var tempData:ByteArray = new ByteArray();
+ tempData.endian = Endian.LITTLE_ENDIAN;
+
+
+
+ // Write to file in chunks of converted data.
+ while (dataInput.bytesAvailable > 0)
+ {
+ tempData.clear();
+ // Resampling logic variables
+ var minSamples:int = Math.min(dataInput.bytesAvailable/4, 8192);
+ var readSampleLength:int = minSamples;//Math.floor(minSamples/soundRate);
+ var resampleFrequency:int = 100; // Every X frames drop or add frames
+ var resampleFrequencyCheck:int = (soundRate-Math.floor(soundRate))*resampleFrequency;
+ var soundRateCeil:int = Math.ceil(soundRate);
+ var soundRateFloor:int = Math.floor(soundRate);
+ var jlen:int = 0;
+ var channelCount:int = (numOfChannels-inputNumChannels);
+ /*
+ trace("resampleFrequency: " + resampleFrequency + " resampleFrequencyCheck: " + resampleFrequencyCheck
+ + " soundRateCeil: " + soundRateCeil + " soundRateFloor: " + soundRateFloor);
+ */
+ var value:Number = 0;
+ // Assumes data is in samples of float value
+ for (var i:int = 0;i < readSampleLength;i+=4)
+ {
+ value = dataInput.readFloat();
+ // Check for sanity of float value
+ if (value > 1 || value < -1)
+ throw new Error("Audio samples not in float format");
+
+ // Special case with 8bit WAV files
+ if (sampleBitRate == 8)
+ value = (bitResolution * value) + bitResolution;
+ else
+ value = bitResolution * value;
+
+ // Resampling Logic for non-integer sampling rate conversions
+ jlen = (resampleFrequencyCheck > 0 && i % resampleFrequency < resampleFrequencyCheck) ? soundRateCeil : soundRateFloor;
+ for (var j:int = 0; j < jlen; j++)
+ {
+ writeCorrectBits(tempData, value, channelCount);
+ }
+ }
+ dataOutput.writeBytes(tempData);
+ }
+ }
+
+ /**
+ * @private
+ * Change the audio sample to the write resolution
+ */
+ private function writeCorrectBits(outputData:ByteArray, value:Number, channels:int):void
+ {
+ // Handle case where input channels > output channels. Sum values and divide values
+ if (channels < 0)
+ {
+ if (tempValueCount+channels == 1)
+ {
+ value = int(tempValueSum/tempValueCount);
+ tempValueSum = 0;
+ tempValueCount = 0;
+ channels = 1;
+ }
+ else
+ {
+ tempValueSum += value;
+ tempValueCount++;
+ return;
+ }
+ }
+ else
+ {
+ channels++;
+ }
+ // Now write data according to channels
+ for (var i:int = 0;i < channels; i++)
+ {
+ if (sampleBitRate == 8)
+ outputData.writeByte(value);
+ else if (sampleBitRate == 16)
+ outputData.writeShort(value);
+ else if (sampleBitRate == 24)
+ {
+ outputData.writeByte(value & 0xFF);
+ outputData.writeByte(value >>> 8 & 0xFF);
+ outputData.writeByte(value >>> 16 & 0xFF);
+ }
+ else if (sampleBitRate == 32)
+ outputData.writeInt(value);
+ else
+ throw new Error("Sample bit rate not supported");
+ }
+ }
+
+}
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/Sample-AIR2-Microphone/src/sample-app.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/Sample-AIR2-Microphone/src/sample-app.xml b/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/Sample-AIR2-Microphone/src/sample-app.xml
new file mode 100755
index 0000000..21dad49
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/Sample-AIR2-Microphone/src/sample-app.xml
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>main</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>main</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>main</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/Sample-AIR2-Microphone/src/sample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/Sample-AIR2-Microphone/src/sample.mxml b/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/Sample-AIR2-Microphone/src/sample.mxml
new file mode 100644
index 0000000..1ef7be3
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/Sample-AIR2-Microphone/src/sample.mxml
@@ -0,0 +1,198 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:s="library://ns.adobe.com/flex/spark"
+ xmlns:mx="library://ns.adobe.com/flex/mx"
+ creationComplete="init()" styleName="plain" width="100%" height="100%">
+
+ <!-- LINK TO ARTICLE: http://www.adobe.com/devnet/air/flex/articles/using_mic_api.html -->
+ <fx:Script>
+ <![CDATA[
+ import com.adobe.audio.format.WAVWriter;
+
+ import flash.events.SampleDataEvent;
+ import flash.media.Microphone;
+ import flash.media.Sound;
+ import flash.utils.ByteArray;
+
+ import mx.collections.ArrayCollection;
+
+ [Bindable]
+ private var microphoneList:ArrayCollection;
+ protected var microphone:Microphone;
+
+ [Bindable]
+ protected var isRecording:Boolean = false;
+
+ [Bindable]
+ protected var isPlaying:Boolean = false;
+
+ [Bindable]
+ protected var soundData:ByteArray;
+ protected var sound:Sound;
+ protected var channel:SoundChannel;
+
+ protected function init():void
+ {
+ microphoneList = new ArrayCollection(Microphone.names);
+ cbMicChoices.selectedIndex=0;
+ }
+
+ protected function startRecording():void
+ {
+ isRecording = true;
+ microphone = Microphone.getMicrophone(cbMicChoices.selectedIndex);
+ microphone.rate = 44;
+ microphone.gain = 100;
+ soundData = new ByteArray();
+ trace("Recording");
+ microphone.addEventListener(SampleDataEvent.SAMPLE_DATA, onSampleDataReceived);
+
+ }
+
+ protected function stopRecording():void
+ {
+ isRecording = false;
+ trace("Stopped recording");
+ microphone.removeEventListener(SampleDataEvent.SAMPLE_DATA, onSampleDataReceived);
+ }
+
+ private function onSampleDataReceived(event:SampleDataEvent):void
+ {
+ while(event.data.bytesAvailable)
+ {
+ var sample:Number = event.data.readFloat();
+ soundData.writeFloat(sample);
+ }
+ }
+
+ protected function soundCompleteHandler(event:Event):void
+ {
+ isPlaying = false;
+ }
+
+ protected function startPlaying():void
+ {
+ isPlaying = true
+ soundData.position = 0;
+ sound = new Sound();
+ sound.addEventListener(SampleDataEvent.SAMPLE_DATA, sound_sampleDataHandler);
+ channel = sound.play();
+ channel.addEventListener(Event.SOUND_COMPLETE, soundCompleteHandler);
+ }
+
+ protected function sound_sampleDataHandler(event:SampleDataEvent):void
+ {
+ if (!soundData.bytesAvailable > 0)
+ {
+ return;
+ }
+
+ for (var i:int = 0; i < 8192; i++)
+ {
+ var sample:Number = 0;
+
+ if (soundData.bytesAvailable > 0)
+ {
+ sample = soundData.readFloat();
+ }
+ event.data.writeFloat(sample);
+ event.data.writeFloat(sample);
+ }
+
+ }
+
+ protected function stopPlaying():void
+ {
+ channel.stop();
+ isPlaying = false;
+ }
+ protected function save():void
+ {
+ var docsDir:File = File.documentsDirectory;
+ try
+ {
+ docsDir.browseForSave("Save As");
+ docsDir.addEventListener(Event.SELECT, saveFile);
+ }
+ catch (error:Error)
+ {
+ trace("Save failed:", error.message);
+ }
+
+
+ }
+ protected function saveFile(event:Event):void
+ {
+ var outputStream:FileStream = new FileStream();
+ var wavWriter:WAVWriter = new WAVWriter();
+ var newFile:File = event.target as File;
+
+ if (!newFile.exists)
+ {
+ soundData.position = 0; // rewind to the beginning of the sample
+
+ wavWriter.numOfChannels = 1; // set the inital properties of the Wave Writer
+ wavWriter.sampleBitRate = 16;
+ wavWriter.samplingRate = 44100;
+ outputStream.open(newFile, FileMode.WRITE); //write out our file to disk.
+ wavWriter.processSamples(outputStream, soundData, 44100, 1); // convert our ByteArray to a WAV file.
+ outputStream.close();
+ }
+ }
+
+ protected function toggleRecording():void
+ {
+ if (isRecording)
+ {
+ isRecording = false;
+ btnRecord.label = "Record";
+ stopRecording();
+ }
+ else
+ {
+ isRecording = true;
+ btnRecord.label = "Stop Recording";
+ startRecording();
+ }
+ }
+
+ ]]>
+ </fx:Script>
+
+ <s:Panel skinClass="skins.TDFPanelSkin" width="100%" height="100%" title="Microphone Support">
+ <s:Label left="10" top="7" width="80%" verticalAlign="justify" color="#323232"
+ text="The new Microphone support allows you to record audio such as voice memo's using a built-in or external mic. The Microphone.names
+property will return the list of all available sound input devices found (see init method in code):"/>
+ <s:VGroup top="70" horizontalAlign="center" horizontalCenter="0">
+ <s:Label text="Select the microphone input device to use:"/>
+ <s:ComboBox id="cbMicChoices" dataProvider="{microphoneList}" selectedIndex="0"/>
+ </s:VGroup>
+ <s:VGroup top="130" horizontalCenter="0">
+ <s:Label text="Start recording audio by clicking the Record button:"/>
+ <s:HGroup horizontalCenter="0" verticalAlign="middle">
+ <s:Button id="btnRecord" label="Record" click="toggleRecording()" enabled="{!isPlaying}"/>
+ <s:Button id="btnPlay" label="Play" click="startPlaying()" enabled="{!isRecording}"/>
+ <s:Button label="Save Audio Clip" click="save()" horizontalCenter="0"/>
+ </s:HGroup>
+ </s:VGroup>
+ </s:Panel>
+
+</mx:Module>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/Sample-AIR2-Microphone/src/skins/TDFPanelSkin.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/Sample-AIR2-Microphone/src/skins/TDFPanelSkin.mxml b/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/Sample-AIR2-Microphone/src/skins/TDFPanelSkin.mxml
new file mode 100644
index 0000000..ff46524
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/Sample-AIR2-Microphone/src/skins/TDFPanelSkin.mxml
@@ -0,0 +1,130 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+
+
+<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+ alpha.disabled="0.5" minWidth="131" minHeight="127">
+
+ <fx:Metadata>
+ [HostComponent("spark.components.Panel")]
+ </fx:Metadata>
+
+ <s:states>
+ <s:State name="normal" />
+ <s:State name="disabled" />
+ <s:State name="normalWithControlBar" />
+ <s:State name="disabledWithControlBar" />
+ </s:states>
+
+ <!-- drop shadow -->
+ <s:Rect left="0" top="0" right="0" bottom="0">
+ <s:filters>
+ <s:DropShadowFilter blurX="15" blurY="15" alpha="0.18" distance="11" angle="90" knockout="true" />
+ </s:filters>
+ <s:fill>
+ <s:SolidColor color="0" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 1: border -->
+ <s:Rect left="0" right="0" top="0" bottom="0">
+ <s:stroke>
+ <s:SolidColorStroke color="0" alpha="0.50" weight="1" />
+ </s:stroke>
+ </s:Rect>
+
+ <!-- layer 2: background fill -->
+ <s:Rect left="0" right="0" bottom="0" height="15">
+ <s:fill>
+ <s:LinearGradient rotation="90">
+ <s:GradientEntry color="0xE2E2E2" />
+ <s:GradientEntry color="0x000000" />
+ </s:LinearGradient>
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 3: contents -->
+ <s:Group left="1" right="1" top="1" bottom="1" >
+ <s:layout>
+ <s:VerticalLayout gap="0" horizontalAlign="justify" />
+ </s:layout>
+
+ <s:Group id="topGroup" >
+ <!-- layer 0: title bar fill -->
+ <!-- Note: We have custom skinned the title bar to be solid black for Tour de Flex -->
+ <s:Rect id="tbFill" left="0" right="0" top="0" bottom="1" >
+ <s:fill>
+ <s:SolidColor color="0x000000" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 1: title bar highlight -->
+ <s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0" >
+ <s:stroke>
+ <s:LinearGradientStroke rotation="90" weight="1">
+ <s:GradientEntry color="0xEAEAEA" />
+ <s:GradientEntry color="0xD9D9D9" />
+ </s:LinearGradientStroke>
+ </s:stroke>
+ </s:Rect>
+
+ <!-- layer 2: title bar divider -->
+ <s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0">
+ <s:fill>
+ <s:SolidColor color="0xC0C0C0" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 3: text -->
+ <s:Label id="titleDisplay" maxDisplayedLines="1"
+ left="9" right="3" top="1" minHeight="30"
+ verticalAlign="middle" fontWeight="bold" color="#E2E2E2">
+ </s:Label>
+
+ </s:Group>
+
+ <s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0">
+ </s:Group>
+
+ <s:Group id="bottomGroup" minWidth="0" minHeight="0"
+ includeIn="normalWithControlBar, disabledWithControlBar" >
+ <!-- layer 0: control bar background -->
+ <s:Rect left="0" right="0" bottom="0" top="1" >
+ <s:fill>
+ <s:SolidColor color="0xE2EdF7" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 1: control bar divider line -->
+ <s:Rect left="0" right="0" top="0" height="1" >
+ <s:fill>
+ <s:SolidColor color="0xD1E0F2" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 2: control bar -->
+ <s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0">
+ <s:layout>
+ <s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" />
+ </s:layout>
+ </s:Group>
+ </s:Group>
+ </s:Group>
+</s:Skin>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/SourceIndex.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/SourceIndex.xml b/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/SourceIndex.xml
new file mode 100644
index 0000000..9350f7b
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/SourceIndex.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ 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.
+
+-->
+<index>
+ <title>Source of Sample-AIR2-Microphone</title>
+ <nodes>
+ <node label="libs">
+ </node>
+ <node label="src">
+ <node icon="packageIcon" label="com.adobe.audio.format" expanded="true">
+ <node icon="actionScriptIcon" label="WAVWriter.as" url="source/com/adobe/audio/format/WAVWriter.as.html"/>
+ </node>
+ <node icon="packageIcon" label="skins" expanded="true">
+ <node icon="mxmlIcon" label="TDFPanelSkin.mxml" url="source/skins/TDFPanelSkin.mxml.html"/>
+ </node>
+ <node label="sample-app.xml" url="source/sample-app.xml.txt"/>
+ <node icon="mxmlAppIcon" selected="true" label="sample.mxml" url="source/sample.mxml.html"/>
+ </node>
+ </nodes>
+ <zipfile label="Download source (ZIP, 12K)" url="Sample-AIR2-Microphone.zip">
+ </zipfile>
+ <sdklink label="Download Flex SDK" url="http://www.adobe.com/go/flex4_sdk_download">
+ </sdklink>
+</index>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/SourceStyles.css
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/SourceStyles.css b/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/SourceStyles.css
new file mode 100644
index 0000000..a8b5614
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/SourceStyles.css
@@ -0,0 +1,155 @@
+/*
+ * 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.
+ */
+body {
+ font-family: Courier New, Courier, monospace;
+ font-size: medium;
+}
+
+.CSS@font-face {
+ color: #990000;
+ font-weight: bold;
+}
+
+.CSS@import {
+ color: #006666;
+ font-weight: bold;
+}
+
+.CSS@media {
+ color: #663333;
+ font-weight: bold;
+}
+
+.CSS@namespace {
+ color: #923196;
+}
+
+.CSSComment {
+ color: #999999;
+}
+
+.CSSDefault_Text {
+}
+
+.CSSDelimiters {
+}
+
+.CSSProperty_Name {
+ color: #330099;
+}
+
+.CSSProperty_Value {
+ color: #3333cc;
+}
+
+.CSSSelector {
+ color: #ff00ff;
+}
+
+.CSSString {
+ color: #990000;
+}
+
+.ActionScriptASDoc {
+ color: #3f5fbf;
+}
+
+.ActionScriptBracket/Brace {
+}
+
+.ActionScriptComment {
+ color: #009900;
+ font-style: italic;
+}
+
+.ActionScriptDefault_Text {
+}
+
+.ActionScriptMetadata {
+ color: #0033ff;
+ font-weight: bold;
+}
+
+.ActionScriptOperator {
+}
+
+.ActionScriptReserved {
+ color: #0033ff;
+ font-weight: bold;
+}
+
+.ActionScriptString {
+ color: #990000;
+ font-weight: bold;
+}
+
+.ActionScriptclass {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScriptfunction {
+ color: #339966;
+ font-weight: bold;
+}
+
+.ActionScriptinterface {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScriptpackage {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScripttrace {
+ color: #cc6666;
+ font-weight: bold;
+}
+
+.ActionScriptvar {
+ color: #6699cc;
+ font-weight: bold;
+}
+
+.MXMLASDoc {
+ color: #3f5fbf;
+}
+
+.MXMLComment {
+ color: #800000;
+}
+
+.MXMLComponent_Tag {
+ color: #0000ff;
+}
+
+.MXMLDefault_Text {
+}
+
+.MXMLProcessing_Instruction {
+}
+
+.MXMLSpecial_Tag {
+ color: #006633;
+}
+
+.MXMLString {
+ color: #990000;
+}
+
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/SourceTree.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/SourceTree.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/SourceTree.html
new file mode 100644
index 0000000..80281a9
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/SourceTree.html
@@ -0,0 +1,129 @@
+<!--
+ 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.
+-->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!-- saved from url=(0014)about:internet -->
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
+ <!--
+ Smart developers always View Source.
+
+ This application was built using Adobe Flex, an open source framework
+ for building rich Internet applications that get delivered via the
+ Flash Player or to desktops via Adobe AIR.
+
+ Learn more about Flex at http://flex.org
+ // -->
+ <head>
+ <title></title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <!-- Include CSS to eliminate any default margins/padding and set the height of the html element and
+ the body element to 100%, because Firefox, or any Gecko based browser, interprets percentage as
+ the percentage of the height of its parent container, which has to be set explicitly. Initially,
+ don't display flashContent div so it won't show if JavaScript disabled.
+ -->
+ <style type="text/css" media="screen">
+ html, body { height:100%; }
+ body { margin:0; padding:0; overflow:auto; text-align:center;
+ background-color: #ffffff; }
+ #flashContent { display:none; }
+ </style>
+
+ <!-- Enable Browser History by replacing useBrowserHistory tokens with two hyphens -->
+ <!-- BEGIN Browser History required section >
+ <link rel="stylesheet" type="text/css" href="history/history.css" />
+ <script type="text/javascript" src="history/history.js"></script>
+ <! END Browser History required section -->
+
+ <script type="text/javascript" src="swfobject.js"></script>
+ <script type="text/javascript">
+ function loadIntoMain(url) {
+ parent.mainFrame.location.href = url;
+ }
+
+ function openUrlWindow(url) {
+ window.top.location = url;
+ }
+
+ <!-- For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection. -->
+ var swfVersionStr = "10.0.0";
+ <!-- To use express install, set to playerProductInstall.swf, otherwise the empty string. -->
+ var xiSwfUrlStr = "playerProductInstall.swf";
+ var flashvars = {};
+ var params = {};
+ params.quality = "high";
+ params.bgcolor = "#ffffff";
+ params.allowscriptaccess = "sameDomain";
+ params.allowfullscreen = "true";
+ var attributes = {};
+ attributes.id = "SourceTree";
+ attributes.name = "SourceTree";
+ attributes.align = "middle";
+ swfobject.embedSWF(
+ "SourceTree.swf", "flashContent",
+ "100%", "100%",
+ swfVersionStr, xiSwfUrlStr,
+ flashvars, params, attributes);
+ <!-- JavaScript enabled so display the flashContent div in case it is not replaced with a swf object. -->
+ swfobject.createCSS("#flashContent", "display:block;text-align:left;");
+ </script>
+ </head>
+ <body>
+ <!-- SWFObject's dynamic embed method replaces this alternative HTML content with Flash content when enough
+ JavaScript and Flash plug-in support is available. The div is initially hidden so that it doesn't show
+ when JavaScript is disabled.
+ -->
+ <div id="flashContent">
+ <p>
+ To view this page ensure that Adobe Flash Player version
+ 10.0.0 or greater is installed.
+ </p>
+ <script type="text/javascript">
+ var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://");
+ document.write("<a href='http://www.adobe.com/go/getflashplayer'><img src='"
+ + pageHost + "www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' /></a>" );
+ </script>
+ </div>
+
+ <noscript>
+ <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%" id="SourceTree">
+ <param name="movie" value="SourceTree.swf" />
+ <param name="quality" value="high" />
+ <param name="bgcolor" value="#ffffff" />
+ <param name="allowScriptAccess" value="sameDomain" />
+ <param name="allowFullScreen" value="true" />
+ <!--[if !IE]>-->
+ <object type="application/x-shockwave-flash" data="SourceTree.swf" width="100%" height="100%">
+ <param name="quality" value="high" />
+ <param name="bgcolor" value="#ffffff" />
+ <param name="allowScriptAccess" value="sameDomain" />
+ <param name="allowFullScreen" value="true" />
+ <!--<![endif]-->
+ <!--[if gte IE 6]>-->
+ <p>
+ Either scripts and active content are not permitted to run or Adobe Flash Player version
+ 10.0.0 or greater is not installed.
+ </p>
+ <!--<![endif]-->
+ <a href="http://www.adobe.com/go/getflashplayer">
+ <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash Player" />
+ </a>
+ <!--[if !IE]>-->
+ </object>
+ <!--<![endif]-->
+ </object>
+ </noscript>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/index.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/index.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/index.html
new file mode 100644
index 0000000..16f4ebb
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/index.html
@@ -0,0 +1,32 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Source of Sample-AIR2-Microphone</title>
+</head>
+<frameset cols="235,*" border="2" framespacing="1">
+ <frame src="SourceTree.html" name="leftFrame" scrolling="NO">
+ <frame src="source/sample.mxml.html" name="mainFrame">
+</frameset>
+<noframes>
+ <body>
+ </body>
+</noframes>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/source/com/adobe/audio/format/WAVWriter.as.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/source/com/adobe/audio/format/WAVWriter.as.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/source/com/adobe/audio/format/WAVWriter.as.html
new file mode 100644
index 0000000..9af6e87
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/source/com/adobe/audio/format/WAVWriter.as.html
@@ -0,0 +1,16 @@
+<!--
+ 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.
+-->
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/source/sample-app.xml.txt
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/source/sample-app.xml.txt b/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/source/sample-app.xml.txt
new file mode 100644
index 0000000..21dad49
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/srcview/source/sample-app.xml.txt
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>main</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>main</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>main</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
[15/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/source/sample.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/source/sample.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/source/sample.mxml.html
new file mode 100644
index 0000000..eb70d50
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/source/sample.mxml.html
@@ -0,0 +1,108 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>sample.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" creationComplete="</span><span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">StorageVolumeChangeEvent</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">controls</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Alert</span>;
+
+ <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Bindable</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">rootDir</span>:<span class="ActionScriptDefault_Text">File</span>;
+
+ <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Bindable</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">path</span>:<span class="ActionScriptDefault_Text">String</span>;
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">StorageVolumeInfo</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">isSupported</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">StorageVolumeInfo</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">storageVolumeInfo</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">StorageVolumeChangeEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">STORAGE_VOLUME_MOUNT</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">onVolumeMount</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">StorageVolumeInfo</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">storageVolumeInfo</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">StorageVolumeChangeEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">STORAGE_VOLUME_UNMOUNT</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">onVolumeUnmount</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"AIR 2 storage detection is not supported."</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">onVolumeMount</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">StorageVolumeChangeEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">this</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">deviceName</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">storageVolume</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">name</span>;
+ <span class="ActionScriptReserved">this</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">fileSystemType</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">storageVolume</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">fileSystemType</span>;
+ <span class="ActionScriptReserved">this</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">isRemovable</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selected</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">storageVolume</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">isRemovable</span>;
+ <span class="ActionScriptReserved">this</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">isWritable</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selected</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">storageVolume</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">isWritable</span>;
+ <span class="ActionScriptDefault_Text">rootDir</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">storageVolume</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">rootDirectory</span>;
+ <span class="ActionScriptDefault_Text">path</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">rootDir</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">nativePath</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">onVolumeUnmount</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">StorageVolumeChangeEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Storage Volume unmount."</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">fileGridHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">MouseEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">fsg</span>:<span class="ActionScriptDefault_Text">FileSystemDataGrid</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">currentTarget</span> <span class="ActionScriptReserved">as</span> <span class="ActionScriptDefault_Text">FileSystemDataGrid</span>;
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">fsg</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedItem</span> <span class="ActionScriptOperator">!=</span> <span class="ActionScriptReserved">null</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">fsg</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedItem</span> <span class="ActionScriptReserved">as</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">openWithDefaultApplication</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:Panel</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">"
+ title="</span><span class="MXMLString">Mass Storage Device Detection Sample</span><span class="MXMLDefault_Text">" skinClass="</span><span class="MXMLString">skins.TDFPanelSkin</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLComponent_Tag"><s:layout></span>
+ <span class="MXMLComponent_Tag"><s:VerticalLayout</span><span class="MXMLDefault_Text"> paddingLeft="</span><span class="MXMLString">7</span><span class="MXMLDefault_Text">" paddingTop="</span><span class="MXMLString">7</span><span class="MXMLDefault_Text">" paddingBottom="</span><span class="MXMLString">7</span><span class="MXMLDefault_Text">" paddingRight="</span><span class="MXMLString">7</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:layout></span>
+
+ <span class="MXMLComponent_Tag"><s:HGroup</span><span class="MXMLDefault_Text"> verticalAlign="</span><span class="MXMLString">middle</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Storage Volume Info</span><span class="MXMLDefault_Text">" fontSize="</span><span class="MXMLString">14</span><span class="MXMLDefault_Text">" fontWeight="</span><span class="MXMLString">bold</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><mx:Spacer</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">70</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Plug in a storage device to detect general information and contents of the device.</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"><s:HGroup</span><span class="MXMLDefault_Text"> verticalAlign="</span><span class="MXMLString">middle</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Name:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">deviceName</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">0x336699</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">File System Type:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">fileSystemType</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">0x336699</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Contents of {</span><span class="ActionScriptDefault_Text">path</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">" fontWeight="</span><span class="MXMLString">bold</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+
+ <span class="MXMLComponent_Tag"><mx:FileSystemDataGrid</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">fileGrid</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">660</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100</span><span class="MXMLDefault_Text">" directory="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">rootDir</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">"
+ doubleClickEnabled="</span><span class="MXMLString">true</span><span class="MXMLDefault_Text">" doubleClick="</span><span class="ActionScriptDefault_Text">fileGridHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"></mx:FileSystemDataGrid></span>
+ <span class="MXMLComponent_Tag"><s:HGroup</span><span class="MXMLDefault_Text"> right="</span><span class="MXMLString">20</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:Button</span><span class="MXMLDefault_Text"> icon="</span><span class="MXMLString">@Embed(source='up.png')</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">fileGrid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">navigateUp</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;<span class="MXMLDefault_Text">"
+ enabled="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">fileGrid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">canNavigateUp</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><mx:Spacer</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">330</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:CheckBox</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">isRemovable</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">Removable Device?</span><span class="MXMLDefault_Text">" enabled="</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:CheckBox</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">isWritable</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">Writable Device?</span><span class="MXMLDefault_Text">" enabled="</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"></s:Panel></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/source/skins/TDFPanelSkin.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/source/skins/TDFPanelSkin.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/source/skins/TDFPanelSkin.mxml.html
new file mode 100644
index 0000000..df79d11
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/source/skins/TDFPanelSkin.mxml.html
@@ -0,0 +1,147 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta http-equiv="Content-Style-Type" content="text/css">
+ <title>TDFPanelSkin.mxml</title>
+ <meta name="Generator" content="Cocoa HTML Writer">
+ <meta name="CocoaVersion" content="1187.4">
+ <style type="text/css">
+ p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier}
+ p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; color: #941100}
+ p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; min-height: 15.0px}
+ p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px}
+ </style>
+</head>
+<body>
+<p class="p1"><?xml version="1.0" encoding="utf-8"?></p>
+<p class="p2"><!--</p>
+<p class="p3"><br></p>
+<p class="p2">Licensed to the Apache Software Foundation (ASF) under one or more</p>
+<p class="p2">contributor license agreements.<span class="Apple-converted-space"> </span>See the NOTICE file distributed with</p>
+<p class="p2">this work for additional information regarding copyright ownership.</p>
+<p class="p2">The ASF licenses this file to You under the Apache License, Version 2.0</p>
+<p class="p2">(the "License"); you may not use this file except in compliance with</p>
+<p class="p2">the License.<span class="Apple-converted-space"> </span>You may obtain a copy of the License at</p>
+<p class="p3"><br></p>
+<p class="p2">http://www.apache.org/licenses/LICENSE-2.0</p>
+<p class="p3"><br></p>
+<p class="p2">Unless required by applicable law or agreed to in writing, software</p>
+<p class="p2">distributed under the License is distributed on an "AS IS" BASIS,</p>
+<p class="p2">WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</p>
+<p class="p2">See the License for the specific language governing permissions and</p>
+<p class="p2">limitations under the License.</p>
+<p class="p3"><br></p>
+<p class="p2">--></p>
+<p class="p4"><br></p>
+<p class="p1"><s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"<span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span>alpha.disabled="0.5" minWidth="131" minHeight="127"></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><fx:Metadata></p>
+<p class="p1"><span class="Apple-converted-space"> </span>[HostComponent("spark.components.Panel")]</p>
+<p class="p1"><span class="Apple-converted-space"> </span></fx:Metadata><span class="Apple-converted-space"> </span></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:states></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normal" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabled" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normalWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabledWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:states></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- drop shadow --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" top="0" right="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:DropShadowFilter blurX="15" blurY="15" alpha="0.18" distance="11" angle="90" knockout="true" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: border --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColorStroke color="0" alpha="0.50" weight="1" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: background fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" height="15"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradient rotation="90"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xE2E2E2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradient></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: contents --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group left="1" right="1" top="1" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:VerticalLayout gap="0" horizontalAlign="justify" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="topGroup" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: title bar fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- Note: We have custom skinned the title bar to be solid black for Tour de Flex --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbFill" left="0" right="0" top="0" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: title bar highlight --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradientStroke rotation="90" weight="1"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xEAEAEA" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xD9D9D9" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradientStroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: title bar divider --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xC0C0C0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: text --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Label id="titleDisplay" maxDisplayedLines="1"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>left="9" right="3" top="1" minHeight="30"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>verticalAlign="middle" fontWeight="bold" color="#E2E2E2"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Label></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="bottomGroup" minWidth="0" minHeight="0"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>includeIn="normalWithControlBar, disabledWithControlBar" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: control bar background --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" top="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xE2EdF7" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: control bar divider line --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" height="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xD1E0F2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: control bar --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"></s:Skin></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/source/up.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/source/up.png b/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/source/up.png
new file mode 100644
index 0000000..4bf79b0
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/source/up.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/source/up.png.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/source/up.png.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/source/up.png.html
new file mode 100644
index 0000000..bc5ccd9
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/source/up.png.html
@@ -0,0 +1,28 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
+<title>up.png</title>
+</head>
+
+<body>
+<img src="up.png" border="0"/>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/source/com/adobe/audio/format/WAVWriter.as.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/source/com/adobe/audio/format/WAVWriter.as.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/source/com/adobe/audio/format/WAVWriter.as.html
new file mode 100644
index 0000000..9af6e87
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/source/com/adobe/audio/format/WAVWriter.as.html
@@ -0,0 +1,16 @@
+<!--
+ 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.
+-->
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/source/sample-app.xml.txt
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/source/sample-app.xml.txt b/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/source/sample-app.xml.txt
new file mode 100755
index 0000000..21dad49
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/source/sample-app.xml.txt
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>main</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>main</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>main</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/source/sample.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/source/sample.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/source/sample.mxml.html
new file mode 100644
index 0000000..82660fe
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/source/sample.mxml.html
@@ -0,0 +1,202 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>sample.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><mx:Module</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ creationComplete="</span><span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">" </span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLComment"><!--</span><span class="MXMLComment"> LINK TO ARTICLE: http://www.adobe.com/devnet/air/flex/articles/using_mic_api.html </span><span class="MXMLComment">--></span>
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">com</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">adobe</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">audio</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">format</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">WAVWriter</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SampleDataEvent</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">media</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Microphone</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">media</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Sound</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">utils</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ByteArray</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">collections</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ArrayCollection</span>;
+
+ <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Bindable</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">microphoneList</span>:<span class="ActionScriptDefault_Text">ArrayCollection</span>;
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">microphone</span>:<span class="ActionScriptDefault_Text">Microphone</span>;
+
+ <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Bindable</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptReserved">protected</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">isRecording</span>:<span class="ActionScriptDefault_Text">Boolean</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">false</span>;
+
+ <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Bindable</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptReserved">protected</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">isPlaying</span>:<span class="ActionScriptDefault_Text">Boolean</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">false</span>;
+
+ <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Bindable</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptReserved">protected</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">soundData</span>:<span class="ActionScriptDefault_Text">ByteArray</span>;
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">sound</span>:<span class="ActionScriptDefault_Text">Sound</span>;
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">channel</span>:<span class="ActionScriptDefault_Text">SoundChannel</span>;
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">microphoneList</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">ArrayCollection</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Microphone</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">names</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">cbMicChoices</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedIndex</span><span class="ActionScriptOperator">=</span>0;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">startRecording</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">isRecording</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">true</span>;
+ <span class="ActionScriptDefault_Text">microphone</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">Microphone</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">getMicrophone</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">cbMicChoices</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedIndex</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">microphone</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">rate</span> <span class="ActionScriptOperator">=</span> 44;
+ <span class="ActionScriptDefault_Text">microphone</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">gain</span> <span class="ActionScriptOperator">=</span> 100;
+ <span class="ActionScriptDefault_Text">soundData</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">ByteArray</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Recording"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">microphone</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">SampleDataEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SAMPLE_DATA</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">onSampleDataReceived</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">stopRecording</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">isRecording</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">false</span>;
+ <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Stopped recording"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">microphone</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">removeEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">SampleDataEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SAMPLE_DATA</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">onSampleDataReceived</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">onSampleDataReceived</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">SampleDataEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">while</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">data</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bytesAvailable</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">sample</span>:<span class="ActionScriptDefault_Text">Number</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">data</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">readFloat</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">soundData</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">writeFloat</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">sample</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">soundCompleteHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">isPlaying</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">false</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">startPlaying</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">isPlaying</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">true</span>
+ <span class="ActionScriptDefault_Text">soundData</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">position</span> <span class="ActionScriptOperator">=</span> 0;
+ <span class="ActionScriptDefault_Text">sound</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">Sound</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">sound</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">SampleDataEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SAMPLE_DATA</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">sound_sampleDataHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">channel</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">sound</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">play</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">channel</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SOUND_COMPLETE</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">soundCompleteHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">sound_sampleDataHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">SampleDataEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptOperator">!</span><span class="ActionScriptDefault_Text">soundData</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bytesAvailable</span> <span class="ActionScriptOperator">></span> 0<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">return</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">for</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">i</span>:<span class="ActionScriptDefault_Text">int</span> <span class="ActionScriptOperator">=</span> 0; <span class="ActionScriptDefault_Text">i</span> <span class="ActionScriptOperator"><</span> 8192; <span class="ActionScriptDefault_Text">i</span><span class="ActionScriptOperator">++</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">sample</span>:<span class="ActionScriptDefault_Text">Number</span> <span class="ActionScriptOperator">=</span> 0;
+
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">soundData</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bytesAvailable</span> <span class="ActionScriptOperator">></span> 0<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">sample</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">soundData</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">readFloat</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">data</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">writeFloat</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">sample</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">data</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">writeFloat</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">sample</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">stopPlaying</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">channel</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">stop</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">isPlaying</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">false</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">save</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">docsDir</span>:<span class="ActionScriptDefault_Text">File</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">documentsDirectory</span>;
+ <span class="ActionScriptReserved">try</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">docsDir</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">browseForSave</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Save As"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">docsDir</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SELECT</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">saveFile</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">catch</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">error</span>:<span class="ActionScriptDefault_Text">Error</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Save failed:"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">error</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">message</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">saveFile</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">outputStream</span>:<span class="ActionScriptDefault_Text">FileStream</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">FileStream</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">wavWriter</span>:<span class="ActionScriptDefault_Text">WAVWriter</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">WAVWriter</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">newFile</span>:<span class="ActionScriptDefault_Text">File</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">target</span> <span class="ActionScriptReserved">as</span> <span class="ActionScriptDefault_Text">File</span>;
+
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptOperator">!</span><span class="ActionScriptDefault_Text">newFile</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">exists</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">soundData</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">position</span> <span class="ActionScriptOperator">=</span> 0; <span class="ActionScriptComment">// rewind to the beginning of the sample
+</span>
+ <span class="ActionScriptDefault_Text">wavWriter</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">numOfChannels</span> <span class="ActionScriptOperator">=</span> 1; <span class="ActionScriptComment">// set the inital properties of the Wave Writer
+</span> <span class="ActionScriptDefault_Text">wavWriter</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">sampleBitRate</span> <span class="ActionScriptOperator">=</span> 16;
+ <span class="ActionScriptDefault_Text">wavWriter</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">samplingRate</span> <span class="ActionScriptOperator">=</span> 44100;
+ <span class="ActionScriptDefault_Text">outputStream</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">open</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">newFile</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">FileMode</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">WRITE</span><span class="ActionScriptBracket/Brace">)</span>; <span class="ActionScriptComment">//write out our file to disk.
+</span> <span class="ActionScriptDefault_Text">wavWriter</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">processSamples</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">outputStream</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">soundData</span><span class="ActionScriptOperator">,</span> 44100<span class="ActionScriptOperator">,</span> 1<span class="ActionScriptBracket/Brace">)</span>; <span class="ActionScriptComment">// convert our ByteArray to a WAV file.
+</span> <span class="ActionScriptDefault_Text">outputStream</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">close</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">toggleRecording</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">isRecording</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">isRecording</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">false</span>;
+ <span class="ActionScriptDefault_Text">btnRecord</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">label</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">"Record"</span>;
+ <span class="ActionScriptDefault_Text">stopRecording</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">else</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">isRecording</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">true</span>;
+ <span class="ActionScriptDefault_Text">btnRecord</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">label</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">"Stop Recording"</span>;
+ <span class="ActionScriptDefault_Text">startRecording</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:Panel</span><span class="MXMLDefault_Text"> skinClass="</span><span class="MXMLString">skins.TDFPanelSkin</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" title="</span><span class="MXMLString">Microphone Support</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> left="</span><span class="MXMLString">5</span><span class="MXMLDefault_Text">" top="</span><span class="MXMLString">7</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">440</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">justify</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">"
+ text="</span><span class="MXMLString">The new Microphone support allows you to record audio such as voice memo's using a built-in or external mic. The Microphone.names
+property will return the list of all available sound input devices found (see init method in code):</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> top="</span><span class="MXMLString">70</span><span class="MXMLDefault_Text">" horizontalAlign="</span><span class="MXMLString">center</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Select the microphone input device to use:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:ComboBox</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">cbMicChoices</span><span class="MXMLDefault_Text">" dataProvider="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">microphoneList</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">" selectedIndex="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> top="</span><span class="MXMLString">130</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Start recording audio by clicking the Record button:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:HGroup</span><span class="MXMLDefault_Text"> horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">middle</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">btnRecord</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">Record</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">toggleRecording</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">" enabled="</span><span class="MXMLString">{</span><span class="ActionScriptOperator">!</span><span class="ActionScriptDefault_Text">isPlaying</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">btnPlay</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">Play</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">startPlaying</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">" enabled="</span><span class="MXMLString">{</span><span class="ActionScriptOperator">!</span><span class="ActionScriptDefault_Text">isRecording</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Save Audio Clip</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">save</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+ <span class="MXMLComponent_Tag"></s:Panel></span>
+
+<span class="MXMLComponent_Tag"></mx:Module></span></pre></body>
+</html>
[13/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/source/sample.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/source/sample.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/source/sample.mxml.html
new file mode 100644
index 0000000..e4d51f1
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/source/sample.mxml.html
@@ -0,0 +1,202 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>sample.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ creationComplete="</span><span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">" styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLComment"><!--</span><span class="MXMLComment"> LINK TO ARTICLE: http://www.adobe.com/devnet/air/flex/articles/using_mic_api.html </span><span class="MXMLComment">--></span>
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">com</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">adobe</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">audio</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">format</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">WAVWriter</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SampleDataEvent</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">media</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Microphone</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">media</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Sound</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">utils</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ByteArray</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">collections</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ArrayCollection</span>;
+
+ <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Bindable</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">microphoneList</span>:<span class="ActionScriptDefault_Text">ArrayCollection</span>;
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">microphone</span>:<span class="ActionScriptDefault_Text">Microphone</span>;
+
+ <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Bindable</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptReserved">protected</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">isRecording</span>:<span class="ActionScriptDefault_Text">Boolean</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">false</span>;
+
+ <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Bindable</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptReserved">protected</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">isPlaying</span>:<span class="ActionScriptDefault_Text">Boolean</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">false</span>;
+
+ <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Bindable</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptReserved">protected</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">soundData</span>:<span class="ActionScriptDefault_Text">ByteArray</span>;
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">sound</span>:<span class="ActionScriptDefault_Text">Sound</span>;
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">channel</span>:<span class="ActionScriptDefault_Text">SoundChannel</span>;
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">microphoneList</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">ArrayCollection</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Microphone</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">names</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">cbMicChoices</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedIndex</span><span class="ActionScriptOperator">=</span>0;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">startRecording</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">isRecording</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">true</span>;
+ <span class="ActionScriptDefault_Text">microphone</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">Microphone</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">getMicrophone</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">cbMicChoices</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedIndex</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">microphone</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">rate</span> <span class="ActionScriptOperator">=</span> 44;
+ <span class="ActionScriptDefault_Text">microphone</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">gain</span> <span class="ActionScriptOperator">=</span> 100;
+ <span class="ActionScriptDefault_Text">soundData</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">ByteArray</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Recording"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">microphone</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">SampleDataEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SAMPLE_DATA</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">onSampleDataReceived</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">stopRecording</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">isRecording</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">false</span>;
+ <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Stopped recording"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">microphone</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">removeEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">SampleDataEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SAMPLE_DATA</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">onSampleDataReceived</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">onSampleDataReceived</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">SampleDataEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">while</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">data</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bytesAvailable</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">sample</span>:<span class="ActionScriptDefault_Text">Number</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">data</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">readFloat</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">soundData</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">writeFloat</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">sample</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">soundCompleteHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">isPlaying</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">false</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">startPlaying</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">isPlaying</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">true</span>
+ <span class="ActionScriptDefault_Text">soundData</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">position</span> <span class="ActionScriptOperator">=</span> 0;
+ <span class="ActionScriptDefault_Text">sound</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">Sound</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">sound</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">SampleDataEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SAMPLE_DATA</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">sound_sampleDataHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">channel</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">sound</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">play</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">channel</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SOUND_COMPLETE</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">soundCompleteHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">sound_sampleDataHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">SampleDataEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptOperator">!</span><span class="ActionScriptDefault_Text">soundData</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bytesAvailable</span> <span class="ActionScriptOperator">></span> 0<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">return</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">for</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">i</span>:<span class="ActionScriptDefault_Text">int</span> <span class="ActionScriptOperator">=</span> 0; <span class="ActionScriptDefault_Text">i</span> <span class="ActionScriptOperator"><</span> 8192; <span class="ActionScriptDefault_Text">i</span><span class="ActionScriptOperator">++</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">sample</span>:<span class="ActionScriptDefault_Text">Number</span> <span class="ActionScriptOperator">=</span> 0;
+
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">soundData</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bytesAvailable</span> <span class="ActionScriptOperator">></span> 0<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">sample</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">soundData</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">readFloat</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">data</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">writeFloat</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">sample</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">data</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">writeFloat</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">sample</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">stopPlaying</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">channel</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">stop</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">isPlaying</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">false</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">save</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">docsDir</span>:<span class="ActionScriptDefault_Text">File</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">documentsDirectory</span>;
+ <span class="ActionScriptReserved">try</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">docsDir</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">browseForSave</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Save As"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">docsDir</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SELECT</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">saveFile</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">catch</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">error</span>:<span class="ActionScriptDefault_Text">Error</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Save failed:"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">error</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">message</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">saveFile</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">outputStream</span>:<span class="ActionScriptDefault_Text">FileStream</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">FileStream</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">wavWriter</span>:<span class="ActionScriptDefault_Text">WAVWriter</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">WAVWriter</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">newFile</span>:<span class="ActionScriptDefault_Text">File</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">target</span> <span class="ActionScriptReserved">as</span> <span class="ActionScriptDefault_Text">File</span>;
+
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptOperator">!</span><span class="ActionScriptDefault_Text">newFile</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">exists</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">soundData</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">position</span> <span class="ActionScriptOperator">=</span> 0; <span class="ActionScriptComment">// rewind to the beginning of the sample
+</span>
+ <span class="ActionScriptDefault_Text">wavWriter</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">numOfChannels</span> <span class="ActionScriptOperator">=</span> 1; <span class="ActionScriptComment">// set the inital properties of the Wave Writer
+</span> <span class="ActionScriptDefault_Text">wavWriter</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">sampleBitRate</span> <span class="ActionScriptOperator">=</span> 16;
+ <span class="ActionScriptDefault_Text">wavWriter</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">samplingRate</span> <span class="ActionScriptOperator">=</span> 44100;
+ <span class="ActionScriptDefault_Text">outputStream</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">open</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">newFile</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">FileMode</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">WRITE</span><span class="ActionScriptBracket/Brace">)</span>; <span class="ActionScriptComment">//write out our file to disk.
+</span> <span class="ActionScriptDefault_Text">wavWriter</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">processSamples</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">outputStream</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">soundData</span><span class="ActionScriptOperator">,</span> 44100<span class="ActionScriptOperator">,</span> 1<span class="ActionScriptBracket/Brace">)</span>; <span class="ActionScriptComment">// convert our ByteArray to a WAV file.
+</span> <span class="ActionScriptDefault_Text">outputStream</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">close</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">toggleRecording</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">isRecording</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">isRecording</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">false</span>;
+ <span class="ActionScriptDefault_Text">btnRecord</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">label</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">"Record"</span>;
+ <span class="ActionScriptDefault_Text">stopRecording</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">else</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">isRecording</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">true</span>;
+ <span class="ActionScriptDefault_Text">btnRecord</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">label</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">"Stop Recording"</span>;
+ <span class="ActionScriptDefault_Text">startRecording</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:Panel</span><span class="MXMLDefault_Text"> skinClass="</span><span class="MXMLString">skins.TDFPanelSkin</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" title="</span><span class="MXMLString">Microphone Support</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> left="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">" top="</span><span class="MXMLString">7</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">80%</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">justify</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">"
+ text="</span><span class="MXMLString">The new Microphone support allows you to record audio such as voice memo's using a built-in or external mic. The Microphone.names
+property will return the list of all available sound input devices found (see init method in code):</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> top="</span><span class="MXMLString">70</span><span class="MXMLDefault_Text">" horizontalAlign="</span><span class="MXMLString">center</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Select the microphone input device to use:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:ComboBox</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">cbMicChoices</span><span class="MXMLDefault_Text">" dataProvider="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">microphoneList</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">" selectedIndex="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> top="</span><span class="MXMLString">130</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Start recording audio by clicking the Record button:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:HGroup</span><span class="MXMLDefault_Text"> horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">middle</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">btnRecord</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">Record</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">toggleRecording</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">" enabled="</span><span class="MXMLString">{</span><span class="ActionScriptOperator">!</span><span class="ActionScriptDefault_Text">isPlaying</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">btnPlay</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">Play</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">startPlaying</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">" enabled="</span><span class="MXMLString">{</span><span class="ActionScriptOperator">!</span><span class="ActionScriptDefault_Text">isRecording</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Save Audio Clip</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">save</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+ <span class="MXMLComponent_Tag"></s:Panel></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/source/skins/TDFPanelSkin.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/source/skins/TDFPanelSkin.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/source/skins/TDFPanelSkin.mxml.html
new file mode 100644
index 0000000..df79d11
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/source/skins/TDFPanelSkin.mxml.html
@@ -0,0 +1,147 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta http-equiv="Content-Style-Type" content="text/css">
+ <title>TDFPanelSkin.mxml</title>
+ <meta name="Generator" content="Cocoa HTML Writer">
+ <meta name="CocoaVersion" content="1187.4">
+ <style type="text/css">
+ p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier}
+ p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; color: #941100}
+ p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; min-height: 15.0px}
+ p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px}
+ </style>
+</head>
+<body>
+<p class="p1"><?xml version="1.0" encoding="utf-8"?></p>
+<p class="p2"><!--</p>
+<p class="p3"><br></p>
+<p class="p2">Licensed to the Apache Software Foundation (ASF) under one or more</p>
+<p class="p2">contributor license agreements.<span class="Apple-converted-space"> </span>See the NOTICE file distributed with</p>
+<p class="p2">this work for additional information regarding copyright ownership.</p>
+<p class="p2">The ASF licenses this file to You under the Apache License, Version 2.0</p>
+<p class="p2">(the "License"); you may not use this file except in compliance with</p>
+<p class="p2">the License.<span class="Apple-converted-space"> </span>You may obtain a copy of the License at</p>
+<p class="p3"><br></p>
+<p class="p2">http://www.apache.org/licenses/LICENSE-2.0</p>
+<p class="p3"><br></p>
+<p class="p2">Unless required by applicable law or agreed to in writing, software</p>
+<p class="p2">distributed under the License is distributed on an "AS IS" BASIS,</p>
+<p class="p2">WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</p>
+<p class="p2">See the License for the specific language governing permissions and</p>
+<p class="p2">limitations under the License.</p>
+<p class="p3"><br></p>
+<p class="p2">--></p>
+<p class="p4"><br></p>
+<p class="p1"><s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"<span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span>alpha.disabled="0.5" minWidth="131" minHeight="127"></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><fx:Metadata></p>
+<p class="p1"><span class="Apple-converted-space"> </span>[HostComponent("spark.components.Panel")]</p>
+<p class="p1"><span class="Apple-converted-space"> </span></fx:Metadata><span class="Apple-converted-space"> </span></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:states></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normal" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabled" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normalWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabledWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:states></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- drop shadow --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" top="0" right="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:DropShadowFilter blurX="15" blurY="15" alpha="0.18" distance="11" angle="90" knockout="true" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: border --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColorStroke color="0" alpha="0.50" weight="1" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: background fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" height="15"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradient rotation="90"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xE2E2E2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradient></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: contents --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group left="1" right="1" top="1" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:VerticalLayout gap="0" horizontalAlign="justify" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="topGroup" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: title bar fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- Note: We have custom skinned the title bar to be solid black for Tour de Flex --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbFill" left="0" right="0" top="0" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: title bar highlight --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradientStroke rotation="90" weight="1"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xEAEAEA" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xD9D9D9" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradientStroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: title bar divider --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xC0C0C0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: text --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Label id="titleDisplay" maxDisplayedLines="1"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>left="9" right="3" top="1" minHeight="30"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>verticalAlign="middle" fontWeight="bold" color="#E2E2E2"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Label></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="bottomGroup" minWidth="0" minHeight="0"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>includeIn="normalWithControlBar, disabledWithControlBar" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: control bar background --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" top="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xE2EdF7" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: control bar divider line --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" height="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xD1E0F2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: control bar --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"></s:Skin></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/TDFPanelSkin.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/TDFPanelSkin.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/TDFPanelSkin.mxml.html
new file mode 100644
index 0000000..df79d11
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/NativeProcess/TDFPanelSkin.mxml.html
@@ -0,0 +1,147 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta http-equiv="Content-Style-Type" content="text/css">
+ <title>TDFPanelSkin.mxml</title>
+ <meta name="Generator" content="Cocoa HTML Writer">
+ <meta name="CocoaVersion" content="1187.4">
+ <style type="text/css">
+ p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier}
+ p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; color: #941100}
+ p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; min-height: 15.0px}
+ p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px}
+ </style>
+</head>
+<body>
+<p class="p1"><?xml version="1.0" encoding="utf-8"?></p>
+<p class="p2"><!--</p>
+<p class="p3"><br></p>
+<p class="p2">Licensed to the Apache Software Foundation (ASF) under one or more</p>
+<p class="p2">contributor license agreements.<span class="Apple-converted-space"> </span>See the NOTICE file distributed with</p>
+<p class="p2">this work for additional information regarding copyright ownership.</p>
+<p class="p2">The ASF licenses this file to You under the Apache License, Version 2.0</p>
+<p class="p2">(the "License"); you may not use this file except in compliance with</p>
+<p class="p2">the License.<span class="Apple-converted-space"> </span>You may obtain a copy of the License at</p>
+<p class="p3"><br></p>
+<p class="p2">http://www.apache.org/licenses/LICENSE-2.0</p>
+<p class="p3"><br></p>
+<p class="p2">Unless required by applicable law or agreed to in writing, software</p>
+<p class="p2">distributed under the License is distributed on an "AS IS" BASIS,</p>
+<p class="p2">WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</p>
+<p class="p2">See the License for the specific language governing permissions and</p>
+<p class="p2">limitations under the License.</p>
+<p class="p3"><br></p>
+<p class="p2">--></p>
+<p class="p4"><br></p>
+<p class="p1"><s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"<span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span>alpha.disabled="0.5" minWidth="131" minHeight="127"></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><fx:Metadata></p>
+<p class="p1"><span class="Apple-converted-space"> </span>[HostComponent("spark.components.Panel")]</p>
+<p class="p1"><span class="Apple-converted-space"> </span></fx:Metadata><span class="Apple-converted-space"> </span></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:states></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normal" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabled" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normalWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabledWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:states></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- drop shadow --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" top="0" right="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:DropShadowFilter blurX="15" blurY="15" alpha="0.18" distance="11" angle="90" knockout="true" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: border --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColorStroke color="0" alpha="0.50" weight="1" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: background fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" height="15"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradient rotation="90"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xE2E2E2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradient></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: contents --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group left="1" right="1" top="1" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:VerticalLayout gap="0" horizontalAlign="justify" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="topGroup" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: title bar fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- Note: We have custom skinned the title bar to be solid black for Tour de Flex --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbFill" left="0" right="0" top="0" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: title bar highlight --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradientStroke rotation="90" weight="1"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xEAEAEA" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xD9D9D9" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradientStroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: title bar divider --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xC0C0C0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: text --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Label id="titleDisplay" maxDisplayedLines="1"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>left="9" right="3" top="1" minHeight="30"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>verticalAlign="middle" fontWeight="bold" color="#E2E2E2"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Label></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="bottomGroup" minWidth="0" minHeight="0"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>includeIn="normalWithControlBar, disabledWithControlBar" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: control bar background --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" top="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xE2EdF7" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: control bar divider line --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" height="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xD1E0F2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: control bar --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"></s:Skin></p>
+</body>
+</html>
[25/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/sample.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/sample.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/sample.mxml.html
new file mode 100644
index 0000000..ec5fef5
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/sample.mxml.html
@@ -0,0 +1,76 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>sample.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">filesystem</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">File</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">controls</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Alert</span>;
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">checkDownloadFlag</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">fileGrid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedIndex</span> <span class="ActionScriptOperator">></span> <span class="ActionScriptOperator">-</span>1<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">fileGrid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedItem</span> <span class="ActionScriptReserved">is</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">f</span>:<span class="ActionScriptDefault_Text">File</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">fileGrid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedItem</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">f</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">downloaded</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">result</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">setStyle</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"color"</span><span class="ActionScriptOperator">,</span><span class="ActionScriptString">"red"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">result</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">"Caution: File with name: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">f</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">name</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" path: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">f</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">nativePath</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" was downloaded from the Internet."</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">result</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">setStyle</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"color"</span><span class="ActionScriptOperator">,</span><span class="ActionScriptString">"blue"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">result</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">"File with name: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">f</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">name</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" path: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">f</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">nativePath</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" was NOT downloaded from the Internet."</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Nothing selected."</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:Panel</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" title="</span><span class="MXMLString">OS Download Security Dialog Support</span><span class="MXMLDefault_Text">" skinClass="</span><span class="MXMLString">skins.TDFPanelSkin</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> top="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">" left="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:Button</span><span class="MXMLDefault_Text"> icon="</span><span class="MXMLString">@Embed(source='up.png')</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">Up</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">fileGrid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">navigateUp</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;<span class="MXMLDefault_Text">"
+ enabled="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">fileGrid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">canNavigateUp</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><mx:FileSystemDataGrid</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">fileGrid</span><span class="MXMLDefault_Text">" directory="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">File</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">desktopDirectory</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">"
+ width="</span><span class="MXMLString">660</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">120</span><span class="MXMLDefault_Text">" allowMultipleSelection="</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:HGroup></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Check if downloaded</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">checkDownloadFlag</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">result</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">70%</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">0x336699</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">660</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">justify</span><span class="MXMLDefault_Text">" bottom="</span><span class="MXMLString">3</span><span class="MXMLDefault_Text">"
+ text="</span><span class="MXMLString">The 'downloaded' flag can now be checked on a File object to check if a file has been downloaded from the Internet
+in an application to show a security dialog. Double-click on a file above to see if it has been downloaded.</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+ <span class="MXMLComponent_Tag"></s:Panel></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/Sample-AIR2-DownloadSecurityDialog/src/sample-app.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/Sample-AIR2-DownloadSecurityDialog/src/sample-app.xml b/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/Sample-AIR2-DownloadSecurityDialog/src/sample-app.xml
new file mode 100755
index 0000000..76856ae
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/Sample-AIR2-DownloadSecurityDialog/src/sample-app.xml
@@ -0,0 +1,156 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta2
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>sample</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>sample</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>sample</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
+ <!-- <publisherID></publisherID> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width in pixels. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height in pixels. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/Sample-AIR2-DownloadSecurityDialog/src/sample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/Sample-AIR2-DownloadSecurityDialog/src/sample.mxml b/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/Sample-AIR2-DownloadSecurityDialog/src/sample.mxml
new file mode 100644
index 0000000..8ee10e6
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/Sample-AIR2-DownloadSecurityDialog/src/sample.mxml
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:s="library://ns.adobe.com/flex/spark"
+ xmlns:mx="library://ns.adobe.com/flex/mx"
+ styleName="plain" width="100%" height="100%">
+ <fx:Script>
+ <![CDATA[
+ import flash.filesystem.File;
+ import mx.controls.Alert;
+
+ protected function checkDownloadFlag():void
+ {
+ if (fileGrid.selectedIndex > -1)
+ {
+ if (fileGrid.selectedItem is File)
+ {
+ var f:File = File(fileGrid.selectedItem);
+ if (f.downloaded)
+ {
+ result.setStyle("color","red");
+ result.text = "Caution: File with name: " + f.name + " path: " + f.nativePath + " was downloaded from the Internet.";
+ }
+ else {
+ result.setStyle("color","blue");
+ result.text = "File with name: " + f.name + " path: " + f.nativePath + " was NOT downloaded from the Internet.";
+ }
+ }
+ }
+ else Alert.show("Nothing selected.");
+ }
+ ]]>
+ </fx:Script>
+
+ <s:Panel width="100%" height="100%" title="OS Download Security Dialog Support" skinClass="skins.TDFPanelSkin">
+ <s:VGroup top="10" left="10">
+ <mx:Button icon="@Embed(source='up.png')" label="Up" click="fileGrid.navigateUp();"
+ enabled="{fileGrid.canNavigateUp}"/>
+ <mx:FileSystemDataGrid id="fileGrid" directory="{File.desktopDirectory}"
+ width="660" height="120" allowMultipleSelection="false"/>
+ <s:HGroup>
+ <s:Button label="Check if downloaded" click="checkDownloadFlag()"/>
+ <s:Label id="result" width="70%" color="0x336699"/>
+ </s:HGroup>
+ <s:Label width="660" verticalAlign="justify" bottom="3"
+ text="The 'downloaded' flag can now be checked on a File object to check if a file has been downloaded from the Internet
+in an application to show a security dialog. Double-click on a file above to see if it has been downloaded."/>
+ </s:VGroup>
+ </s:Panel>
+
+</mx:Module>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/Sample-AIR2-DownloadSecurityDialog/src/skins/TDFPanelSkin.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/Sample-AIR2-DownloadSecurityDialog/src/skins/TDFPanelSkin.mxml b/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/Sample-AIR2-DownloadSecurityDialog/src/skins/TDFPanelSkin.mxml
new file mode 100644
index 0000000..ff46524
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/Sample-AIR2-DownloadSecurityDialog/src/skins/TDFPanelSkin.mxml
@@ -0,0 +1,130 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+
+
+<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+ alpha.disabled="0.5" minWidth="131" minHeight="127">
+
+ <fx:Metadata>
+ [HostComponent("spark.components.Panel")]
+ </fx:Metadata>
+
+ <s:states>
+ <s:State name="normal" />
+ <s:State name="disabled" />
+ <s:State name="normalWithControlBar" />
+ <s:State name="disabledWithControlBar" />
+ </s:states>
+
+ <!-- drop shadow -->
+ <s:Rect left="0" top="0" right="0" bottom="0">
+ <s:filters>
+ <s:DropShadowFilter blurX="15" blurY="15" alpha="0.18" distance="11" angle="90" knockout="true" />
+ </s:filters>
+ <s:fill>
+ <s:SolidColor color="0" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 1: border -->
+ <s:Rect left="0" right="0" top="0" bottom="0">
+ <s:stroke>
+ <s:SolidColorStroke color="0" alpha="0.50" weight="1" />
+ </s:stroke>
+ </s:Rect>
+
+ <!-- layer 2: background fill -->
+ <s:Rect left="0" right="0" bottom="0" height="15">
+ <s:fill>
+ <s:LinearGradient rotation="90">
+ <s:GradientEntry color="0xE2E2E2" />
+ <s:GradientEntry color="0x000000" />
+ </s:LinearGradient>
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 3: contents -->
+ <s:Group left="1" right="1" top="1" bottom="1" >
+ <s:layout>
+ <s:VerticalLayout gap="0" horizontalAlign="justify" />
+ </s:layout>
+
+ <s:Group id="topGroup" >
+ <!-- layer 0: title bar fill -->
+ <!-- Note: We have custom skinned the title bar to be solid black for Tour de Flex -->
+ <s:Rect id="tbFill" left="0" right="0" top="0" bottom="1" >
+ <s:fill>
+ <s:SolidColor color="0x000000" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 1: title bar highlight -->
+ <s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0" >
+ <s:stroke>
+ <s:LinearGradientStroke rotation="90" weight="1">
+ <s:GradientEntry color="0xEAEAEA" />
+ <s:GradientEntry color="0xD9D9D9" />
+ </s:LinearGradientStroke>
+ </s:stroke>
+ </s:Rect>
+
+ <!-- layer 2: title bar divider -->
+ <s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0">
+ <s:fill>
+ <s:SolidColor color="0xC0C0C0" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 3: text -->
+ <s:Label id="titleDisplay" maxDisplayedLines="1"
+ left="9" right="3" top="1" minHeight="30"
+ verticalAlign="middle" fontWeight="bold" color="#E2E2E2">
+ </s:Label>
+
+ </s:Group>
+
+ <s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0">
+ </s:Group>
+
+ <s:Group id="bottomGroup" minWidth="0" minHeight="0"
+ includeIn="normalWithControlBar, disabledWithControlBar" >
+ <!-- layer 0: control bar background -->
+ <s:Rect left="0" right="0" bottom="0" top="1" >
+ <s:fill>
+ <s:SolidColor color="0xE2EdF7" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 1: control bar divider line -->
+ <s:Rect left="0" right="0" top="0" height="1" >
+ <s:fill>
+ <s:SolidColor color="0xD1E0F2" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 2: control bar -->
+ <s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0">
+ <s:layout>
+ <s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" />
+ </s:layout>
+ </s:Group>
+ </s:Group>
+ </s:Group>
+</s:Skin>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/Sample-AIR2-DownloadSecurityDialog/src/up.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/Sample-AIR2-DownloadSecurityDialog/src/up.png b/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/Sample-AIR2-DownloadSecurityDialog/src/up.png
new file mode 100755
index 0000000..4bf79b0
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/Sample-AIR2-DownloadSecurityDialog/src/up.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/SourceIndex.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/SourceIndex.xml b/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/SourceIndex.xml
new file mode 100644
index 0000000..5e9d2ff
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/SourceIndex.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ 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.
+
+-->
+<index>
+ <title>Source of Sample-AIR2-DownloadSecurityDialog</title>
+ <nodes>
+ <node label="libs">
+ </node>
+ <node label="src">
+ <node icon="packageIcon" label="skins" expanded="true">
+ <node icon="mxmlIcon" label="TDFPanelSkin.mxml" url="source/skins/TDFPanelSkin.mxml.html"/>
+ </node>
+ <node label="sample-app.xml" url="source/sample-app.xml.txt"/>
+ <node icon="mxmlAppIcon" selected="true" label="sample.mxml" url="source/sample.mxml.html"/>
+ <node icon="imageIcon" label="up.png" url="source/up.png.html"/>
+ </node>
+ </nodes>
+ <zipfile label="Download source (ZIP, 10K)" url="Sample-AIR2-DownloadSecurityDialog.zip">
+ </zipfile>
+ <sdklink label="Download Flex SDK" url="http://www.adobe.com/go/flex4_sdk_download">
+ </sdklink>
+</index>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/SourceStyles.css
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/SourceStyles.css b/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/SourceStyles.css
new file mode 100644
index 0000000..a8b5614
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/SourceStyles.css
@@ -0,0 +1,155 @@
+/*
+ * 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.
+ */
+body {
+ font-family: Courier New, Courier, monospace;
+ font-size: medium;
+}
+
+.CSS@font-face {
+ color: #990000;
+ font-weight: bold;
+}
+
+.CSS@import {
+ color: #006666;
+ font-weight: bold;
+}
+
+.CSS@media {
+ color: #663333;
+ font-weight: bold;
+}
+
+.CSS@namespace {
+ color: #923196;
+}
+
+.CSSComment {
+ color: #999999;
+}
+
+.CSSDefault_Text {
+}
+
+.CSSDelimiters {
+}
+
+.CSSProperty_Name {
+ color: #330099;
+}
+
+.CSSProperty_Value {
+ color: #3333cc;
+}
+
+.CSSSelector {
+ color: #ff00ff;
+}
+
+.CSSString {
+ color: #990000;
+}
+
+.ActionScriptASDoc {
+ color: #3f5fbf;
+}
+
+.ActionScriptBracket/Brace {
+}
+
+.ActionScriptComment {
+ color: #009900;
+ font-style: italic;
+}
+
+.ActionScriptDefault_Text {
+}
+
+.ActionScriptMetadata {
+ color: #0033ff;
+ font-weight: bold;
+}
+
+.ActionScriptOperator {
+}
+
+.ActionScriptReserved {
+ color: #0033ff;
+ font-weight: bold;
+}
+
+.ActionScriptString {
+ color: #990000;
+ font-weight: bold;
+}
+
+.ActionScriptclass {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScriptfunction {
+ color: #339966;
+ font-weight: bold;
+}
+
+.ActionScriptinterface {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScriptpackage {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScripttrace {
+ color: #cc6666;
+ font-weight: bold;
+}
+
+.ActionScriptvar {
+ color: #6699cc;
+ font-weight: bold;
+}
+
+.MXMLASDoc {
+ color: #3f5fbf;
+}
+
+.MXMLComment {
+ color: #800000;
+}
+
+.MXMLComponent_Tag {
+ color: #0000ff;
+}
+
+.MXMLDefault_Text {
+}
+
+.MXMLProcessing_Instruction {
+}
+
+.MXMLSpecial_Tag {
+ color: #006633;
+}
+
+.MXMLString {
+ color: #990000;
+}
+
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/SourceTree.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/SourceTree.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/SourceTree.html
new file mode 100644
index 0000000..80281a9
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/SourceTree.html
@@ -0,0 +1,129 @@
+<!--
+ 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.
+-->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!-- saved from url=(0014)about:internet -->
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
+ <!--
+ Smart developers always View Source.
+
+ This application was built using Adobe Flex, an open source framework
+ for building rich Internet applications that get delivered via the
+ Flash Player or to desktops via Adobe AIR.
+
+ Learn more about Flex at http://flex.org
+ // -->
+ <head>
+ <title></title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <!-- Include CSS to eliminate any default margins/padding and set the height of the html element and
+ the body element to 100%, because Firefox, or any Gecko based browser, interprets percentage as
+ the percentage of the height of its parent container, which has to be set explicitly. Initially,
+ don't display flashContent div so it won't show if JavaScript disabled.
+ -->
+ <style type="text/css" media="screen">
+ html, body { height:100%; }
+ body { margin:0; padding:0; overflow:auto; text-align:center;
+ background-color: #ffffff; }
+ #flashContent { display:none; }
+ </style>
+
+ <!-- Enable Browser History by replacing useBrowserHistory tokens with two hyphens -->
+ <!-- BEGIN Browser History required section >
+ <link rel="stylesheet" type="text/css" href="history/history.css" />
+ <script type="text/javascript" src="history/history.js"></script>
+ <! END Browser History required section -->
+
+ <script type="text/javascript" src="swfobject.js"></script>
+ <script type="text/javascript">
+ function loadIntoMain(url) {
+ parent.mainFrame.location.href = url;
+ }
+
+ function openUrlWindow(url) {
+ window.top.location = url;
+ }
+
+ <!-- For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection. -->
+ var swfVersionStr = "10.0.0";
+ <!-- To use express install, set to playerProductInstall.swf, otherwise the empty string. -->
+ var xiSwfUrlStr = "playerProductInstall.swf";
+ var flashvars = {};
+ var params = {};
+ params.quality = "high";
+ params.bgcolor = "#ffffff";
+ params.allowscriptaccess = "sameDomain";
+ params.allowfullscreen = "true";
+ var attributes = {};
+ attributes.id = "SourceTree";
+ attributes.name = "SourceTree";
+ attributes.align = "middle";
+ swfobject.embedSWF(
+ "SourceTree.swf", "flashContent",
+ "100%", "100%",
+ swfVersionStr, xiSwfUrlStr,
+ flashvars, params, attributes);
+ <!-- JavaScript enabled so display the flashContent div in case it is not replaced with a swf object. -->
+ swfobject.createCSS("#flashContent", "display:block;text-align:left;");
+ </script>
+ </head>
+ <body>
+ <!-- SWFObject's dynamic embed method replaces this alternative HTML content with Flash content when enough
+ JavaScript and Flash plug-in support is available. The div is initially hidden so that it doesn't show
+ when JavaScript is disabled.
+ -->
+ <div id="flashContent">
+ <p>
+ To view this page ensure that Adobe Flash Player version
+ 10.0.0 or greater is installed.
+ </p>
+ <script type="text/javascript">
+ var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://");
+ document.write("<a href='http://www.adobe.com/go/getflashplayer'><img src='"
+ + pageHost + "www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' /></a>" );
+ </script>
+ </div>
+
+ <noscript>
+ <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%" id="SourceTree">
+ <param name="movie" value="SourceTree.swf" />
+ <param name="quality" value="high" />
+ <param name="bgcolor" value="#ffffff" />
+ <param name="allowScriptAccess" value="sameDomain" />
+ <param name="allowFullScreen" value="true" />
+ <!--[if !IE]>-->
+ <object type="application/x-shockwave-flash" data="SourceTree.swf" width="100%" height="100%">
+ <param name="quality" value="high" />
+ <param name="bgcolor" value="#ffffff" />
+ <param name="allowScriptAccess" value="sameDomain" />
+ <param name="allowFullScreen" value="true" />
+ <!--<![endif]-->
+ <!--[if gte IE 6]>-->
+ <p>
+ Either scripts and active content are not permitted to run or Adobe Flash Player version
+ 10.0.0 or greater is not installed.
+ </p>
+ <!--<![endif]-->
+ <a href="http://www.adobe.com/go/getflashplayer">
+ <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash Player" />
+ </a>
+ <!--[if !IE]>-->
+ </object>
+ <!--<![endif]-->
+ </object>
+ </noscript>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/index.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/index.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/index.html
new file mode 100644
index 0000000..c66ea88
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/index.html
@@ -0,0 +1,32 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Source of Sample-AIR2-DownloadSecurityDialog</title>
+</head>
+<frameset cols="235,*" border="2" framespacing="1">
+ <frame src="SourceTree.html" name="leftFrame" scrolling="NO">
+ <frame src="source/sample.mxml.html" name="mainFrame">
+</frameset>
+<noframes>
+ <body>
+ </body>
+</noframes>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/source/sample-app.xml.txt
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/source/sample-app.xml.txt b/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/source/sample-app.xml.txt
new file mode 100644
index 0000000..76856ae
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/source/sample-app.xml.txt
@@ -0,0 +1,156 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta2
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>sample</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>sample</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>sample</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
+ <!-- <publisherID></publisherID> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width in pixels. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height in pixels. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/source/sample.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/source/sample.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/source/sample.mxml.html
new file mode 100644
index 0000000..ec5fef5
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/source/sample.mxml.html
@@ -0,0 +1,76 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>sample.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">filesystem</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">File</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">controls</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Alert</span>;
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">checkDownloadFlag</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">fileGrid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedIndex</span> <span class="ActionScriptOperator">></span> <span class="ActionScriptOperator">-</span>1<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">fileGrid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedItem</span> <span class="ActionScriptReserved">is</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">f</span>:<span class="ActionScriptDefault_Text">File</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">fileGrid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedItem</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">f</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">downloaded</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">result</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">setStyle</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"color"</span><span class="ActionScriptOperator">,</span><span class="ActionScriptString">"red"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">result</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">"Caution: File with name: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">f</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">name</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" path: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">f</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">nativePath</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" was downloaded from the Internet."</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">result</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">setStyle</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"color"</span><span class="ActionScriptOperator">,</span><span class="ActionScriptString">"blue"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">result</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">"File with name: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">f</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">name</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" path: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">f</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">nativePath</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" was NOT downloaded from the Internet."</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Nothing selected."</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:Panel</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" title="</span><span class="MXMLString">OS Download Security Dialog Support</span><span class="MXMLDefault_Text">" skinClass="</span><span class="MXMLString">skins.TDFPanelSkin</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> top="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">" left="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:Button</span><span class="MXMLDefault_Text"> icon="</span><span class="MXMLString">@Embed(source='up.png')</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">Up</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">fileGrid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">navigateUp</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;<span class="MXMLDefault_Text">"
+ enabled="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">fileGrid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">canNavigateUp</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><mx:FileSystemDataGrid</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">fileGrid</span><span class="MXMLDefault_Text">" directory="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">File</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">desktopDirectory</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">"
+ width="</span><span class="MXMLString">660</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">120</span><span class="MXMLDefault_Text">" allowMultipleSelection="</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:HGroup></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Check if downloaded</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">checkDownloadFlag</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">result</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">70%</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">0x336699</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">660</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">justify</span><span class="MXMLDefault_Text">" bottom="</span><span class="MXMLString">3</span><span class="MXMLDefault_Text">"
+ text="</span><span class="MXMLString">The 'downloaded' flag can now be checked on a File object to check if a file has been downloaded from the Internet
+in an application to show a security dialog. Double-click on a file above to see if it has been downloaded.</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+ <span class="MXMLComponent_Tag"></s:Panel></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/source/skins/TDFPanelSkin.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/source/skins/TDFPanelSkin.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/source/skins/TDFPanelSkin.mxml.html
new file mode 100644
index 0000000..df79d11
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/source/skins/TDFPanelSkin.mxml.html
@@ -0,0 +1,147 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta http-equiv="Content-Style-Type" content="text/css">
+ <title>TDFPanelSkin.mxml</title>
+ <meta name="Generator" content="Cocoa HTML Writer">
+ <meta name="CocoaVersion" content="1187.4">
+ <style type="text/css">
+ p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier}
+ p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; color: #941100}
+ p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; min-height: 15.0px}
+ p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px}
+ </style>
+</head>
+<body>
+<p class="p1"><?xml version="1.0" encoding="utf-8"?></p>
+<p class="p2"><!--</p>
+<p class="p3"><br></p>
+<p class="p2">Licensed to the Apache Software Foundation (ASF) under one or more</p>
+<p class="p2">contributor license agreements.<span class="Apple-converted-space"> </span>See the NOTICE file distributed with</p>
+<p class="p2">this work for additional information regarding copyright ownership.</p>
+<p class="p2">The ASF licenses this file to You under the Apache License, Version 2.0</p>
+<p class="p2">(the "License"); you may not use this file except in compliance with</p>
+<p class="p2">the License.<span class="Apple-converted-space"> </span>You may obtain a copy of the License at</p>
+<p class="p3"><br></p>
+<p class="p2">http://www.apache.org/licenses/LICENSE-2.0</p>
+<p class="p3"><br></p>
+<p class="p2">Unless required by applicable law or agreed to in writing, software</p>
+<p class="p2">distributed under the License is distributed on an "AS IS" BASIS,</p>
+<p class="p2">WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</p>
+<p class="p2">See the License for the specific language governing permissions and</p>
+<p class="p2">limitations under the License.</p>
+<p class="p3"><br></p>
+<p class="p2">--></p>
+<p class="p4"><br></p>
+<p class="p1"><s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"<span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span>alpha.disabled="0.5" minWidth="131" minHeight="127"></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><fx:Metadata></p>
+<p class="p1"><span class="Apple-converted-space"> </span>[HostComponent("spark.components.Panel")]</p>
+<p class="p1"><span class="Apple-converted-space"> </span></fx:Metadata><span class="Apple-converted-space"> </span></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:states></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normal" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabled" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normalWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabledWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:states></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- drop shadow --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" top="0" right="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:DropShadowFilter blurX="15" blurY="15" alpha="0.18" distance="11" angle="90" knockout="true" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: border --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColorStroke color="0" alpha="0.50" weight="1" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: background fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" height="15"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradient rotation="90"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xE2E2E2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradient></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: contents --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group left="1" right="1" top="1" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:VerticalLayout gap="0" horizontalAlign="justify" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="topGroup" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: title bar fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- Note: We have custom skinned the title bar to be solid black for Tour de Flex --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbFill" left="0" right="0" top="0" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: title bar highlight --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradientStroke rotation="90" weight="1"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xEAEAEA" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xD9D9D9" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradientStroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: title bar divider --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xC0C0C0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: text --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Label id="titleDisplay" maxDisplayedLines="1"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>left="9" right="3" top="1" minHeight="30"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>verticalAlign="middle" fontWeight="bold" color="#E2E2E2"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Label></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="bottomGroup" minWidth="0" minHeight="0"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>includeIn="normalWithControlBar, disabledWithControlBar" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: control bar background --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" top="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xE2EdF7" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: control bar divider line --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" height="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xD1E0F2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: control bar --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"></s:Skin></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/source/up.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/source/up.png b/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/source/up.png
new file mode 100644
index 0000000..4bf79b0
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/source/up.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/source/up.png.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/source/up.png.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/source/up.png.html
new file mode 100644
index 0000000..bc5ccd9
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/srcview/source/up.png.html
@@ -0,0 +1,28 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
+<title>up.png</title>
+</head>
+
+<body>
+<img src="up.png" border="0"/>
+</body>
+</html>
[37/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/data/objects-desktop2.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/data/objects-desktop2.xml b/TourDeFlex/TourDeFlex/src/data/objects-desktop2.xml
new file mode 100644
index 0000000..f77ba04
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/data/objects-desktop2.xml
@@ -0,0 +1,5970 @@
+<!--
+
+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.
+
+-->
+<Objects version="2010-06-18" searchTags="uicontrol,input,container,effect,transition,date,number,string,navigator,formatter,validator,chart,visualization,map,data,blazeds,lcds,api,cloud,air,technique" searchTagsTotals="49,6,21,32,2,6,5,18,7,7,11,23,21,13,33,16,16,15,15,22,25" featuredSamples="14110,14120,14130,14140,14150">
+ <Category name="Introduction to Flex">
+ <Object id="90000" name="What's Flex" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="What's Flex - from Flex.org">
+ <Illustrations>
+ <Illustration name="What's Flex" path="http://tourdeflex.adobe.com/introduction/whatsflex.html" openLinksExternal="true" autoExpand="true" scrollBars="true"/>
+ </Illustrations>
+ </Object>
+ <Object id="90005" name="What's Possible" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="What's Flex - from Flex.org">
+ <Illustrations>
+ <Illustration name="What's Possible (showcase)" path="http://tourdeflex.adobe.com/introduction/whatspossible.html" openLinksExternal="true" autoExpand="true" scrollBars="true"/>
+ </Illustrations>
+ </Object>
+ <Object id="90010" name="Get Started" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="What's Flex - from Flex.org">
+ <Illustrations>
+ <Illustration name="Get Started" path="http://tourdeflex.adobe.com/introduction/getstarted.html" openLinksExternal="true" autoExpand="true" scrollBars="true"/>
+ </Illustrations>
+ </Object>
+ <Object id="90015" name="Flex Resources" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="What's Flex - from Flex.org">
+ <Illustrations>
+ <Illustration name="Flex Resources" path="http://tourdeflex.adobe.com/introduction/resources.html" openLinksExternal="true" autoExpand="true" scrollBars="true"/>
+ </Illustrations>
+ </Object>
+ </Category>
+ <Category name="Flex 4">
+ <Object id="700001" name="Read Me" iconPath="http://tourdeflex.adobe.com/samples/common/adobe.png" author="Holly Schinsky" tags="readme">
+ <Illustrations>
+ <Illustration name="Read Me" path="http://tourdeflex.adobe.com/flex4samples/flex4-readme-new.html" autoExpand="true" openLinksExternal="true"/>
+ </Illustrations>
+ </Object>
+ <Category name="Components">
+ <Category name="Controls">
+ <Object id="70030" name="AdvancedDataGrid" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/AdvancedDataGrid.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - AdvancedDataGrid">
+ <Illustrations>
+ <Illustration name="AdvancedDataGrid" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-AdvancedDataGrid/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-AdvancedDataGrid/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-AdvancedDataGrid/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=AdvancedDataGrid" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30600" name="Button" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Button.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Button">
+ <Illustrations>
+ <Illustration name="Button" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/Button/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/Button/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/Button/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=Button" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30700" name="ButtonBar" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ButtonBar.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ButtonBar">
+ <Illustrations>
+ <Illustration name="ButtonBar" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/ButtonBar/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/ButtonBar/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/ButtonBar/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=ButtonBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30300" name="CheckBox" author="Holly Schinsky/Adobe" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/CheckBox.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - CheckBox">
+ <Illustrations>
+ <Illustration name="CheckBox" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/CheckBox/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/CheckBox/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/CheckBox/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=CheckBox" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70260" name="ColorPicker" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ColorPicker.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ColorPicker">
+ <Illustrations>
+ <Illustration name="ColorPicker" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ColorPicker/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ColorPicker/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ColorPicker/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=ColorPicker" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30305" name="ComboBox" author="Holly Schinsky/Adobe" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ComboBox.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ComboBox">
+ <Illustrations>
+ <Illustration name="ComboBox" path="http://tourdeflex.adobe.com/flex4.0/ComboBox/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/ComboBox/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/ComboBox/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=ComboBox" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70040" name="DataGrid" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/DataGrid.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DataGrid">
+ <Illustrations>
+ <Illustration name="DataGrid" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DataGrid/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DataGrid/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DataGrid/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=DataGrid" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70050" name="DateChooser" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/DateChooser.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DateChooser">
+ <Illustrations>
+ <Illustration name="DateChooser" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateChooser/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateChooser/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateChooser/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=DateChooser" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70060" name="DateField" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/DateField.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DateField">
+ <Illustrations>
+ <Illustration name="DateField" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateField/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateField/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateField/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=DateField" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30400" name="DropDownList" author="Holly Schinsky/Adobe" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/DropDownList.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DropDownList">
+ <Illustrations>
+ <Illustration name="DropDownList" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/DropDownList/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/DropDownList/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/DropDownList/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/component&topic=DropDownList" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70090" name="Image" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Image.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Image">
+ <Illustrations>
+ <Illustration name="Image" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Image/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Image/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Image/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=Image" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70100" name="LinkButton" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/LinkButton.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - LinkButton">
+ <Illustrations>
+ <Illustration name="LinkButton" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LinkButton/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LinkButton/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LinkButton/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=LinkButton" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30800" name="List" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/List.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - List">
+ <Illustrations>
+ <Illustration name="List" path="http://tourdeflex.adobe.com/flex4samples/UIControls/TreeListAndGridControls/List/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/TreeListAndGridControls/List/srcview/source/sample.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/UIControls/TreeListAndGridControls/List/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=List" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30805" name="Menu" author="Holly Schinsky/Adobe" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Menu.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Menu">
+ <Illustrations>
+ <Illustration name="Menu" path="http://tourdeflex.adobe.com/flex4.0/Menu/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Menu/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Menu/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=Menu" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30200" name="NumericStepper" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/NumericStepper.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - NumericStepper">
+ <Illustrations>
+ <Illustration name="NumericStepper" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/NumericStepper/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/NumericStepper/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/NumericStepper/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=NumericStepper" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70110" name="OLAPDataGrid" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/OLAPDataGrid/OLAPDataGrid.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - OLAPDataGrid">
+ <Illustrations>
+ <Illustration name="OLAPDataGrid" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-OLAPDataGrid/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-OLAPDataGrid/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-OLAPDataGrid/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=OLAPDataGrid" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30720" name="PopUpAnchor" author="Holly Schinsky" dateAdded="2009-09-21" downloadPath="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/srcview/Sample-Flex4-PopUpAnchor.zip" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Button.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Popup Anchor">
+ <Illustrations>
+ <Illustration name="PopUpAnchor" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="CloseButtonSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/srcview/source/skins/CloseButtonSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=PopUpAnchor" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ <Illustration name="PopUpAnchor2" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/sample2.html">
+ <Documents>
+ <Document name="sample2.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/srcview/source/sample2.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=PopUpAnchor" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70120" name="PopUpButton" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/PopUpButton/PopUpButton.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - PopUpButton">
+ <Illustrations>
+ <Illustration name="PopUpButton" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PopUpButton/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PopUpButton/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PopUpButton/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=PopUpButton" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70130" name="ProgressBar" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ProgressBar.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ProgressBar">
+ <Illustrations>
+ <Illustration name="ProgressBar" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ProgressBar/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ProgressBar/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ProgressBar/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=ProgressBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30100" name="RadioButton" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/RadioButton.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - RadioButton">
+ <Illustrations>
+ <Illustration name="RadioButton" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/RadioButton/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/RadioButton/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/RadioButton/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=RadioButton" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30105" name="RichEditableText" author="Holly Schinsky/Adobe" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/RichEditableText.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - RichEditableText">
+ <Illustrations>
+ <Illustration name="RichEditableText" path="http://tourdeflex.adobe.com/flex4.0/RichEditableText/sample.swf">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/RichEditableText/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/RichEditableText/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=RichEditableText" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30107" name="RichText" author="Holly Schinsky/Adobe" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/RichText.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - RichText">
+ <Illustrations>
+ <Illustration name="RichText" path="http://tourdeflex.adobe.com/flex4.0/FXG/RichText/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/RichText/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/RichText/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=RichText" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30910" name="ScrollBar (2)" author="Holly Schinsky" dateAdded="2009-09-21" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Scroller.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ScrollBar">
+ <Illustrations>
+ <Illustration name="ScrollBar" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/ScrollBar/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/ScrollBar/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/ScrollBar/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="HScrollBar Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=VScrollBar" openLinksExternal="true"/>
+ <Document name="VScrollBar Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=HScrollBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ <Illustration name="HScrollBar/VScrollBar" path="http://tourdeflex.adobe.com/flex4.0/ScrollBars/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/ScrollBars/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/ScrollBars/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="HScrollBar Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=VScrollBar" openLinksExternal="true"/>
+ <Document name="VScrollBar Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=HScrollBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31000" name="Scroller (2)" author="Peter DeHaan/Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Scroller.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Scroller">
+ <Illustrations>
+ <Illustration name="Scroller Viewport" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Scroller/sample1.html">
+ <Documents>
+ <Document name="sample1.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Scroller/srcview/source/sample1.mxml.html"/>
+ <Document name="MyPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Scroller/srcview/source/skins/MyPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=Scroller" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ <Illustration name="Scroller Child Tabbing" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Scroller/sample2.html">
+ <Documents>
+ <Document name="sample2.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Scroller/srcview/source/sample2.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Scroller/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=Scroller" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30915" name="Slider" author="Holly Schinsky" dateAdded="2009-09-21" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/VSlider.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Slider">
+ <Illustrations>
+ <Illustration name="Slider" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Slider/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Slider/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Slider/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="VSlider Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=VSlider" openLinksExternal="true"/>
+ <Document name="HSlider Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=HSlider" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30925" name="Spinner" author="Holly Schinsky" dateAdded="2009-10-20" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Spinner.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Spinner">
+ <Illustrations>
+ <Illustration name="Spinner" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Spinner/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Spinner/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Spinner/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=Spinner" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70140" name="SWFLoader" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/SWFLoader.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SWFLoader">
+ <Illustrations>
+ <Illustration name="SWFLoader" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SWFLoader/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SWFLoader/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SWFLoader/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=SWFLoader" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30926" name="TabBar" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TabBar.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - TabBar">
+ <Illustrations>
+ <Illustration name="TabBar" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/srcview/source/sample1.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/srcview/index.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=TabBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30928" name="TextArea" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TextArea.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - TextArea">
+ <Illustrations>
+ <Illustration name="TextArea" path="http://tourdeflex.adobe.com/flex4.0/TextArea/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/TextArea/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/TextArea/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=TextArea" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30930" name="TextInput" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TextInput.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - TextInput">
+ <Illustrations>
+ <Illustration name="TextInput" path="http://tourdeflex.adobe.com/flex4.0/TextInput/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/TextInput/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/TextInput/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=TextInput" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30500" name="ToggleButton" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ToggleButton.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ToggleButton">
+ <Illustrations>
+ <Illustration name="ToggleButton" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/ToggleButton/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/ToggleButton/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/ToggleButton/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=ToggleButton" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70150" name="Tree" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Tree.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Tree">
+ <Illustrations>
+ <Illustration name="Tree" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Tree/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Tree/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Tree/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=ToggleButton" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70160" name="VideoDisplay" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/VideoDisplay.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - VideoDisplay">
+ <Illustrations>
+ <Illustration name="VideoDisplay" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-VideoDisplay/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-VideoDisplay/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-VideoDisplay/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=VideoDisplay" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30900" name="VideoPlayer" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/VideoPlayer.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - VideoPlayer">
+ <Illustrations>
+ <Illustration name="VideoPlayer" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/VideoPlayer/sample1.html">
+ <Documents>
+ <Document name="sample1.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/VideoPlayer/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/VideoPlayer/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=VideoPlayer" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ </Category>
+ <Category name="Layout">
+ <Object id="31099" name="Read Me" iconPath="http://tourdeflex.adobe.com/samples/common/adobe.png" author="Holly Schinsky" tags="readme">
+ <Illustrations>
+ <Illustration name="Read Me" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/groups-containers-readme.html" autoExpand="true" openLinksExternal="true"/>
+ </Illustrations>
+ </Object>
+ <Object id="31100" name="BorderContainer" author="Holly Schinsky" dateAdded="2009-09-10" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/BorderContainer.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - BorderContainer">
+ <Illustrations>
+ <Illustration name="BorderContainer" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/Border/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/Border/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/Border/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=BorderContainer" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31105" name="DataGroup" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/DataGroup.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DataGroup">
+ <Illustrations>
+ <Illustration name="DataGroup" path="http://tourdeflex.adobe.com/flex4.0/DataGroup/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/DataGroup/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/DataGroup/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=DataGroup" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70000" name="Form" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Form.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Form">
+ <Illustrations>
+ <Illustration name="Form" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Form/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Form/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Form/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/containers&topic=Form" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31110" name="HGroup/VGroup (3)" author="Holly Schinsky/Evtim Georgiev" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/HGroup.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - HGroup/VGroup">
+ <Illustrations>
+ <Illustration name="HGroup" path="http://tourdeflex.adobe.com/flex4.0/Group-HGroup-VGroup/SampleHGroup.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Group-HGroup-VGroup/srcview/source/SampleHGroup.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Group-HGroup-VGroup/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=HGroup" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ <Illustration name="VGroup" path="http://tourdeflex.adobe.com/flex4.0/Group-HGroup-VGroup/SampleVGroup.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Group-HGroup-VGroup/srcview/source/SampleVGroup.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Group-HGroup-VGroup/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=VGroup" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ <Illustration name="Group Axis Alignment" path="http://tourdeflex.adobe.com/flex4.0/Groups-verticalAlign-horizontalAlign-forLayout/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Groups-verticalAlign-horizontalAlign-forLayout/srcview/source/sample.mxml.html"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31150" name="Panel" author="Holly Schinsky" dateAdded="2009-09-10" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Panel.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Panel">
+ <Illustrations>
+ <Illustration name="Panel" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/Panel/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/Panel/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/Panel/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=Panel" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31720" name="SkinnableContainer" author="Holly Schinsky" dateAdded="2009-11-16" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/SkinnableContainer.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SkinnableContainer">
+ <Illustrations>
+ <Illustration name="SkinnableContainer" path="http://tourdeflex.adobe.com/flex4samples/Skinning/SkinningContainer/sample.html">
+ <Documents>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/Skinning/SkinningContainer/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=SkinnableContainer" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31725" name="SkinnableDataContainer" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/SkinnableDataContainer.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SkinnableContainer">
+ <Illustrations>
+ <Illustration name="SkinnableDataContainer" path="http://tourdeflex.adobe.com/flex4.0/SkinnableDataContainer/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/SkinnableDataContainer/srcview/source/sample.mxml.html" openLinksExternal="true"/>
+ <Document name="TDFPanelSkin" path="http://tourdeflex.adobe.com/flex4.0/SkinnableDataContainer/srcview/source/skins/TDFPanelSkin.mxml.html" openLinksExternal="true"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4.0/SkinnableDataContainer/srcview/" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=SkinnableDataContainer" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31160" name="Tabbed Navigation (2)" author="Holly Schinsky" dateAdded="2009-11-16" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TabNavigator.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Tabbed Navigation">
+ <Illustrations>
+ <Illustration name="Tabbed Navigation" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/sample1.html">
+ <Documents>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/srcview/index.html" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ <Illustration name="Custom Tabs" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/sample2.html">
+ <Documents>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/srcview/index.html" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31165" name="TileGroup" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TileGroup.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - TileGroup">
+ <Illustrations>
+ <Illustration name="TileGroup" path="http://tourdeflex.adobe.com/flex4.0/TileGroup/TileGroupSample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/TileGroup/srcview/source/TileGroupSample.mxml.html" openLinksExternal="true"/>
+ <Document name="TDFPanelSkin" path="http://tourdeflex.adobe.com/flex4.0/TileGroup/srcview/source/skins/TDFPanelSkin.mxml.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=TileGroup" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70020" name="TitleWindow" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TitleWindow.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - TitleWindow">
+ <Illustrations>
+ <Illustration name="TitleWindow" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-TitleWindow/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-TitleWindow/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-TitleWindow/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=TitleWindow" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ </Category>
+ <Category name="Navigators">
+ <Object id="70170" name="Accordion" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Accordion.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Accordion">
+ <Illustrations>
+ <Illustration name="Accordion" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Accordion/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Accordion/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Accordion/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/containers&topic=Accordion" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70180" name="LinkBar" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/LinkBar.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - LinkBar">
+ <Illustrations>
+ <Illustration name="LinkBar" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LinkBar/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LinkBar/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LinkBar/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/containers&topic=LinkBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70190" name="TabNavigator" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TabNavigator.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - TabNavigator">
+ <Illustrations>
+ <Illustration name="TabNavigator" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-TabNavigator/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-TabNavigator/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-TabNavigator/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/containers&topic=TabNavigator" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70200" name="ToggleButtonBar" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/ToggleButtonBar/ButtonBar.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ToggleButtonBar">
+ <Illustrations>
+ <Illustration name="ToggleButtonBar" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ToggleButtonBar/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ToggleButtonBar/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ToggleButtonBar/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=ToggleButtonBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70210" name="ViewStack" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ViewStack.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ViewStack">
+ <Illustrations>
+ <Illustration name="ViewStack" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ViewStack/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ViewStack/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ViewStack/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/containers&topic=ViewStack" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ </Category>
+ <Category name="Charts">
+ <Object id="70220" name="AreaChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/AreaChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - AreaChart">
+ <Illustrations>
+ <Illustration name="AreaChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-AreaChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-AreaChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-AreaChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=AreaChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70230" name="BarChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/BarChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - BarChart">
+ <Illustrations>
+ <Illustration name="BarChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-BarChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-BarChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-BarChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=BarChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70240" name="BubbleChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/BubbleChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - BubbleChart">
+ <Illustrations>
+ <Illustration name="BubbleChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-BubbleChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-BubbleChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-BubbleChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=BubbleChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70250" name="CandlestickChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/CandlestickChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - CandlestickChart">
+ <Illustrations>
+ <Illustration name="CandlestickChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-CandlestickChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-CandlestickChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-CandlestickChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=CandlestickChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70270" name="ColumnChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ColumnChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ColumnChart">
+ <Illustrations>
+ <Illustration name="ColumnChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ColumnChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ColumnChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ColumnChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=ColumnChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70280" name="HLOCChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/HLOCChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - HLOCChart">
+ <Illustrations>
+ <Illustration name="HLOCChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-HLOCChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-HLOCChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-HLOCChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=HLOCChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70290" name="LineChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/LineChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - LineChart">
+ <Illustrations>
+ <Illustration name="LineChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LineChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LineChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LineChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=LineChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70300" name="PieChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/PieChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - PieChart">
+ <Illustrations>
+ <Illustration name="PieChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PieChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PieChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PieChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=PieChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70310" name="PlotChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/PlotChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - PlotChart">
+ <Illustrations>
+ <Illustration name="PlotChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PlotChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PlotChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PlotChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=PlotChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Category name="Charting Effects">
+ <Object id="70320" name="SeriesInterpolate" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SeriesInterpolate/Effects.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SeriesInterploate">
+ <Illustrations>
+ <Illustration name="SeriesInterpolate" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesInterploate/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesInterploate/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesInterploate/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts/effects&topic=SeriesInterpolate" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70330" name="SeriesSlide" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SeriesSlide/Effects.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SeriesSlide">
+ <Illustrations>
+ <Illustration name="SeriesSlide" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesSlide/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesSlide/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesSlide/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts/effects&topic=SeriesSlide" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70340" name="SeriesZoom" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SeriesZoom/Effects.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SeriesZoom">
+ <Illustrations>
+ <Illustration name="SeriesZoom" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesZoom/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesZoom/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesZoom/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts/effects&topic=SeriesZoom" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ </Category>
+ </Category>
+ <Category name="Graphics">
+ <Object id="31799" name="Read Me" iconPath="http://tourdeflex.adobe.com/samples/common/adobe.png" author="Holly Schinsky" tags="readme">
+ <Illustrations>
+ <Illustration name="Read Me" path="http://tourdeflex.adobe.com/flex4samples/Graphics/fxg-readme.html" autoExpand="true" openLinksExternal="true"/>
+ </Illustrations>
+ </Object>
+ <Object id="31805" name="BitmapImage" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - BitmapImage">
+ <Illustrations>
+ <Illustration name="BitmapImage" path="http://tourdeflex.adobe.com/flex4.0/FXG/BitmapImage/BitmapImageExample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/BitmapImage/srcview/source/BitmapImageExample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/BitmapImage/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4.0/FXG/BitmapImage/srcview/index.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/primitives&topic=BitmapImage" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31800" name="DropShadow Graphic" author="Joan Lafferty" dateAdded="2009-09-04" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DropShadowGraphic">
+ <Illustrations>
+ <Illustration name="DropShadow Graphic" path="http://tourdeflex.adobe.com/flex4samples/Graphics/DropShadowGraphic/DropShadowGraphicExample.html">
+ <Documents>
+ <Document name="DropShadowGraphicExample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/DropShadowGraphic/srcview/source/DropShadowGraphicExample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/DropShadowGraphic/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=flash/filters&topic=DropShadowFilter" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31885" name="Ellipse" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Ellipse">
+ <Illustrations>
+ <Illustration name="Ellipse" path="http://tourdeflex.adobe.com/flex4.0/FXG/Ellipse/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/Ellipse/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/Ellipse/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/primitives&topic=Ellipse" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31900" name="Ellipse Transform" author="Joan Lafferty" dateAdded="2009-09-04" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - EllipseTransform">
+ <Illustrations>
+ <Illustration name="Ellipse Transform" path="http://tourdeflex.adobe.com/flex4samples/Graphics/EllipseTransform/EllipseTransformExample.html">
+ <Documents>
+ <Document name="EllipseTransformExample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/EllipseTransform/srcview/source/EllipseTransformExample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/EllipseTransform/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/primitives&topic=Ellipse" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31905" name="Line" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Line">
+ <Illustrations>
+ <Illustration name="Line" path="http://tourdeflex.adobe.com/flex4.0/FXG/Line/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/Line/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/Line/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/primitives&topic=Line" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="32000" name="Linear Gradient Spread" author="Joan Lafferty" dateAdded="2009-09-04" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - LinearGradientSpreadMethod">
+ <Illustrations>
+ <Illustration name="LinearGradient Spread" path="http://tourdeflex.adobe.com/flex4samples/Graphics/LinearGradientSpread/LinearGradientsSpreadMethodExample.html">
+ <Documents>
+ <Document name="LinearGradientSpreadMethodExample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/LinearGradientSpread/srcview/source/LinearGradientsSpreadMethodExample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/LinearGradientSpread/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/graphics&topic=LinearGradient" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="32100" name="Static FXG" author="Joan Lafferty" dateAdded="2009-09-04" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Static FXG">
+ <Illustrations>
+ <Illustration name="Static FXG" path="http://tourdeflex.adobe.com/flex4samples/Graphics/StaticFXG/StaticFXG_Sample.html">
+ <Documents>
+ <Document name="StaticFXG_Sxample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/StaticFXG/srcview/source/StaticFXG_Sample.mxml.html"/>
+ <Document name="OrangeCrayonStar.fxg" path="http://tourdeflex.adobe.com/flex4samples/Graphics/StaticFXG/srcview/source/OrangeCrayonStar.fxg"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/StaticFXG/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ </Category>
+ <Category name="Effects">
+ <Object id="31199" name="Read Me" iconPath="http://tourdeflex.adobe.com/samples/common/adobe.png" author="Holly Schinsky" tags="readme">
+ <Illustrations>
+ <Illustration name="Read Me" path="http://tourdeflex.adobe.com/flex4samples/Effects/effects-readme.html" autoExpand="true" openLinksExternal="true"/>
+ </Illustrations>
+ </Object>
+ <Object id="31202" name="AnimateProperties" author="David Flatley" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - AnimateProperties">
+ <Illustrations>
+ <Illustration name="AnimateProperties" path="http://tourdeflex.adobe.com/flex4samples/Effects/AnimateProperties/Sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/AnimateProperties/srcview/source/Sample.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/Effects/AnimateProperties/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=Animate" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31205" name="AnimateTransitionShader" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - AnimateTransitionShader - Bounce">
+ <Illustrations>
+ <Illustration name="AnimateTransitionShader" path="http://tourdeflex.adobe.com/flex4.0/AnimateShaderTransitionEffect/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/AnimateShaderTransitionEffect/srcview/source/sample.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4.0/AnimateShaderTransitionEffect/srcview/" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=AnimateTransitionShader" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31200" name="AnimateTransform" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - AnimateTransform - Bounce">
+ <Illustrations>
+ <Illustration name="AnimateTransform" path="http://tourdeflex.adobe.com/flex4samples/Effects/AnimateTransform-Bounce/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/AnimateTransform-Bounce/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/AnimateTransform-Bounce/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=AnimateTransform" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31250" name="Fade" author="Holly Schinsky" dateAdded="2009-10-20" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Fade Effect">
+ <Illustrations>
+ <Illustration name="Fade" path="http://tourdeflex.adobe.com/flex4samples/Effects/Fade/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/Fade/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/Fade/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/Effects/Fade/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=Fade" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31253" name="CrossFade" author="Holly Schinsky" dateAdded="2009-10-20" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Cross Fade Effect">
+ <Illustrations>
+ <Illustration name="CrossFade" path="http://tourdeflex.adobe.com/flex4samples/Effects/CrossFade/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/CrossFade/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/CrossFade/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/Effects/CrossFade/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=CrossFade" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31256" name="Move3D" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Move3D Effect">
+ <Illustrations>
+ <Illustration name="Move3D" path="http://tourdeflex.adobe.com/flex4.0/Move3D/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Move3D/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Move3D/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4.0/Move3D/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=Move3D" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31300" name="Rotate3D" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Rotate3D">
+ <Illustrations>
+ <Illustration name="Rotate3D" path="http://tourdeflex.adobe.com/flex4samples/Effects/Rotate3D/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/Rotate3D/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/Rotate3D/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=Rotate3D" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31400" name="Scale3D" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Scale3D">
+ <Illustrations>
+ <Illustration name="Scale3D" path="http://tourdeflex.adobe.com/flex4samples/Effects/Scale3D/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/Scale3D/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/Rotate3D/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=Scale3D" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31405" name="Wipe" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Move3D Effect">
+ <Illustrations>
+ <Illustration name="Wipe" path="http://tourdeflex.adobe.com/flex4.0/Wipe/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Wipe/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Wipe/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4.0/Wipe/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=Wipe" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ </Category>
+ <Category name="Formatters">
+ <Object id="70440" name="Formatter" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/Formatter/formattericon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Formatter">
+ <Illustrations>
+ <Illustration name="Formatter" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Formatter/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Formatter/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Formatter/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/formatters&topic=Formatter" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70450" name="CurrencyFormatter" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/Formatter/formattericon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - CurrencyFormatter">
+ <Illustrations>
+ <Illustration name="CurrencyFormatter" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-CurrencyFormatter/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-CurrencyFormatter/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-CurrencyFormatter/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/formatters&topic=CurrencyFormatter" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70070" name="DateFormatter" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/Formatter/formattericon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DateFormatter">
+ <Illustrations>
+ <Illustration name="DateFormatter" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateFormatter/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateFormatter/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateFormatter/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/formatters&topic=DateFormatter" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70460" name="NumberFormatter" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/Formatter/formattericon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - NumberFormatter">
+ <Illustrations>
+ <Illustration name="NumberFormatter" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-NumberFormatter/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-NumberFormatter/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-NumberFormatter/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/formatters&topic=NumberFormatter" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70470" name="PhoneFormatter" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/Formatter/formattericon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - PhoneFormatter">
+ <Illustrations>
+ <Illustration name="PhoneFormatter" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PhoneFormatter/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PhoneFormatter/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PhoneFormatter/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/formatters&topic=PhoneFormatter" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70480" name="SwitchSymbolFormatter" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/Formatter/formattericon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SwitchSymbolFormatter">
+ <Illustrations>
+ <Illustration name="SwitchSymbolFormatter" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SwitchSymbolFormatter/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SwitchSymbolFormatter/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SwitchSymbolFormatter/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=m
<TRUNCATED>
[06/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/HOWTO/SourceStyles.css
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/HOWTO/SourceStyles.css b/TourDeFlex/TourDeFlex/src/objects/HOWTO/SourceStyles.css
new file mode 100644
index 0000000..639c39a
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/HOWTO/SourceStyles.css
@@ -0,0 +1,146 @@
+/*
+ * 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.
+ */
+body {
+ font-family: Courier New, Courier, monospace;
+}
+
+.CSS@font-face {
+ color: #990000;
+ font-weight: bold;
+}
+
+.CSS@import {
+ color: #006666;
+ font-weight: bold;
+}
+
+.CSS@media {
+ color: #663333;
+ font-weight: bold;
+}
+
+.CSSComment {
+ color: #999999;
+}
+
+.CSSDefault_Text {
+}
+
+.CSSDelimiters {
+}
+
+.CSSProperty_Name {
+ color: #330099;
+}
+
+.CSSProperty_Value {
+ color: #3333cc;
+}
+
+.CSSSelector {
+ color: #ff00ff;
+}
+
+.CSSString {
+ color: #990000;
+}
+
+.ActionScriptASDoc {
+ color: #3f5fbf;
+}
+
+.ActionScriptBracket/Brace {
+}
+
+.ActionScriptComment {
+ color: #009900;
+ font-style: italic;
+}
+
+.ActionScriptDefault_Text {
+}
+
+.ActionScriptMetadata {
+ color: #0033ff;
+ font-weight: bold;
+}
+
+.ActionScriptOperator {
+}
+
+.ActionScriptReserved {
+ color: #0033ff;
+ font-weight: bold;
+}
+
+.ActionScriptString {
+ color: #990000;
+ font-weight: bold;
+}
+
+.ActionScriptclass {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScriptfunction {
+ color: #339966;
+ font-weight: bold;
+}
+
+.ActionScriptinterface {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScriptpackage {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScripttrace {
+ color: #cc6666;
+ font-weight: bold;
+}
+
+.ActionScriptvar {
+ color: #6699cc;
+ font-weight: bold;
+}
+
+.MXMLComment {
+ color: #800000;
+}
+
+.MXMLComponent_Tag {
+ color: #0000ff;
+}
+
+.MXMLDefault_Text {
+}
+
+.MXMLProcessing_Instruction {
+}
+
+.MXMLSpecial_Tag {
+ color: #006633;
+}
+
+.MXMLString {
+ color: #990000;
+}
+
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/SourceStyles.css
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/SourceStyles.css b/TourDeFlex/TourDeFlex/src/objects/SourceStyles.css
new file mode 100644
index 0000000..639c39a
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/SourceStyles.css
@@ -0,0 +1,146 @@
+/*
+ * 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.
+ */
+body {
+ font-family: Courier New, Courier, monospace;
+}
+
+.CSS@font-face {
+ color: #990000;
+ font-weight: bold;
+}
+
+.CSS@import {
+ color: #006666;
+ font-weight: bold;
+}
+
+.CSS@media {
+ color: #663333;
+ font-weight: bold;
+}
+
+.CSSComment {
+ color: #999999;
+}
+
+.CSSDefault_Text {
+}
+
+.CSSDelimiters {
+}
+
+.CSSProperty_Name {
+ color: #330099;
+}
+
+.CSSProperty_Value {
+ color: #3333cc;
+}
+
+.CSSSelector {
+ color: #ff00ff;
+}
+
+.CSSString {
+ color: #990000;
+}
+
+.ActionScriptASDoc {
+ color: #3f5fbf;
+}
+
+.ActionScriptBracket/Brace {
+}
+
+.ActionScriptComment {
+ color: #009900;
+ font-style: italic;
+}
+
+.ActionScriptDefault_Text {
+}
+
+.ActionScriptMetadata {
+ color: #0033ff;
+ font-weight: bold;
+}
+
+.ActionScriptOperator {
+}
+
+.ActionScriptReserved {
+ color: #0033ff;
+ font-weight: bold;
+}
+
+.ActionScriptString {
+ color: #990000;
+ font-weight: bold;
+}
+
+.ActionScriptclass {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScriptfunction {
+ color: #339966;
+ font-weight: bold;
+}
+
+.ActionScriptinterface {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScriptpackage {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScripttrace {
+ color: #cc6666;
+ font-weight: bold;
+}
+
+.ActionScriptvar {
+ color: #6699cc;
+ font-weight: bold;
+}
+
+.MXMLComment {
+ color: #800000;
+}
+
+.MXMLComponent_Tag {
+ color: #0000ff;
+}
+
+.MXMLDefault_Text {
+}
+
+.MXMLProcessing_Instruction {
+}
+
+.MXMLSpecial_Tag {
+ color: #006633;
+}
+
+.MXMLString {
+ color: #990000;
+}
+
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/plugin/Component.as
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/plugin/Component.as b/TourDeFlex/TourDeFlex/src/plugin/Component.as
new file mode 100644
index 0000000..2cdbd93
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/plugin/Component.as
@@ -0,0 +1,72 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package plugin
+{
+ //import merapi.messages.*;
+
+ import mx.collections.ArrayCollection;
+
+ [RemoteClass(alias="com.adobe.tourdeflex.core.Component")]
+
+ public class Component //extends Message
+ {
+ // ---------------------------- variables ---------------------
+ private var __id : String;
+ private var __name : String;
+ private var __description : String;
+ private var __author : String;
+
+ // ---------------------------- getters & setters ---------------------
+
+ public function get id() : String
+ {
+ return __id;
+ }
+ public function set id( value : String ) : void
+ {
+ __id = value;
+ }
+
+ public function get name() : String
+ {
+ return __name;
+ }
+ public function set name( value : String ) : void
+ {
+ __name = value;
+ }
+ public function get description() : String
+ {
+ return __description;
+ }
+ public function set description( value : String ) : void
+ {
+ __description = value;
+ }
+ public function get author() : String
+ {
+ return __author;
+ }
+ public function set author( value : String ) : void
+ {
+ __author = value;
+ }
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/plugin/TDFPluginTransferObject.as
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/plugin/TDFPluginTransferObject.as b/TourDeFlex/TourDeFlex/src/plugin/TDFPluginTransferObject.as
new file mode 100644
index 0000000..1f59cf0
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/plugin/TDFPluginTransferObject.as
@@ -0,0 +1,66 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package plugin
+{
+ import merapi.messages.*;
+
+ import mx.collections.ArrayCollection;
+
+ [RemoteClass(alias="com.adobe.tourdeflex.core.TDFPluginTransferObject")]
+
+ public class TDFPluginTransferObject extends Message
+ {
+ // ---------------------------- variables ---------------------
+ private var __components : ArrayCollection;
+ private var __pluginDownloadPath : String;
+ private var __selectedComponentId : String;
+
+ // ---------------------------- constructor ---------------------
+ public function TDFPluginTransferObject() : void
+ {
+
+ }
+
+ // ---------------------------- getters & setters ---------------------
+ public function get components() : ArrayCollection
+ {
+ return __components;
+ }
+ public function set components( value : ArrayCollection ) : void
+ {
+ __components = value;
+ }
+ public function get pluginDownloadPath() : String
+ {
+ return __pluginDownloadPath;
+ }
+ public function set pluginDownloadPath( value : String ) : void
+ {
+ __pluginDownloadPath = value;
+ }
+ public function get selectedComponentId() : String
+ {
+ return __selectedComponentId;
+ }
+ public function set selectedComponentId( value : String ) : void
+ {
+ __selectedComponentId = value;
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/styles.css
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/styles.css b/TourDeFlex/TourDeFlex/src/styles.css
new file mode 100644
index 0000000..be8c857
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/styles.css
@@ -0,0 +1,420 @@
+/*
+ * 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.
+ */
+@namespace mx "library://ns.adobe.com/flex/mx";
+
+mx|Application
+{
+ theme-color:#E0E0E0;
+ modal-transparency:0.5;
+ modal-transparency-blur:0;
+}
+
+/* todo: use apache font
+@font-face {
+ src: url("assets/MyriadWebPro.ttf");
+ fontFamily: eFontFamily;
+}
+*/
+
+.mainWindow
+{
+ /* background-color:#262626; */
+}
+
+.mainBackground
+{
+ background-color:#262626;
+}
+
+.applicationHeader
+{
+ borderSkin: Embed(skinClass='TopPanelWLogo');
+}
+
+.applicationFooter
+{
+ borderSkin: Embed(skinClass='FootPanel');
+ color:#A4A4A4;
+}
+
+.applicationCloseButton
+{
+ /* icon: Embed(skinClass='CloseIcon');
+ skin: Embed(source="images/button_clear.png"); */
+ skin: Embed(skinClass='CloseButton');
+}
+
+.applicationMaximizeButton
+{
+ /* icon: Embed(skinClass='WindowIcon');
+ skin: Embed(source="images/button_clear.png"); */
+ skin: Embed(skinClass='WindowButton');
+}
+
+.applicationMinimizeButton
+{
+ /* icon: Embed(skinClass='MinimizeIcon');
+ skin: Embed(source="images/button_clear.png"); */
+ skin: Embed(skinClass='MinimizeButton');
+}
+
+.aboutButton
+{
+ skin: Embed(skinClass='AboutButton');
+}
+
+.aboutComboBox
+{
+ skin: Embed(skinClass='DropMenu');
+ color:#DDDDDD;
+ alternatingItemColors:#222222,#222222;
+}
+
+mx|Alert
+{
+ color:#323232;
+ background-color:#E3E3E3;
+ border-color:#000000;
+ border-alpha: 0.7;
+ header-height:20;
+ theme-color: #848484;
+ title-style-name:alertTitle;
+}
+
+.alertTitle
+{
+ color:#FFFFFF;
+ font-weight:bold;
+}
+
+.outerDividedBoxes
+{
+ /* background-color:#D4CDCA;
+ corner-radius:8;
+ border-style:solid;
+ padding-bottom:8;
+ padding-left:8;
+ padding-right:8;
+ padding-top:8; */
+ backgroundImage: Embed(skinClass='BoxSkin');
+ backgroundSize: "100%";
+ paddingTop: 7;
+ paddingLeft: 7;
+ paddingRight: 9;
+ paddingBottom: 16;
+}
+
+.illustrationsBox
+{
+ background-color:#AFA7A1;
+ backgroundAlpha: 0.2;
+ corner-radius:5;
+ border-style:solid;
+ border-color:#C4C2C2;
+ border-alpha: 0.5;
+ padding-bottom:5;
+ padding-left:5;
+ padding-right:5;
+ padding-top:5;
+}
+
+.illustrationTabs
+{
+ background-color:#AEAEAE;
+ border-color:#aea6a0;
+ background-alpha: 0.5;
+ padding-top:1;
+ horizontal-gap:2;
+ tab-height:20;
+}
+
+.illustrationFirstTab
+{
+ border-color:#555555;
+ backgroundColor:#888888;
+ font-weight:normal;
+}
+
+.illustrationLastTab
+{
+ border-color:#555555;
+ backgroundColor:#888888;
+ font-weight:normal;
+}
+
+.illustrationTab
+{
+ border-color:#555555;
+ corner-radius:6;
+ backgroundColor:#888888;
+ font-weight:normal;
+}
+
+.illustrationTabSelected
+{
+ color: #ffffff;
+ font-weight:bold;
+}
+
+.documentTabs
+{
+ background-color:#AEAEAE;
+ border-color:#AFA7A1;
+ background-alpha: 0.7;
+ padding-top:1;
+ horizontal-gap:2;
+ tab-height:20;
+}
+
+.documentFirstTab
+{
+ border-color:#555555;
+ backgroundColor:#888888;
+ font-weight:normal;
+}
+
+.documentLastTab
+{
+ border-color:#555555;
+ backgroundColor:#888888;
+ font-weight:normal;
+}
+
+.documentTab
+{
+ border-color:#555555;
+ corner-radius:6;
+ backgroundColor:#888888;
+ font-weight:normal;
+}
+
+.documentTabSelected
+{
+ color: #ffffff;
+ font-weight:bold;
+}
+
+.wipeWindow
+{
+ background-alpha:1.0;
+ /* background-color:#D4CDCA; */
+ background-image: Embed(skinClass='BoxSkin');
+ background-size: "100%";
+ /* border-color:#D4CDCA; */
+ /* border-style:solid; */
+ corner-radius:8;
+ padding-bottom:12;
+ padding-left:8;
+ padding-right:24;
+ padding-top:8;
+}
+
+.searchWindowTagBox
+{
+ background-color:#AFA7A1;
+ background-alpha: 0.2;
+ corner-radius:5;
+ border-style:solid;
+ border-color:#C4C2C2;
+ padding-bottom:8;
+ padding-left:8;
+ padding-right:8;
+ padding-top:8;
+}
+
+.searchWindowTags
+{
+ background-color:#AEAEAE;
+ border-color:#AFA7A1;
+ background-alpha: 0.5;
+ corner-radius:5;
+ border-style:solid;
+ padding-bottom:8;
+ padding-left:8;
+ padding-right:8;
+ padding-top:8;
+}
+
+.tagGridFirstRowItem
+{
+ padding-left:8;
+ padding-top:8;
+}
+
+.tagGridFirstRow
+{
+ border-sides:left;
+ border-style:solid;
+ border-color:#ACACAC;
+ padding-left:8;
+ padding-top:8;
+}
+
+.tagGridFirstItem
+{
+ border-sides:top;
+ border-style:solid;
+ border-color:#ACACAC;
+ padding-left:8;
+ padding-top:8;
+}
+
+.tagGridItem
+{
+ border-sides:left,top;
+ border-style:solid;
+ border-color:#ACACAC;
+ padding-left:8;
+ padding-top:8;
+}
+
+.tagCheckBox
+{
+ font-size:12;
+}
+
+.headingLabel
+{
+ font-weight:bold;
+ font-size:12;
+}
+
+mx|Button
+{
+ skin: Embed(skinClass='ButtonSkin');
+}
+
+mx|ComboBox
+{
+ skin: Embed(skinClass='DropDownSkin');
+ fontWeight: "normal";
+}
+
+.buttonSkin
+{
+ skin: Embed(skinClass='ButtonSkin');
+}
+
+mx|ToggleButtonBar
+{
+ buttonStyleName: "toggleButtonBarButton";
+ firstButtonStyleName: "toggleButtonBarFirstButton";
+ lastButtonStyleName: "toggleButtonBarLastButton";
+}
+.toggleButtonBarButton
+{
+ skin: Embed(skinClass="ToggleButtonBar$button_skin");
+}
+.toggleButtonBarFirstButton
+{
+ skin: Embed(skinClass="ToggleButtonBar$firstButton_skin");
+}
+.toggleButtonBarLastButton
+{
+ skin: Embed(skinClass="ToggleButtonBar$lastButton_skin");
+}
+
+mx|TabNavigator
+{
+ tabStyleName: "tabBarTab";
+ firstTabStyleName: "tabBarTab";
+ lastTabStyleName: "tabBarTab";
+}
+
+mx|TabBar
+{
+ tabStyleName: "tabBarTab";
+ firstTabStyleName: "tabBarTab";
+ lastTabStyleName: "tabBarTab";
+}
+.tabBarTab
+{
+ skin: Embed(skinClass="TabBar$tab_skin");
+}
+
+.closeButton
+{
+ /* overSkin: Embed("images/button_close_overSkin.png");
+ upSkin: Embed("images/button_close_upSkin.png");
+ downSkin: Embed("images/button_close_downSkin.png"); */
+ skin: Embed(skinClass='SearchCloseButton');
+}
+
+.commentButton
+{
+ icon: Embed("images/button_comment_icon.png");
+ disabled-icon: Embed("images/button_commentDisabled_icon.png");
+}
+
+.downloadButton
+{
+ icon: Embed("images/button_download_icon.png");
+ disabled-icon: Embed("images/button_downloadDisabled_icon.png");
+}
+
+.buttonBrowser
+{
+ icon: Embed("images/web.png");
+ disabled-icon: Embed("images/web_disabled.png");
+}
+
+.maximizeButton
+{
+ icon: Embed("images/expand.png");
+ disabled-icon: Embed("images/expand_disabled.png");
+}
+
+.searchButton
+{
+ /* icon: Embed("images/button_search_icon.png"); */
+ icon: Embed(skinClass='SearchIcon');
+ fontWeight: "normal";
+}
+
+.downloadWindow
+{
+ bar-color:#9D0B12;
+ background-color:#AFA7A1;
+ corner-radius:12;
+ border-style:solid;
+ rounded-bottom-corners:true;
+ padding-bottom:8;
+ padding-left:8;
+ padding-right:8;
+ padding-top:8;
+}
+
+.cornerResizer
+{
+ overSkin: Embed("images/corner_resizer.png");
+ upSkin: Embed("images/corner_resizer.png");
+ downSkin: Embed("images/corner_resizer.png");
+}
+
+mx|Tree
+{
+ rollOverColor: #EEEEEE;
+ selectionColor: #E0E0E0;
+ indentation: 21;
+}
+
+mx|List, mx|ComboBox
+{
+ rollOverColor: #EEEEEE;
+ selectionColor: #E0E0E0;
+}
+
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/html-template/history/history.css
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/html-template/history/history.css b/TourDeFlex/TourDeFlex3/html-template/history/history.css
new file mode 100755
index 0000000..822d47e
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/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 }
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/html-template/history/history.js
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/html-template/history/history.js b/TourDeFlex/TourDeFlex3/html-template/history/history.js
new file mode 100755
index 0000000..1f41c7f
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/html-template/history/history.js
@@ -0,0 +1,694 @@
+/*
+ * 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.
+ */
+BrowserHistoryUtils = {
+ addEvent: function(elm, evType, fn, useCapture) {
+ useCapture = useCapture || false;
+ if (elm.addEventListener) {
+ elm.addEventListener(evType, fn, useCapture);
+ return true;
+ }
+ else if (elm.attachEvent) {
+ var r = elm.attachEvent('on' + evType, fn);
+ return r;
+ }
+ else {
+ elm['on' + evType] = fn;
+ }
+ }
+}
+
+BrowserHistory = (function() {
+ // type of browser
+ var browser = {
+ ie: false,
+ ie8: false,
+ firefox: false,
+ safari: false,
+ opera: false,
+ version: -1
+ };
+
+ // Default app state URL to use when no fragment ID present
+ var defaultHash = '';
+
+ // Last-known app state URL
+ var currentHref = document.location.href;
+
+ // Initial URL (used only by IE)
+ var initialHref = document.location.href;
+
+ // Initial URL (used only by IE)
+ var initialHash = document.location.hash;
+
+ // History frame source URL prefix (used only by IE)
+ var historyFrameSourcePrefix = 'history/historyFrame.html?';
+
+ // History maintenance (used only by Safari)
+ var currentHistoryLength = -1;
+
+ // Flag to denote the existence of onhashchange
+ var browserHasHashChange = false;
+
+ var historyHash = [];
+
+ var initialState = createState(initialHref, initialHref + '#' + initialHash, initialHash);
+
+ var backStack = [];
+ var forwardStack = [];
+
+ var currentObjectId = null;
+
+ //UserAgent detection
+ var useragent = navigator.userAgent.toLowerCase();
+
+ if (useragent.indexOf("opera") != -1) {
+ browser.opera = true;
+ } else if (useragent.indexOf("msie") != -1) {
+ browser.ie = true;
+ browser.version = parseFloat(useragent.substring(useragent.indexOf('msie') + 4));
+ if (browser.version == 8)
+ {
+ browser.ie = false;
+ browser.ie8 = true;
+ }
+ } else if (useragent.indexOf("safari") != -1) {
+ browser.safari = true;
+ browser.version = parseFloat(useragent.substring(useragent.indexOf('safari') + 7));
+ } else if (useragent.indexOf("gecko") != -1) {
+ browser.firefox = true;
+ }
+
+ if (browser.ie == true && browser.version == 7) {
+ window["_ie_firstload"] = false;
+ }
+
+ function hashChangeHandler()
+ {
+ currentHref = document.location.href;
+ var flexAppUrl = getHash();
+ //ADR: to fix multiple
+ if (typeof BrowserHistory_multiple != "undefined" && BrowserHistory_multiple == true) {
+ var pl = getPlayers();
+ for (var i = 0; i < pl.length; i++) {
+ pl[i].browserURLChange(flexAppUrl);
+ }
+ } else {
+ getPlayer().browserURLChange(flexAppUrl);
+ }
+ }
+
+ // Accessor functions for obtaining specific elements of the page.
+ function getHistoryFrame()
+ {
+ return document.getElementById('ie_historyFrame');
+ }
+
+ function getFormElement()
+ {
+ return document.getElementById('safari_formDiv');
+ }
+
+ function getRememberElement()
+ {
+ return document.getElementById("safari_remember_field");
+ }
+
+ // Get the Flash player object for performing ExternalInterface callbacks.
+ // Updated for changes to SWFObject2.
+ function getPlayer(id) {
+ var i;
+
+ if (id && document.getElementById(id)) {
+ var r = document.getElementById(id);
+ if (typeof r.SetVariable != "undefined") {
+ return r;
+ }
+ else {
+ var o = r.getElementsByTagName("object");
+ var e = r.getElementsByTagName("embed");
+ for (i = 0; i < o.length; i++) {
+ if (typeof o[i].browserURLChange != "undefined")
+ return o[i];
+ }
+ for (i = 0; i < e.length; i++) {
+ if (typeof e[i].browserURLChange != "undefined")
+ return e[i];
+ }
+ }
+ }
+ else {
+ var o = document.getElementsByTagName("object");
+ var e = document.getElementsByTagName("embed");
+ for (i = 0; i < e.length; i++) {
+ if (typeof e[i].browserURLChange != "undefined")
+ {
+ return e[i];
+ }
+ }
+ for (i = 0; i < o.length; i++) {
+ if (typeof o[i].browserURLChange != "undefined")
+ {
+ return o[i];
+ }
+ }
+ }
+ return undefined;
+ }
+
+ function getPlayers() {
+ var i;
+ var players = [];
+ if (players.length == 0) {
+ var tmp = document.getElementsByTagName('object');
+ for (i = 0; i < tmp.length; i++)
+ {
+ if (typeof tmp[i].browserURLChange != "undefined")
+ players.push(tmp[i]);
+ }
+ }
+ if (players.length == 0 || players[0].object == null) {
+ var tmp = document.getElementsByTagName('embed');
+ for (i = 0; i < tmp.length; i++)
+ {
+ if (typeof tmp[i].browserURLChange != "undefined")
+ players.push(tmp[i]);
+ }
+ }
+ return players;
+ }
+
+ function getIframeHash() {
+ var doc = getHistoryFrame().contentWindow.document;
+ var hash = String(doc.location.search);
+ if (hash.length == 1 && hash.charAt(0) == "?") {
+ hash = "";
+ }
+ else if (hash.length >= 2 && hash.charAt(0) == "?") {
+ hash = hash.substring(1);
+ }
+ return hash;
+ }
+
+ /* Get the current location hash excluding the '#' symbol. */
+ function getHash() {
+ // It would be nice if we could use document.location.hash here,
+ // but it's faulty sometimes.
+ var idx = document.location.href.indexOf('#');
+ return (idx >= 0) ? document.location.href.substr(idx+1) : '';
+ }
+
+ /* Get the current location hash excluding the '#' symbol. */
+ function setHash(hash) {
+ // It would be nice if we could use document.location.hash here,
+ // but it's faulty sometimes.
+ if (hash == '') hash = '#'
+ document.location.hash = hash;
+ }
+
+ function createState(baseUrl, newUrl, flexAppUrl) {
+ return { 'baseUrl': baseUrl, 'newUrl': newUrl, 'flexAppUrl': flexAppUrl, 'title': null };
+ }
+
+ /* Add a history entry to the browser.
+ * baseUrl: the portion of the location prior to the '#'
+ * newUrl: the entire new URL, including '#' and following fragment
+ * flexAppUrl: the portion of the location following the '#' only
+ */
+ function addHistoryEntry(baseUrl, newUrl, flexAppUrl) {
+
+ //delete all the history entries
+ forwardStack = [];
+
+ if (browser.ie) {
+ //Check to see if we are being asked to do a navigate for the first
+ //history entry, and if so ignore, because it's coming from the creation
+ //of the history iframe
+ if (flexAppUrl == defaultHash && document.location.href == initialHref && window['_ie_firstload']) {
+ currentHref = initialHref;
+ return;
+ }
+ if ((!flexAppUrl || flexAppUrl == defaultHash) && window['_ie_firstload']) {
+ newUrl = baseUrl + '#' + defaultHash;
+ flexAppUrl = defaultHash;
+ } else {
+ // for IE, tell the history frame to go somewhere without a '#'
+ // in order to get this entry into the browser history.
+ getHistoryFrame().src = historyFrameSourcePrefix + flexAppUrl;
+ }
+ setHash(flexAppUrl);
+ } else {
+
+ //ADR
+ if (backStack.length == 0 && initialState.flexAppUrl == flexAppUrl) {
+ initialState = createState(baseUrl, newUrl, flexAppUrl);
+ } else if(backStack.length > 0 && backStack[backStack.length - 1].flexAppUrl == flexAppUrl) {
+ backStack[backStack.length - 1] = createState(baseUrl, newUrl, flexAppUrl);
+ }
+
+ if (browser.safari && !browserHasHashChange) {
+ // for Safari, submit a form whose action points to the desired URL
+ if (browser.version <= 419.3) {
+ var file = window.location.pathname.toString();
+ file = file.substring(file.lastIndexOf("/")+1);
+ getFormElement().innerHTML = '<form name="historyForm" action="'+file+'#' + flexAppUrl + '" method="GET"></form>';
+ //get the current elements and add them to the form
+ var qs = window.location.search.substring(1);
+ var qs_arr = qs.split("&");
+ for (var i = 0; i < qs_arr.length; i++) {
+ var tmp = qs_arr[i].split("=");
+ var elem = document.createElement("input");
+ elem.type = "hidden";
+ elem.name = tmp[0];
+ elem.value = tmp[1];
+ document.forms.historyForm.appendChild(elem);
+ }
+ document.forms.historyForm.submit();
+ } else {
+ top.location.hash = flexAppUrl;
+ }
+ // We also have to maintain the history by hand for Safari
+ historyHash[history.length] = flexAppUrl;
+ _storeStates();
+ } else {
+ // Otherwise, just tell the browser to go there
+ setHash(flexAppUrl);
+ }
+ }
+ backStack.push(createState(baseUrl, newUrl, flexAppUrl));
+ }
+
+ function _storeStates() {
+ if (browser.safari) {
+ getRememberElement().value = historyHash.join(",");
+ }
+ }
+
+ function handleBackButton() {
+ //The "current" page is always at the top of the history stack.
+ var current = backStack.pop();
+ if (!current) { return; }
+ var last = backStack[backStack.length - 1];
+ if (!last && backStack.length == 0){
+ last = initialState;
+ }
+ forwardStack.push(current);
+ }
+
+ function handleForwardButton() {
+ //summary: private method. Do not call this directly.
+
+ var last = forwardStack.pop();
+ if (!last) { return; }
+ backStack.push(last);
+ }
+
+ function handleArbitraryUrl() {
+ //delete all the history entries
+ forwardStack = [];
+ }
+
+ /* Called periodically to poll to see if we need to detect navigation that has occurred */
+ function checkForUrlChange() {
+
+ if (browser.ie) {
+ if (currentHref != document.location.href && currentHref + '#' != document.location.href) {
+ //This occurs when the user has navigated to a specific URL
+ //within the app, and didn't use browser back/forward
+ //IE seems to have a bug where it stops updating the URL it
+ //shows the end-user at this point, but programatically it
+ //appears to be correct. Do a full app reload to get around
+ //this issue.
+ if (browser.version < 7) {
+ currentHref = document.location.href;
+ document.location.reload();
+ } else {
+ if (getHash() != getIframeHash()) {
+ // this.iframe.src = this.blankURL + hash;
+ var sourceToSet = historyFrameSourcePrefix + getHash();
+ getHistoryFrame().src = sourceToSet;
+ currentHref = document.location.href;
+ }
+ }
+ }
+ }
+
+ if (browser.safari && !browserHasHashChange) {
+ // For Safari, we have to check to see if history.length changed.
+ if (currentHistoryLength >= 0 && history.length != currentHistoryLength) {
+ //alert("did change: " + history.length + ", " + historyHash.length + "|" + historyHash[history.length] + "|>" + historyHash.join("|"));
+ var flexAppUrl = getHash();
+ if (browser.version < 528.16 /* Anything earlier than Safari 4.0 */)
+ {
+ // If it did change and we're running Safari 3.x or earlier,
+ // then we have to look the old state up in our hand-maintained
+ // array since document.location.hash won't have changed,
+ // then call back into BrowserManager.
+ currentHistoryLength = history.length;
+ flexAppUrl = historyHash[currentHistoryLength];
+ }
+
+ //ADR: to fix multiple
+ if (typeof BrowserHistory_multiple != "undefined" && BrowserHistory_multiple == true) {
+ var pl = getPlayers();
+ for (var i = 0; i < pl.length; i++) {
+ pl[i].browserURLChange(flexAppUrl);
+ }
+ } else {
+ getPlayer().browserURLChange(flexAppUrl);
+ }
+ _storeStates();
+ }
+ }
+ if (browser.firefox && !browserHasHashChange) {
+ if (currentHref != document.location.href) {
+ var bsl = backStack.length;
+
+ var urlActions = {
+ back: false,
+ forward: false,
+ set: false
+ }
+
+ if ((window.location.hash == initialHash || window.location.href == initialHref) && (bsl == 1)) {
+ urlActions.back = true;
+ // FIXME: could this ever be a forward button?
+ // we can't clear it because we still need to check for forwards. Ugg.
+ // clearInterval(this.locationTimer);
+ handleBackButton();
+ }
+
+ // first check to see if we could have gone forward. We always halt on
+ // a no-hash item.
+ if (forwardStack.length > 0) {
+ if (forwardStack[forwardStack.length-1].flexAppUrl == getHash()) {
+ urlActions.forward = true;
+ handleForwardButton();
+ }
+ }
+
+ // ok, that didn't work, try someplace back in the history stack
+ if ((bsl >= 2) && (backStack[bsl - 2])) {
+ if (backStack[bsl - 2].flexAppUrl == getHash()) {
+ urlActions.back = true;
+ handleBackButton();
+ }
+ }
+
+ if (!urlActions.back && !urlActions.forward) {
+ var foundInStacks = {
+ back: -1,
+ forward: -1
+ }
+
+ for (var i = 0; i < backStack.length; i++) {
+ if (backStack[i].flexAppUrl == getHash() && i != (bsl - 2)) {
+ arbitraryUrl = true;
+ foundInStacks.back = i;
+ }
+ }
+ for (var i = 0; i < forwardStack.length; i++) {
+ if (forwardStack[i].flexAppUrl == getHash() && i != (bsl - 2)) {
+ arbitraryUrl = true;
+ foundInStacks.forward = i;
+ }
+ }
+ handleArbitraryUrl();
+ }
+
+ // Firefox changed; do a callback into BrowserManager to tell it.
+ currentHref = document.location.href;
+ var flexAppUrl = getHash();
+ //ADR: to fix multiple
+ if (typeof BrowserHistory_multiple != "undefined" && BrowserHistory_multiple == true) {
+ var pl = getPlayers();
+ for (var i = 0; i < pl.length; i++) {
+ pl[i].browserURLChange(flexAppUrl);
+ }
+ } else {
+ getPlayer().browserURLChange(flexAppUrl);
+ }
+ }
+ }
+ }
+
+ var _initialize = function () {
+
+ browserHasHashChange = ("onhashchange" in document.body);
+
+ if (browser.ie)
+ {
+ var scripts = document.getElementsByTagName('script');
+ for (var i = 0, s; s = scripts[i]; i++) {
+ if (s.src.indexOf("history.js") > -1) {
+ var iframe_location = (new String(s.src)).replace("history.js", "historyFrame.html");
+ }
+ }
+ historyFrameSourcePrefix = iframe_location + "?";
+ var src = historyFrameSourcePrefix;
+
+ var iframe = document.createElement("iframe");
+ iframe.id = 'ie_historyFrame';
+ iframe.name = 'ie_historyFrame';
+ iframe.src = 'javascript:false;';
+
+ try {
+ document.body.appendChild(iframe);
+ } catch(e) {
+ setTimeout(function() {
+ document.body.appendChild(iframe);
+ }, 0);
+ }
+ }
+
+ if (browser.safari && !browserHasHashChange)
+ {
+ var rememberDiv = document.createElement("div");
+ rememberDiv.id = 'safari_rememberDiv';
+ document.body.appendChild(rememberDiv);
+ rememberDiv.innerHTML = '<input type="text" id="safari_remember_field" style="width: 500px;">';
+
+ var formDiv = document.createElement("div");
+ formDiv.id = 'safari_formDiv';
+ document.body.appendChild(formDiv);
+
+ var reloader_content = document.createElement('div');
+ reloader_content.id = 'safarireloader';
+ var scripts = document.getElementsByTagName('script');
+ for (var i = 0, s; s = scripts[i]; i++) {
+ if (s.src.indexOf("history.js") > -1) {
+ html = (new String(s.src)).replace(".js", ".html");
+ }
+ }
+ reloader_content.innerHTML = '<iframe id="safarireloader-iframe" src="about:blank" frameborder="no" scrolling="no"></iframe>';
+ document.body.appendChild(reloader_content);
+ reloader_content.style.position = 'absolute';
+ reloader_content.style.left = reloader_content.style.top = '-9999px';
+ iframe = reloader_content.getElementsByTagName('iframe')[0];
+
+ if (document.getElementById("safari_remember_field").value != "" ) {
+ historyHash = document.getElementById("safari_remember_field").value.split(",");
+ }
+ }
+
+ if (browserHasHashChange)
+ document.body.onhashchange = hashChangeHandler;
+ }
+
+ return {
+ historyHash: historyHash,
+ backStack: function() { return backStack; },
+ forwardStack: function() { return forwardStack },
+ getPlayer: getPlayer,
+ initialize: function(src) {
+ _initialize(src);
+ },
+ setURL: function(url) {
+ document.location.href = url;
+ },
+ getURL: function() {
+ return document.location.href;
+ },
+ getTitle: function() {
+ return document.title;
+ },
+ setTitle: function(title) {
+ try {
+ backStack[backStack.length - 1].title = title;
+ } catch(e) { }
+ //if on safari, set the title to be the empty string.
+ if (browser.safari) {
+ if (title == "") {
+ try {
+ var tmp = window.location.href.toString();
+ title = tmp.substring((tmp.lastIndexOf("/")+1), tmp.lastIndexOf("#"));
+ } catch(e) {
+ title = "";
+ }
+ }
+ }
+ document.title = title;
+ },
+ setDefaultURL: function(def)
+ {
+ defaultHash = def;
+ def = getHash();
+ //trailing ? is important else an extra frame gets added to the history
+ //when navigating back to the first page. Alternatively could check
+ //in history frame navigation to compare # and ?.
+ if (browser.ie)
+ {
+ window['_ie_firstload'] = true;
+ var sourceToSet = historyFrameSourcePrefix + def;
+ var func = function() {
+ getHistoryFrame().src = sourceToSet;
+ window.location.replace("#" + def);
+ setInterval(checkForUrlChange, 50);
+ }
+ try {
+ func();
+ } catch(e) {
+ window.setTimeout(function() { func(); }, 0);
+ }
+ }
+
+ if (browser.safari)
+ {
+ currentHistoryLength = history.length;
+ if (historyHash.length == 0) {
+ historyHash[currentHistoryLength] = def;
+ var newloc = "#" + def;
+ window.location.replace(newloc);
+ } else {
+ //alert(historyHash[historyHash.length-1]);
+ }
+ setInterval(checkForUrlChange, 50);
+ }
+
+
+ if (browser.firefox || browser.opera)
+ {
+ var reg = new RegExp("#" + def + "$");
+ if (window.location.toString().match(reg)) {
+ } else {
+ var newloc ="#" + def;
+ window.location.replace(newloc);
+ }
+ setInterval(checkForUrlChange, 50);
+ }
+
+ },
+
+ /* Set the current browser URL; called from inside BrowserManager to propagate
+ * the application state out to the container.
+ */
+ setBrowserURL: function(flexAppUrl, objectId) {
+ if (browser.ie && typeof objectId != "undefined") {
+ currentObjectId = objectId;
+ }
+ //fromIframe = fromIframe || false;
+ //fromFlex = fromFlex || false;
+ //alert("setBrowserURL: " + flexAppUrl);
+ //flexAppUrl = (flexAppUrl == "") ? defaultHash : flexAppUrl ;
+
+ var pos = document.location.href.indexOf('#');
+ var baseUrl = pos != -1 ? document.location.href.substr(0, pos) : document.location.href;
+ var newUrl = baseUrl + '#' + flexAppUrl;
+
+ if (document.location.href != newUrl && document.location.href + '#' != newUrl) {
+ currentHref = newUrl;
+ addHistoryEntry(baseUrl, newUrl, flexAppUrl);
+ currentHistoryLength = history.length;
+ }
+ },
+
+ browserURLChange: function(flexAppUrl) {
+ var objectId = null;
+ if (browser.ie && currentObjectId != null) {
+ objectId = currentObjectId;
+ }
+
+ if (typeof BrowserHistory_multiple != "undefined" && BrowserHistory_multiple == true) {
+ var pl = getPlayers();
+ for (var i = 0; i < pl.length; i++) {
+ try {
+ pl[i].browserURLChange(flexAppUrl);
+ } catch(e) { }
+ }
+ } else {
+ try {
+ getPlayer(objectId).browserURLChange(flexAppUrl);
+ } catch(e) { }
+ }
+
+ currentObjectId = null;
+ },
+ getUserAgent: function() {
+ return navigator.userAgent;
+ },
+ getPlatform: function() {
+ return navigator.platform;
+ }
+
+ }
+
+})();
+
+// Initialization
+
+// Automated unit testing and other diagnostics
+
+function setURL(url)
+{
+ document.location.href = url;
+}
+
+function backButton()
+{
+ history.back();
+}
+
+function forwardButton()
+{
+ history.forward();
+}
+
+function goForwardOrBackInHistory(step)
+{
+ history.go(step);
+}
+
+//BrowserHistoryUtils.addEvent(window, "load", function() { BrowserHistory.initialize(); });
+(function(i) {
+ var u =navigator.userAgent;var e=/*@cc_on!@*/false;
+ var st = setTimeout;
+ if(/webkit/i.test(u)){
+ st(function(){
+ var dr=document.readyState;
+ if(dr=="loaded"||dr=="complete"){i()}
+ else{st(arguments.callee,10);}},10);
+ } else if((/mozilla/i.test(u)&&!/(compati)/.test(u)) || (/opera/i.test(u))){
+ document.addEventListener("DOMContentLoaded",i,false);
+ } else if(e){
+ (function(){
+ var t=document.createElement('doc:rdy');
+ try{t.doScroll('left');
+ i();t=null;
+ }catch(e){st(arguments.callee,0);}})();
+ } else{
+ window.onload=i;
+ }
+})( function() {BrowserHistory.initialize();} );
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/html-template/history/historyFrame.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/html-template/history/historyFrame.html b/TourDeFlex/TourDeFlex3/html-template/history/historyFrame.html
new file mode 100755
index 0000000..255339f
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/html-template/history/historyFrame.html
@@ -0,0 +1,45 @@
+<!--
+ ~ 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.
+ -->
+<html>
+ <head>
+ <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
+ <META HTTP-EQUIV="Expires" CONTENT="-1">
+ </head>
+ <body>
+ <script>
+ function processUrl()
+ {
+
+ var pos = url.indexOf("?");
+ url = pos != -1 ? url.substr(pos + 1) : "";
+ if (!parent._ie_firstload) {
+ parent.BrowserHistory.setBrowserURL(url);
+ try {
+ parent.BrowserHistory.browserURLChange(url);
+ } catch(e) { }
+ } else {
+ parent._ie_firstload = false;
+ }
+ }
+
+ var url = document.location.href;
+ processUrl();
+ document.write(encodeURIComponent(url));
+ </script>
+ Hidden frame for Browser History support.
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/html-template/index.template.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/html-template/index.template.html b/TourDeFlex/TourDeFlex3/html-template/index.template.html
new file mode 100755
index 0000000..b064431
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/html-template/index.template.html
@@ -0,0 +1,124 @@
+<!--
+ ~ 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.
+ -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!-- saved from url=(0014)about:internet -->
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
+ <!--
+ Smart developers always View Source.
+
+ This application was built using Apache Flex, an open source framework
+ for building rich Internet applications that get delivered via the
+ Flash Player or to desktops via Adobe AIR.
+
+ Learn more about Flex at http://flex.org
+ // -->
+ <head>
+ <title>${title}</title>
+ <meta name="google" value="notranslate" />
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <!-- Include CSS to eliminate any default margins/padding and set the height of the html element and
+ the body element to 100%, because Firefox, or any Gecko based browser, interprets percentage as
+ the percentage of the height of its parent container, which has to be set explicitly. Fix for
+ Firefox 3.6 focus border issues. Initially, don't display flashContent div so it won't show
+ if JavaScript disabled.
+ -->
+ <style type="text/css" media="screen">
+ html, body { height:100%; }
+ body { margin:0; padding:0; overflow:auto; text-align:center;
+ background-color: ${bgcolor}; }
+ object:focus { outline:none; }
+ #flashContent { display:none; }
+ </style>
+
+ <!-- Enable Browser History by replacing useBrowserHistory tokens with two hyphens -->
+ <!-- BEGIN Browser History required section -->
+ <link rel="stylesheet" type="text/css" href="history/history.css" />
+ <script type="text/javascript" src="history/history.js"></script>
+ <!-- END Browser History required section -->
+
+ <script type="text/javascript" src="swfobject.js"></script>
+ <script type="text/javascript">
+ // For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection.
+ var swfVersionStr = "${version_major}.${version_minor}.${version_revision}";
+ // To use express install, set to playerProductInstall.swf, otherwise the empty string.
+ var xiSwfUrlStr = "playerProductInstall.swf";
+ var flashvars = {};
+ var params = {};
+ params.quality = "high";
+ params.bgcolor = "${bgcolor}";
+ params.allowscriptaccess = "sameDomain";
+ params.allowfullscreen = "true";
+ var attributes = {};
+ attributes.id = "${application}";
+ attributes.name = "${application}";
+ attributes.align = "middle";
+ swfobject.embedSWF(
+ "${swf}.swf", "flashContent",
+ "${width}", "${height}",
+ swfVersionStr, xiSwfUrlStr,
+ flashvars, params, attributes);
+ // JavaScript enabled so display the flashContent div in case it is not replaced with a swf object.
+ swfobject.createCSS("#flashContent", "display:block;text-align:left;");
+ </script>
+ </head>
+ <body>
+ <!-- SWFObject's dynamic embed method replaces this alternative HTML content with Flash content when enough
+ JavaScript and Flash plug-in support is available. The div is initially hidden so that it doesn't show
+ when JavaScript is disabled.
+ -->
+ <div id="flashContent">
+ <p>
+ To view this page ensure that Adobe Flash Player version
+ ${version_major}.${version_minor}.${version_revision} or greater is installed.
+ </p>
+ <script type="text/javascript">
+ var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://");
+ document.write("<a href='http://www.adobe.com/go/getflashplayer'><img src='"
+ + pageHost + "www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' /></a>" );
+ </script>
+ </div>
+
+ <noscript>
+ <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="${width}" height="${height}" id="${application}">
+ <param name="movie" value="${swf}.swf" />
+ <param name="quality" value="high" />
+ <param name="bgcolor" value="${bgcolor}" />
+ <param name="allowScriptAccess" value="sameDomain" />
+ <param name="allowFullScreen" value="true" />
+ <!--[if !IE]>-->
+ <object type="application/x-shockwave-flash" data="${swf}.swf" width="${width}" height="${height}">
+ <param name="quality" value="high" />
+ <param name="bgcolor" value="${bgcolor}" />
+ <param name="allowScriptAccess" value="sameDomain" />
+ <param name="allowFullScreen" value="true" />
+ <!--<![endif]-->
+ <!--[if gte IE 6]>-->
+ <p>
+ Either scripts and active content are not permitted to run or Adobe Flash Player version
+ ${version_major}.${version_minor}.${version_revision} or greater is not installed.
+ </p>
+ <!--<![endif]-->
+ <a href="http://www.adobe.com/go/getflashplayer">
+ <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash Player" />
+ </a>
+ <!--[if !IE]>-->
+ </object>
+ <!--<![endif]-->
+ </object>
+ </noscript>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/AC_OETags.js
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/AC_OETags.js b/TourDeFlex/TourDeFlex3/src/AC_OETags.js
new file mode 100755
index 0000000..89f7a73
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/AC_OETags.js
@@ -0,0 +1,282 @@
+/*
+ * 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.
+ */
+var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
+var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
+var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;
+
+function ControlVersion()
+{
+ var version;
+ var axo;
+ var e;
+
+ // NOTE : new ActiveXObject(strFoo) throws an exception if strFoo isn't in the registry
+
+ try {
+ // version will be set for 7.X or greater players
+ axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
+ version = axo.GetVariable("$version");
+ } catch (e) {
+ }
+
+ if (!version)
+ {
+ try {
+ // version will be set for 6.X players only
+ axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
+
+ // installed player is some revision of 6.0
+ // GetVariable("$version") crashes for versions 6.0.22 through 6.0.29,
+ // so we have to be careful.
+
+ // default to the first public version
+ version = "WIN 6,0,21,0";
+
+ // throws if AllowScripAccess does not exist (introduced in 6.0r47)
+ axo.AllowScriptAccess = "always";
+
+ // safe to call for 6.0r47 or greater
+ version = axo.GetVariable("$version");
+
+ } catch (e) {
+ }
+ }
+
+ if (!version)
+ {
+ try {
+ // version will be set for 4.X or 5.X player
+ axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
+ version = axo.GetVariable("$version");
+ } catch (e) {
+ }
+ }
+
+ if (!version)
+ {
+ try {
+ // version will be set for 3.X player
+ axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
+ version = "WIN 3,0,18,0";
+ } catch (e) {
+ }
+ }
+
+ if (!version)
+ {
+ try {
+ // version will be set for 2.X player
+ axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
+ version = "WIN 2,0,0,11";
+ } catch (e) {
+ version = -1;
+ }
+ }
+
+ return version;
+}
+
+// JavaScript helper required to detect Flash Player PlugIn version information
+function GetSwfVer(){
+ // NS/Opera version >= 3 check for Flash plugin in plugin array
+ var flashVer = -1;
+
+ if (navigator.plugins != null && navigator.plugins.length > 0) {
+ if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {
+ var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
+ var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description;
+ var descArray = flashDescription.split(" ");
+ var tempArrayMajor = descArray[2].split(".");
+ var versionMajor = tempArrayMajor[0];
+ var versionMinor = tempArrayMajor[1];
+ if ( descArray[3] != "" ) {
+ tempArrayMinor = descArray[3].split("r");
+ } else {
+ tempArrayMinor = descArray[4].split("r");
+ }
+ var versionRevision = tempArrayMinor[1] > 0 ? tempArrayMinor[1] : 0;
+ var flashVer = versionMajor + "." + versionMinor + "." + versionRevision;
+ }
+ }
+ // MSN/WebTV 2.6 supports Flash 4
+ else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4;
+ // WebTV 2.5 supports Flash 3
+ else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3;
+ // older WebTV supports Flash 2
+ else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2;
+ else if ( isIE && isWin && !isOpera ) {
+ flashVer = ControlVersion();
+ }
+ return flashVer;
+}
+
+// When called with reqMajorVer, reqMinorVer, reqRevision returns true if that version or greater is available
+function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision)
+{
+ versionStr = GetSwfVer();
+ if (versionStr == -1 ) {
+ return false;
+ } else if (versionStr != 0) {
+ if(isIE && isWin && !isOpera) {
+ // Given "WIN 2,0,0,11"
+ tempArray = versionStr.split(" "); // ["WIN", "2,0,0,11"]
+ tempString = tempArray[1]; // "2,0,0,11"
+ versionArray = tempString.split(","); // ['2', '0', '0', '11']
+ } else {
+ versionArray = versionStr.split(".");
+ }
+ var versionMajor = versionArray[0];
+ var versionMinor = versionArray[1];
+ var versionRevision = versionArray[2];
+
+ // is the major.revision >= requested major.revision AND the minor version >= requested minor
+ if (versionMajor > parseFloat(reqMajorVer)) {
+ return true;
+ } else if (versionMajor == parseFloat(reqMajorVer)) {
+ if (versionMinor > parseFloat(reqMinorVer))
+ return true;
+ else if (versionMinor == parseFloat(reqMinorVer)) {
+ if (versionRevision >= parseFloat(reqRevision))
+ return true;
+ }
+ }
+ return false;
+ }
+}
+
+function AC_AddExtension(src, ext)
+{
+ if (src.indexOf('?') != -1)
+ return src.replace(/\?/, ext+'?');
+ else
+ return src + ext;
+}
+
+function AC_Generateobj(objAttrs, params, embedAttrs)
+{
+ var str = '';
+ if (isIE && isWin && !isOpera)
+ {
+ str += '<object ';
+ for (var i in objAttrs)
+ str += i + '="' + objAttrs[i] + '" ';
+ for (var i in params)
+ str += '><param name="' + i + '" value="' + params[i] + '" /> ';
+ str += '></object>';
+ } else {
+ str += '<embed ';
+ for (var i in embedAttrs)
+ str += i + '="' + embedAttrs[i] + '" ';
+ str += '> </embed>';
+ }
+
+ document.write(str);
+}
+
+function AC_FL_RunContent(){
+ var ret =
+ AC_GetArgs
+ ( arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
+ , "application/x-shockwave-flash"
+ );
+ AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
+}
+
+function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
+ var ret = new Object();
+ ret.embedAttrs = new Object();
+ ret.params = new Object();
+ ret.objAttrs = new Object();
+ for (var i=0; i < args.length; i=i+2){
+ var currArg = args[i].toLowerCase();
+
+ switch (currArg){
+ case "classid":
+ break;
+ case "pluginspage":
+ ret.embedAttrs[args[i]] = args[i+1];
+ break;
+ case "src":
+ case "movie":
+ args[i+1] = AC_AddExtension(args[i+1], ext);
+ ret.embedAttrs["src"] = args[i+1];
+ ret.params[srcParamName] = args[i+1];
+ break;
+ case "onafterupdate":
+ case "onbeforeupdate":
+ case "onblur":
+ case "oncellchange":
+ case "onclick":
+ case "ondblClick":
+ case "ondrag":
+ case "ondragend":
+ case "ondragenter":
+ case "ondragleave":
+ case "ondragover":
+ case "ondrop":
+ case "onfinish":
+ case "onfocus":
+ case "onhelp":
+ case "onmousedown":
+ case "onmouseup":
+ case "onmouseover":
+ case "onmousemove":
+ case "onmouseout":
+ case "onkeypress":
+ case "onkeydown":
+ case "onkeyup":
+ case "onload":
+ case "onlosecapture":
+ case "onpropertychange":
+ case "onreadystatechange":
+ case "onrowsdelete":
+ case "onrowenter":
+ case "onrowexit":
+ case "onrowsinserted":
+ case "onstart":
+ case "onscroll":
+ case "onbeforeeditfocus":
+ case "onactivate":
+ case "onbeforedeactivate":
+ case "ondeactivate":
+ case "type":
+ case "codebase":
+ case "id":
+ ret.objAttrs[args[i]] = args[i+1];
+ break;
+ case "width":
+ case "height":
+ case "align":
+ case "vspace":
+ case "hspace":
+ case "class":
+ case "title":
+ case "accesskey":
+ case "name":
+ case "tabindex":
+ ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];
+ break;
+ default:
+ ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];
+ }
+ }
+ ret.objAttrs["classid"] = classid;
+ if (mimeType) ret.embedAttrs["type"] = mimeType;
+ return ret;
+}
+
+
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/README.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/README.html b/TourDeFlex/TourDeFlex3/src/README.html
new file mode 100755
index 0000000..2953a39
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/README.html
@@ -0,0 +1,47 @@
+<!--
+ ~ 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.
+ -->
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<title>Component Explorer Readme</title>
+<link href="../readme.css" rel="stylesheet" type="text/css" />
+</head>
+
+<body>
+<h1>Component Explorer Readme </h1>
+<p><a href="explorer.html" target="_blank">Run Explorer </a></p>
+<p>The Component Explorer application shows a simple usage for most of the MXML components available with the Adobe<sup>®</sup> Flex<sup>™</sup> 3 framework. When you install Adobe Flex Data Visualization, you can also see examples of how you can use the charting and data visualization components. </p>
+<p>Note: You should not run the Component Explorer on a Adobe LiveCycle EnterpriseServer. The Flex WAR will attempt to compile the mxml files causing the source view of each Explorer sample to display incorrectly.</p>
+<h2>Adding Flex Data Visualization components to an existing Component Explorer application </h2>
+<ol>
+ <li> Follow the Flex Data Visualization installation instructions to install and update the Flex Component Explorer.</li>
+ <li>At a command prompt, or in a file explorer go to <code><em>flex_sdk_dir</em>/samples/explorer/charts</code>.</li>
+ <li> Run the <code>build.bat</code> batch file (Windows) or <code>build.sh</code> shell script (Mac/UNIX) to compile the examples.<br />
+ </li>
+</ol>
+<h2>Notes for Adobe<sup class="h2sup">®</sup> Flex<sup class="h2sup">™</sup> Builder<sup class="h2sup">™</sup> 3</h2>
+<p>If you are editing the Component Explorer sample code from within Flex Builder, you must still compile the individual samples using the command-line compiler. Flex Builder does compile or run applications that live beneath the root of the source folder. </p>
+<h2>Notes for Adobe<sup class="h2sup">®</sup> Flex<sup class="h2sup">™</sup> SDK</h2>
+<p>The build script for the Component Explorer assumes that you run the application from the local
+ file system (<code>file:///</code> in your browser). If you plan to run the application from a web
+ server (<code>http://</code> in your browser), change the <code>-use-network</code> setting in
+the build script to <code>true</code>.</p>
+<p><a href="explorer.html" target="_blank">Run Explorer </a></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/SourceTab.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/SourceTab.mxml b/TourDeFlex/TourDeFlex3/src/SourceTab.mxml
new file mode 100755
index 0000000..f713c12
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/SourceTab.mxml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+ 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.
+ -->
+
+<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%">
+
+ <mx:Script>
+ <![CDATA[
+
+ import mx.rpc.events.ResultEvent;
+ import mx.rpc.events.FaultEvent;
+ import mx.controls.Alert;
+
+ public function set source(file:String):void
+ {
+ label = file.substring(file.lastIndexOf("/")+1);
+ srv.url = file;
+ srv.send();
+ }
+
+ private function resultHandler(event:ResultEvent):void
+ {
+ var str:String = String(event.result);
+ var r:RegExp = new RegExp("\r\n", "gs");
+ str = str.replace(r, "\r");
+ ta.text = str;
+ }
+
+ private function faultHandler(event:FaultEvent):void
+ {
+ Alert.show("Error loading source file");
+ }
+
+ ]]>
+ </mx:Script>
+
+ <mx:HTTPService id="srv" useProxy="false" resultFormat="text" result="resultHandler(event)" fault="faultHandler(event)"/>
+
+ <mx:TextArea id= "ta" color="#0000A0" fontFamily="Courier" editable="false" wordWrap="false" width="100%" height="100%"/>
+
+</mx:VBox>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/build.bat
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/build.bat b/TourDeFlex/TourDeFlex3/src/build.bat
new file mode 100755
index 0000000..a6987fb
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/build.bat
@@ -0,0 +1,26 @@
+@echo off
+
+rem Licensed to the Apache Software Foundation (ASF) under one or more
+rem contributor license agreements. See the NOTICE file distributed with
+rem this work for additional information regarding copyright ownership.
+rem The ASF licenses this file to You under the Apache License, Version 2.0
+rem (the "License"); you may not use this file except in compliance with
+rem the License. You may obtain a copy of the License at
+rem
+rem http://www.apache.org/licenses/LICENSE-2.0
+rem
+rem Unless required by applicable law or agreed to in writing, software
+rem distributed under the License is distributed on an "AS IS" BASIS,
+rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+rem See the License for the specific language governing permissions and
+rem limitations under the License.
+
+SET OPTS=-use-network=false
+if "%FLEX_HOME%"=="" set FLEX_HOME=%~dp0\..
+
+for /R . %%f in (*.mxml) do (
+ java -Xmx384m -Dsun.io.useCanonCaches=false -jar "%FLEX_HOME%\lib\mxmlc.jar" +flexlib="%FLEX_HOME%\frameworks" %OPTS% "%%f"
+)
+
+echo.
+echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! DONE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/build.sh
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/build.sh b/TourDeFlex/TourDeFlex3/src/build.sh
new file mode 100644
index 0000000..2f632a6
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/build.sh
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+# 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.
+
+OPTS=-use-network=false
+
+../../bin/mxmlc $OPTS explorer.mxml
+
+mxmlFiles=`find */* -name '*.mxml' -print`
+
+for mxml in ${mxmlFiles}; do
+ echo "building $mxml"
+ (../../bin/mxmlc $OPTS ${mxml})
+done
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/charts/BubbleChartExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/charts/BubbleChartExample.mxml b/TourDeFlex/TourDeFlex3/src/charts/BubbleChartExample.mxml
new file mode 100755
index 0000000..a40bcfb
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/charts/BubbleChartExample.mxml
@@ -0,0 +1,58 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the BubbleChart control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+ <mx:Script>
+ <![CDATA[
+ import mx.collections.ArrayCollection;
+
+ [Bindable]
+ private var expensesAC:ArrayCollection = new ArrayCollection( [
+ { Month: "Jan", Profit: 2000, Expenses: 1500, Amount: 450 },
+ { Month: "Feb", Profit: 1000, Expenses: 200, Amount: 600 },
+ { Month: "Mar", Profit: 1500, Expenses: 500, Amount: 300 },
+ { Month: "Apr", Profit: 1800, Expenses: 1200, Amount: 900 },
+ { Month: "May", Profit: 2400, Expenses: 575, Amount: 500 } ]);
+ ]]>
+ </mx:Script>
+
+ <!-- Define custom color and line style for the bubbles. -->
+ <mx:SolidColor id="sc1" color="blue" alpha=".3"/>
+ <mx:Stroke id="stroke1" color="blue" weight="1"/>
+
+ <mx:Panel title="BubbleChart Control Example" height="100%" width="100%">
+ <mx:BubbleChart id="bubblechart"
+ height="100%" width="100%"
+ paddingRight="5" paddingLeft="5"
+ showDataTips="true" maxRadius="20"
+ dataProvider="{expensesAC}">
+ <mx:series>
+ <mx:BubbleSeries
+ displayName="Profit/Expenses/Amount"
+ xField="Profit"
+ yField="Expenses"
+ radiusField="Amount"
+ fill="{sc1}"
+ stroke="{stroke1}"
+ />
+ </mx:series>
+ </mx:BubbleChart>
+ <mx:Legend dataProvider="{bubblechart}"/>
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/charts/CandlestickChartExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/charts/CandlestickChartExample.mxml b/TourDeFlex/TourDeFlex3/src/charts/CandlestickChartExample.mxml
new file mode 100755
index 0000000..1562d9c
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/charts/CandlestickChartExample.mxml
@@ -0,0 +1,85 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the CandlestickChart control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+ <mx:Script>
+ <![CDATA[
+ import mx.collections.ArrayCollection;
+
+ [Bindable]
+ private var expensesAC:ArrayCollection = new ArrayCollection( [
+ { Date: "25-Jul", Open: 40.75, High: 40.75, Low: 40.24, Close:40.31},
+ { Date: "26-Jul", Open: 39.98, High: 40.78, Low: 39.97, Close:40.34},
+ { Date: "27-Jul", Open: 40.38, High: 40.66, Low: 40, Close:40.63},
+ { Date: "28-Jul", Open: 40.49, High: 40.99, Low: 40.3, Close:40.98},
+ { Date: "29-Jul", Open: 40.13, High: 40.4, Low: 39.65, Close:39.95},
+ { Date: "1-Aug", Open: 39.00, High: 39.50, Low: 38.7, Close:38.6},
+ { Date: "2-Aug", Open: 38.68, High: 39.34, Low: 37.75, Close:38.84},
+ { Date: "3-Aug", Open: 38.76, High: 38.76, Low: 38.03, Close:38.12},
+ { Date: "4-Aug", Open: 37.98, High: 37.98, Low: 36.56, Close:36.69},
+ { Date: "5-Aug", Open: 36.61, High: 37, Low: 36.48, Close:36.86} ]);
+ ]]>
+ </mx:Script>
+
+ <!-- Define custom colors for the candles. -->
+ <mx:SolidColor id="up" color="green" alpha=".8"/>
+ <mx:SolidColor id="down" color="red" alpha=".8"/>
+
+ <!-- Define custom Stroke for the candle wick. -->
+ <mx:Stroke id="wick" color="black" weight="2"/>
+
+ <!-- Define custom Stroke for the candle box. -->
+ <mx:Stroke id="box" color="black" weight="1"/>
+
+ <mx:Panel title="CandlestickChart Control Example" height="100%" width="100%">
+ <mx:CandlestickChart id="candlestickchart"
+ height="100%"
+ width="100%"
+ paddingRight="5"
+ paddingLeft="5"
+ showDataTips="true"
+ dataProvider="{expensesAC}"
+ >
+ <mx:verticalAxis>
+ <mx:LinearAxis id="vaxis" baseAtZero="false" title="Price"/>
+ </mx:verticalAxis>
+
+ <mx:horizontalAxis>
+ <mx:CategoryAxis id="haxis" categoryField="Date" title="Date"/>
+ </mx:horizontalAxis>
+
+ <mx:horizontalAxisRenderers>
+ <mx:AxisRenderer axis="{haxis}" canDropLabels="true"/>
+ </mx:horizontalAxisRenderers>
+
+ <mx:series>
+ <mx:CandlestickSeries
+ openField="Open"
+ highField="High"
+ lowField="Low"
+ closeField="Close"
+ fill="{up}"
+ declineFill="{down}"
+ stroke="{wick}"
+ boxStroke="{box}"
+ />
+ </mx:series>
+ </mx:CandlestickChart>
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/charts/Column_BarChartExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/charts/Column_BarChartExample.mxml b/TourDeFlex/TourDeFlex3/src/charts/Column_BarChartExample.mxml
new file mode 100755
index 0000000..e174511
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/charts/Column_BarChartExample.mxml
@@ -0,0 +1,120 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the ColumnChart and BarChart controls. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+ <mx:Script>
+ <![CDATA[
+ import mx.collections.ArrayCollection;
+
+ [Bindable]
+ private var medalsAC:ArrayCollection = new ArrayCollection( [
+ { Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
+ { Country: "China", Gold: 32, Silver:17, Bronze: 14 },
+ { Country: "Russia", Gold: 27, Silver:27, Bronze: 38 } ]);
+ ]]>
+ </mx:Script>
+
+ <!-- Define custom colors for use as fills. -->
+ <mx:SolidColor id="sc1" color="yellow" alpha=".8"/>
+ <mx:SolidColor id="sc2" color="0xCCCCCC" alpha=".6"/>
+ <mx:SolidColor id="sc3" color="0xFFCC66" alpha=".6"/>
+
+ <!-- Define custom Strokes for the columns. -->
+ <mx:Stroke id="s1" color="yellow" weight="2"/>
+ <mx:Stroke id="s2" color="0xCCCCCC" weight="2"/>
+ <mx:Stroke id="s3" color="0xFFCC66" weight="2"/>
+
+ <mx:Panel title="ColumnChart and BarChart Controls Example"
+ height="100%" width="100%" layout="horizontal">
+ <mx:ColumnChart id="column"
+ height="100%"
+ width="45%"
+ paddingLeft="5"
+ paddingRight="5"
+ showDataTips="true"
+ dataProvider="{medalsAC}"
+ >
+ <mx:horizontalAxis>
+ <mx:CategoryAxis categoryField="Country"/>
+ </mx:horizontalAxis>
+
+ <mx:series>
+ <mx:ColumnSeries
+ xField="Country"
+ yField="Gold"
+ displayName="Gold"
+ fill="{sc1}"
+ stroke="{s1}"
+ />
+ <mx:ColumnSeries
+ xField="Country"
+ yField="Silver"
+ displayName="Silver"
+ fill="{sc2}"
+ stroke="{s2}"
+ />
+ <mx:ColumnSeries
+ xField="Country"
+ yField="Bronze"
+ displayName="Bronze"
+ fill="{sc3}"
+ stroke="{s3}"
+ />
+ </mx:series>
+ </mx:ColumnChart>
+
+ <mx:Legend dataProvider="{column}"/>
+
+ <mx:BarChart id="bar" height="100%" width="45%"
+ paddingLeft="5" paddingRight="5"
+ showDataTips="true" dataProvider="{medalsAC}">
+
+ <mx:verticalAxis>
+ <mx:CategoryAxis categoryField="Country"/>
+ </mx:verticalAxis>
+
+ <mx:series>
+ <mx:BarSeries
+ yField="Country"
+ xField="Gold"
+ displayName="Gold"
+ fill="{sc1}"
+ stroke="{s1}"
+ />
+ <mx:BarSeries
+ yField="Country"
+ xField="Silver"
+ displayName="Silver"
+ fill="{sc2}"
+ stroke="{s2}"
+ />
+ <mx:BarSeries
+ yField="Country"
+ xField="Bronze"
+ displayName="Bronze"
+ fill="{sc3}"
+ stroke="{s3}"
+ />
+ </mx:series>
+ </mx:BarChart>
+
+ <mx:Legend dataProvider="{bar}"/>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
[14/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/source/skins/TDFPanelSkin.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/source/skins/TDFPanelSkin.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/source/skins/TDFPanelSkin.mxml.html
new file mode 100755
index 0000000..df79d11
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/source/skins/TDFPanelSkin.mxml.html
@@ -0,0 +1,147 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta http-equiv="Content-Style-Type" content="text/css">
+ <title>TDFPanelSkin.mxml</title>
+ <meta name="Generator" content="Cocoa HTML Writer">
+ <meta name="CocoaVersion" content="1187.4">
+ <style type="text/css">
+ p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier}
+ p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; color: #941100}
+ p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; min-height: 15.0px}
+ p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px}
+ </style>
+</head>
+<body>
+<p class="p1"><?xml version="1.0" encoding="utf-8"?></p>
+<p class="p2"><!--</p>
+<p class="p3"><br></p>
+<p class="p2">Licensed to the Apache Software Foundation (ASF) under one or more</p>
+<p class="p2">contributor license agreements.<span class="Apple-converted-space"> </span>See the NOTICE file distributed with</p>
+<p class="p2">this work for additional information regarding copyright ownership.</p>
+<p class="p2">The ASF licenses this file to You under the Apache License, Version 2.0</p>
+<p class="p2">(the "License"); you may not use this file except in compliance with</p>
+<p class="p2">the License.<span class="Apple-converted-space"> </span>You may obtain a copy of the License at</p>
+<p class="p3"><br></p>
+<p class="p2">http://www.apache.org/licenses/LICENSE-2.0</p>
+<p class="p3"><br></p>
+<p class="p2">Unless required by applicable law or agreed to in writing, software</p>
+<p class="p2">distributed under the License is distributed on an "AS IS" BASIS,</p>
+<p class="p2">WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</p>
+<p class="p2">See the License for the specific language governing permissions and</p>
+<p class="p2">limitations under the License.</p>
+<p class="p3"><br></p>
+<p class="p2">--></p>
+<p class="p4"><br></p>
+<p class="p1"><s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"<span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span>alpha.disabled="0.5" minWidth="131" minHeight="127"></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><fx:Metadata></p>
+<p class="p1"><span class="Apple-converted-space"> </span>[HostComponent("spark.components.Panel")]</p>
+<p class="p1"><span class="Apple-converted-space"> </span></fx:Metadata><span class="Apple-converted-space"> </span></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:states></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normal" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabled" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normalWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabledWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:states></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- drop shadow --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" top="0" right="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:DropShadowFilter blurX="15" blurY="15" alpha="0.18" distance="11" angle="90" knockout="true" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: border --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColorStroke color="0" alpha="0.50" weight="1" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: background fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" height="15"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradient rotation="90"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xE2E2E2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradient></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: contents --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group left="1" right="1" top="1" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:VerticalLayout gap="0" horizontalAlign="justify" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="topGroup" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: title bar fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- Note: We have custom skinned the title bar to be solid black for Tour de Flex --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbFill" left="0" right="0" top="0" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: title bar highlight --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradientStroke rotation="90" weight="1"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xEAEAEA" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xD9D9D9" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradientStroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: title bar divider --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xC0C0C0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: text --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Label id="titleDisplay" maxDisplayedLines="1"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>left="9" right="3" top="1" minHeight="30"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>verticalAlign="middle" fontWeight="bold" color="#E2E2E2"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Label></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="bottomGroup" minWidth="0" minHeight="0"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>includeIn="normalWithControlBar, disabledWithControlBar" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: control bar background --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" top="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xE2EdF7" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: control bar divider line --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" height="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xD1E0F2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: control bar --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"></s:Skin></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/Sample-AIR2-Microphone/src/com/adobe/audio/format/WAVWriter.as
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/Sample-AIR2-Microphone/src/com/adobe/audio/format/WAVWriter.as b/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/Sample-AIR2-Microphone/src/com/adobe/audio/format/WAVWriter.as
new file mode 100644
index 0000000..62c0802
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/Sample-AIR2-Microphone/src/com/adobe/audio/format/WAVWriter.as
@@ -0,0 +1,257 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+
+package com.adobe.audio.format
+{
+ import flash.utils.ByteArray;
+ import flash.utils.Endian;
+ import flash.utils.IDataOutput;
+
+
+/**
+ * Helper class to write WAV formated audio files. The class
+ * expects audio input data in a byte array with samples represented
+ * as floats.
+ *
+ * <p>The default compressed code is set to PCM. The class
+ * resamples and formats the audio samples according to the
+ * class properties. The resampling geared for performance and
+ * not quality, for best quality use sampling rates that divide/multiple
+ * into the desired output <code>samplingRate</code>.
+ *
+ * For more information about the WAVE file format see:
+ * http://ccrma.stanford.edu/courses/422/projects/WaveFormat/</p>
+ *
+ * TODO Get WAV's for testing
+ *
+ * @langversion ActionScript 3.0
+ * @playerversion Flash 10.0
+ */
+public class WAVWriter
+{
+
+ //-------------------------------------------------------------------
+ // Variables
+ //-------------------------------------------------------------------
+
+ /**
+ * @private
+ * Used for resampling channels where input channels > output channels
+ */
+ private var tempValueSum:Number = 0;
+ /**
+ * @private
+ * Used for resampling channels where input channels > output channels
+ */
+ private var tempValueCount:int = 0;
+
+ //-------------------------------------------------------------------
+ // Properties
+ //-------------------------------------------------------------------
+
+ /**
+ * The sampling rate, in Hz, for the data in the WAV file.
+ *
+ * @default 44100
+ */
+ public var samplingRate:Number = 44100;
+
+ /**
+ * The audio sample bit rate. Has to be set to 8, 16, 24, or 32.
+ *
+ * @default 16
+ */
+ public var sampleBitRate:int = 16; // ie: 16 bit wav file
+
+ /**
+ * The number of audio channels in the WAV file.
+ *
+ * @default 2
+ */
+ public var numOfChannels:int = 2;
+
+ /**
+ * The WAV header compression code value. The default is the PCM
+ * code.
+ *
+ * @default 1
+ */
+ public var compressionCode:int = 1;
+
+ //-------------------------------------------------------------------
+ // Methods
+ //-------------------------------------------------------------------
+
+ /**
+ * @private
+ * Create WAV header bytes
+ */
+ private function header(dataOutput:IDataOutput, fileSize:Number):void
+ {
+ dataOutput.writeUTFBytes("RIFF");
+ dataOutput.writeUnsignedInt(fileSize); // Size of whole file
+ dataOutput.writeUTFBytes("WAVE");
+ // WAVE Chunk
+ dataOutput.writeUTFBytes("fmt "); // Chunk ID
+ dataOutput.writeUnsignedInt(16); // Header Chunk Data Size
+ dataOutput.writeShort(compressionCode); // Compression code - 1 = PCM
+ dataOutput.writeShort(numOfChannels); // Number of channels
+ dataOutput.writeUnsignedInt(samplingRate); // Sample rate
+ dataOutput.writeUnsignedInt(samplingRate * numOfChannels * sampleBitRate / 8); // Byte Rate == SampleRate * NumChannels * BitsPerSample/8
+ dataOutput.writeShort(numOfChannels * sampleBitRate / 8); // Block align == NumChannels * BitsPerSample/8
+ dataOutput.writeShort(sampleBitRate); // Bits Per Sample
+ }
+
+ /**
+ * Resample the <code>dataInput</code> audio data into the WAV format.
+ * Writing the output to the <code>dataOutput</code> object.
+ *
+ * <p>The <code>dataOutput.endian</code> will be set to <code>Endian.LITTLE_ENDIAN</code>
+ * with the header and data written out on the data stream. The <code>dataInput</code>
+ * will set the position = 0 and read all bytes in the <code>ByteArray</code> as samples.
+ *
+ *
+ * </p>
+ *
+ * @param dataOutput The IDataOutput object that you want the WAV formated bytes to be written to.
+ * @param dataInput The audio sample data in float format.
+ * @param inputSamplingRate The sampling rate of the <code>dataInput</code> data.
+ * @param inputNumChannels The number of audio changes in <code>dataInput</code> data.
+ *
+ */
+ public function processSamples(dataOutput:IDataOutput, dataInput:ByteArray, inputSamplingRate:int, inputNumChannels:int = 1):void
+ {
+ if (!dataInput || dataInput.bytesAvailable <= 0) // Return if null
+ throw new Error("No audio data");
+
+
+ // 16 bit values are between -32768 to 32767.
+ var bitResolution:Number = (Math.pow(2, sampleBitRate)/2)-1;
+ var soundRate:Number = samplingRate / inputSamplingRate;
+ var dataByteLength:int = ((dataInput.length/4) * soundRate * sampleBitRate/8);
+ // data.length is in 4 bytes per float, where we want samples * sampleBitRate/8 for bytes
+ var fileSize:int = 32 + 8 + dataByteLength;
+ // WAV format requires little-endian
+ dataOutput.endian = Endian.LITTLE_ENDIAN;
+ // RIFF WAVE Header Information
+ header(dataOutput, fileSize);
+ // Data Chunk Header
+ dataOutput.writeUTFBytes("data");
+ dataOutput.writeUnsignedInt(dataByteLength); // Size of whole file
+
+ // Write data to file
+ dataInput.position = 0;
+ var tempData:ByteArray = new ByteArray();
+ tempData.endian = Endian.LITTLE_ENDIAN;
+
+
+
+ // Write to file in chunks of converted data.
+ while (dataInput.bytesAvailable > 0)
+ {
+ tempData.clear();
+ // Resampling logic variables
+ var minSamples:int = Math.min(dataInput.bytesAvailable/4, 8192);
+ var readSampleLength:int = minSamples;//Math.floor(minSamples/soundRate);
+ var resampleFrequency:int = 100; // Every X frames drop or add frames
+ var resampleFrequencyCheck:int = (soundRate-Math.floor(soundRate))*resampleFrequency;
+ var soundRateCeil:int = Math.ceil(soundRate);
+ var soundRateFloor:int = Math.floor(soundRate);
+ var jlen:int = 0;
+ var channelCount:int = (numOfChannels-inputNumChannels);
+ /*
+ trace("resampleFrequency: " + resampleFrequency + " resampleFrequencyCheck: " + resampleFrequencyCheck
+ + " soundRateCeil: " + soundRateCeil + " soundRateFloor: " + soundRateFloor);
+ */
+ var value:Number = 0;
+ // Assumes data is in samples of float value
+ for (var i:int = 0;i < readSampleLength;i+=4)
+ {
+ value = dataInput.readFloat();
+ // Check for sanity of float value
+ if (value > 1 || value < -1)
+ throw new Error("Audio samples not in float format");
+
+ // Special case with 8bit WAV files
+ if (sampleBitRate == 8)
+ value = (bitResolution * value) + bitResolution;
+ else
+ value = bitResolution * value;
+
+ // Resampling Logic for non-integer sampling rate conversions
+ jlen = (resampleFrequencyCheck > 0 && i % resampleFrequency < resampleFrequencyCheck) ? soundRateCeil : soundRateFloor;
+ for (var j:int = 0; j < jlen; j++)
+ {
+ writeCorrectBits(tempData, value, channelCount);
+ }
+ }
+ dataOutput.writeBytes(tempData);
+ }
+ }
+
+ /**
+ * @private
+ * Change the audio sample to the write resolution
+ */
+ private function writeCorrectBits(outputData:ByteArray, value:Number, channels:int):void
+ {
+ // Handle case where input channels > output channels. Sum values and divide values
+ if (channels < 0)
+ {
+ if (tempValueCount+channels == 1)
+ {
+ value = int(tempValueSum/tempValueCount);
+ tempValueSum = 0;
+ tempValueCount = 0;
+ channels = 1;
+ }
+ else
+ {
+ tempValueSum += value;
+ tempValueCount++;
+ return;
+ }
+ }
+ else
+ {
+ channels++;
+ }
+ // Now write data according to channels
+ for (var i:int = 0;i < channels; i++)
+ {
+ if (sampleBitRate == 8)
+ outputData.writeByte(value);
+ else if (sampleBitRate == 16)
+ outputData.writeShort(value);
+ else if (sampleBitRate == 24)
+ {
+ outputData.writeByte(value & 0xFF);
+ outputData.writeByte(value >>> 8 & 0xFF);
+ outputData.writeByte(value >>> 16 & 0xFF);
+ }
+ else if (sampleBitRate == 32)
+ outputData.writeInt(value);
+ else
+ throw new Error("Sample bit rate not supported");
+ }
+ }
+
+}
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/Sample-AIR2-Microphone/src/sample-app.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/Sample-AIR2-Microphone/src/sample-app.xml b/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/Sample-AIR2-Microphone/src/sample-app.xml
new file mode 100755
index 0000000..21dad49
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/Sample-AIR2-Microphone/src/sample-app.xml
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>main</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>main</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>main</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/Sample-AIR2-Microphone/src/sample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/Sample-AIR2-Microphone/src/sample.mxml b/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/Sample-AIR2-Microphone/src/sample.mxml
new file mode 100644
index 0000000..1ef7be3
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/Sample-AIR2-Microphone/src/sample.mxml
@@ -0,0 +1,198 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:s="library://ns.adobe.com/flex/spark"
+ xmlns:mx="library://ns.adobe.com/flex/mx"
+ creationComplete="init()" styleName="plain" width="100%" height="100%">
+
+ <!-- LINK TO ARTICLE: http://www.adobe.com/devnet/air/flex/articles/using_mic_api.html -->
+ <fx:Script>
+ <![CDATA[
+ import com.adobe.audio.format.WAVWriter;
+
+ import flash.events.SampleDataEvent;
+ import flash.media.Microphone;
+ import flash.media.Sound;
+ import flash.utils.ByteArray;
+
+ import mx.collections.ArrayCollection;
+
+ [Bindable]
+ private var microphoneList:ArrayCollection;
+ protected var microphone:Microphone;
+
+ [Bindable]
+ protected var isRecording:Boolean = false;
+
+ [Bindable]
+ protected var isPlaying:Boolean = false;
+
+ [Bindable]
+ protected var soundData:ByteArray;
+ protected var sound:Sound;
+ protected var channel:SoundChannel;
+
+ protected function init():void
+ {
+ microphoneList = new ArrayCollection(Microphone.names);
+ cbMicChoices.selectedIndex=0;
+ }
+
+ protected function startRecording():void
+ {
+ isRecording = true;
+ microphone = Microphone.getMicrophone(cbMicChoices.selectedIndex);
+ microphone.rate = 44;
+ microphone.gain = 100;
+ soundData = new ByteArray();
+ trace("Recording");
+ microphone.addEventListener(SampleDataEvent.SAMPLE_DATA, onSampleDataReceived);
+
+ }
+
+ protected function stopRecording():void
+ {
+ isRecording = false;
+ trace("Stopped recording");
+ microphone.removeEventListener(SampleDataEvent.SAMPLE_DATA, onSampleDataReceived);
+ }
+
+ private function onSampleDataReceived(event:SampleDataEvent):void
+ {
+ while(event.data.bytesAvailable)
+ {
+ var sample:Number = event.data.readFloat();
+ soundData.writeFloat(sample);
+ }
+ }
+
+ protected function soundCompleteHandler(event:Event):void
+ {
+ isPlaying = false;
+ }
+
+ protected function startPlaying():void
+ {
+ isPlaying = true
+ soundData.position = 0;
+ sound = new Sound();
+ sound.addEventListener(SampleDataEvent.SAMPLE_DATA, sound_sampleDataHandler);
+ channel = sound.play();
+ channel.addEventListener(Event.SOUND_COMPLETE, soundCompleteHandler);
+ }
+
+ protected function sound_sampleDataHandler(event:SampleDataEvent):void
+ {
+ if (!soundData.bytesAvailable > 0)
+ {
+ return;
+ }
+
+ for (var i:int = 0; i < 8192; i++)
+ {
+ var sample:Number = 0;
+
+ if (soundData.bytesAvailable > 0)
+ {
+ sample = soundData.readFloat();
+ }
+ event.data.writeFloat(sample);
+ event.data.writeFloat(sample);
+ }
+
+ }
+
+ protected function stopPlaying():void
+ {
+ channel.stop();
+ isPlaying = false;
+ }
+ protected function save():void
+ {
+ var docsDir:File = File.documentsDirectory;
+ try
+ {
+ docsDir.browseForSave("Save As");
+ docsDir.addEventListener(Event.SELECT, saveFile);
+ }
+ catch (error:Error)
+ {
+ trace("Save failed:", error.message);
+ }
+
+
+ }
+ protected function saveFile(event:Event):void
+ {
+ var outputStream:FileStream = new FileStream();
+ var wavWriter:WAVWriter = new WAVWriter();
+ var newFile:File = event.target as File;
+
+ if (!newFile.exists)
+ {
+ soundData.position = 0; // rewind to the beginning of the sample
+
+ wavWriter.numOfChannels = 1; // set the inital properties of the Wave Writer
+ wavWriter.sampleBitRate = 16;
+ wavWriter.samplingRate = 44100;
+ outputStream.open(newFile, FileMode.WRITE); //write out our file to disk.
+ wavWriter.processSamples(outputStream, soundData, 44100, 1); // convert our ByteArray to a WAV file.
+ outputStream.close();
+ }
+ }
+
+ protected function toggleRecording():void
+ {
+ if (isRecording)
+ {
+ isRecording = false;
+ btnRecord.label = "Record";
+ stopRecording();
+ }
+ else
+ {
+ isRecording = true;
+ btnRecord.label = "Stop Recording";
+ startRecording();
+ }
+ }
+
+ ]]>
+ </fx:Script>
+
+ <s:Panel skinClass="skins.TDFPanelSkin" width="100%" height="100%" title="Microphone Support">
+ <s:Label left="10" top="7" width="80%" verticalAlign="justify" color="#323232"
+ text="The new Microphone support allows you to record audio such as voice memo's using a built-in or external mic. The Microphone.names
+property will return the list of all available sound input devices found (see init method in code):"/>
+ <s:VGroup top="70" horizontalAlign="center" horizontalCenter="0">
+ <s:Label text="Select the microphone input device to use:"/>
+ <s:ComboBox id="cbMicChoices" dataProvider="{microphoneList}" selectedIndex="0"/>
+ </s:VGroup>
+ <s:VGroup top="130" horizontalCenter="0">
+ <s:Label text="Start recording audio by clicking the Record button:"/>
+ <s:HGroup horizontalCenter="0" verticalAlign="middle">
+ <s:Button id="btnRecord" label="Record" click="toggleRecording()" enabled="{!isPlaying}"/>
+ <s:Button id="btnPlay" label="Play" click="startPlaying()" enabled="{!isRecording}"/>
+ <s:Button label="Save Audio Clip" click="save()" horizontalCenter="0"/>
+ </s:HGroup>
+ </s:VGroup>
+ </s:Panel>
+
+</mx:Module>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/Sample-AIR2-Microphone/src/skins/TDFPanelSkin.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/Sample-AIR2-Microphone/src/skins/TDFPanelSkin.mxml b/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/Sample-AIR2-Microphone/src/skins/TDFPanelSkin.mxml
new file mode 100644
index 0000000..ff46524
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/Sample-AIR2-Microphone/src/skins/TDFPanelSkin.mxml
@@ -0,0 +1,130 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+
+
+<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+ alpha.disabled="0.5" minWidth="131" minHeight="127">
+
+ <fx:Metadata>
+ [HostComponent("spark.components.Panel")]
+ </fx:Metadata>
+
+ <s:states>
+ <s:State name="normal" />
+ <s:State name="disabled" />
+ <s:State name="normalWithControlBar" />
+ <s:State name="disabledWithControlBar" />
+ </s:states>
+
+ <!-- drop shadow -->
+ <s:Rect left="0" top="0" right="0" bottom="0">
+ <s:filters>
+ <s:DropShadowFilter blurX="15" blurY="15" alpha="0.18" distance="11" angle="90" knockout="true" />
+ </s:filters>
+ <s:fill>
+ <s:SolidColor color="0" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 1: border -->
+ <s:Rect left="0" right="0" top="0" bottom="0">
+ <s:stroke>
+ <s:SolidColorStroke color="0" alpha="0.50" weight="1" />
+ </s:stroke>
+ </s:Rect>
+
+ <!-- layer 2: background fill -->
+ <s:Rect left="0" right="0" bottom="0" height="15">
+ <s:fill>
+ <s:LinearGradient rotation="90">
+ <s:GradientEntry color="0xE2E2E2" />
+ <s:GradientEntry color="0x000000" />
+ </s:LinearGradient>
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 3: contents -->
+ <s:Group left="1" right="1" top="1" bottom="1" >
+ <s:layout>
+ <s:VerticalLayout gap="0" horizontalAlign="justify" />
+ </s:layout>
+
+ <s:Group id="topGroup" >
+ <!-- layer 0: title bar fill -->
+ <!-- Note: We have custom skinned the title bar to be solid black for Tour de Flex -->
+ <s:Rect id="tbFill" left="0" right="0" top="0" bottom="1" >
+ <s:fill>
+ <s:SolidColor color="0x000000" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 1: title bar highlight -->
+ <s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0" >
+ <s:stroke>
+ <s:LinearGradientStroke rotation="90" weight="1">
+ <s:GradientEntry color="0xEAEAEA" />
+ <s:GradientEntry color="0xD9D9D9" />
+ </s:LinearGradientStroke>
+ </s:stroke>
+ </s:Rect>
+
+ <!-- layer 2: title bar divider -->
+ <s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0">
+ <s:fill>
+ <s:SolidColor color="0xC0C0C0" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 3: text -->
+ <s:Label id="titleDisplay" maxDisplayedLines="1"
+ left="9" right="3" top="1" minHeight="30"
+ verticalAlign="middle" fontWeight="bold" color="#E2E2E2">
+ </s:Label>
+
+ </s:Group>
+
+ <s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0">
+ </s:Group>
+
+ <s:Group id="bottomGroup" minWidth="0" minHeight="0"
+ includeIn="normalWithControlBar, disabledWithControlBar" >
+ <!-- layer 0: control bar background -->
+ <s:Rect left="0" right="0" bottom="0" top="1" >
+ <s:fill>
+ <s:SolidColor color="0xE2EdF7" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 1: control bar divider line -->
+ <s:Rect left="0" right="0" top="0" height="1" >
+ <s:fill>
+ <s:SolidColor color="0xD1E0F2" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 2: control bar -->
+ <s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0">
+ <s:layout>
+ <s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" />
+ </s:layout>
+ </s:Group>
+ </s:Group>
+ </s:Group>
+</s:Skin>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/SourceIndex.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/SourceIndex.xml b/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/SourceIndex.xml
new file mode 100644
index 0000000..9350f7b
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/SourceIndex.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ 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.
+
+-->
+<index>
+ <title>Source of Sample-AIR2-Microphone</title>
+ <nodes>
+ <node label="libs">
+ </node>
+ <node label="src">
+ <node icon="packageIcon" label="com.adobe.audio.format" expanded="true">
+ <node icon="actionScriptIcon" label="WAVWriter.as" url="source/com/adobe/audio/format/WAVWriter.as.html"/>
+ </node>
+ <node icon="packageIcon" label="skins" expanded="true">
+ <node icon="mxmlIcon" label="TDFPanelSkin.mxml" url="source/skins/TDFPanelSkin.mxml.html"/>
+ </node>
+ <node label="sample-app.xml" url="source/sample-app.xml.txt"/>
+ <node icon="mxmlAppIcon" selected="true" label="sample.mxml" url="source/sample.mxml.html"/>
+ </node>
+ </nodes>
+ <zipfile label="Download source (ZIP, 12K)" url="Sample-AIR2-Microphone.zip">
+ </zipfile>
+ <sdklink label="Download Flex SDK" url="http://www.adobe.com/go/flex4_sdk_download">
+ </sdklink>
+</index>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/SourceStyles.css
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/SourceStyles.css b/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/SourceStyles.css
new file mode 100644
index 0000000..a8b5614
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/SourceStyles.css
@@ -0,0 +1,155 @@
+/*
+ * 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.
+ */
+body {
+ font-family: Courier New, Courier, monospace;
+ font-size: medium;
+}
+
+.CSS@font-face {
+ color: #990000;
+ font-weight: bold;
+}
+
+.CSS@import {
+ color: #006666;
+ font-weight: bold;
+}
+
+.CSS@media {
+ color: #663333;
+ font-weight: bold;
+}
+
+.CSS@namespace {
+ color: #923196;
+}
+
+.CSSComment {
+ color: #999999;
+}
+
+.CSSDefault_Text {
+}
+
+.CSSDelimiters {
+}
+
+.CSSProperty_Name {
+ color: #330099;
+}
+
+.CSSProperty_Value {
+ color: #3333cc;
+}
+
+.CSSSelector {
+ color: #ff00ff;
+}
+
+.CSSString {
+ color: #990000;
+}
+
+.ActionScriptASDoc {
+ color: #3f5fbf;
+}
+
+.ActionScriptBracket/Brace {
+}
+
+.ActionScriptComment {
+ color: #009900;
+ font-style: italic;
+}
+
+.ActionScriptDefault_Text {
+}
+
+.ActionScriptMetadata {
+ color: #0033ff;
+ font-weight: bold;
+}
+
+.ActionScriptOperator {
+}
+
+.ActionScriptReserved {
+ color: #0033ff;
+ font-weight: bold;
+}
+
+.ActionScriptString {
+ color: #990000;
+ font-weight: bold;
+}
+
+.ActionScriptclass {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScriptfunction {
+ color: #339966;
+ font-weight: bold;
+}
+
+.ActionScriptinterface {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScriptpackage {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScripttrace {
+ color: #cc6666;
+ font-weight: bold;
+}
+
+.ActionScriptvar {
+ color: #6699cc;
+ font-weight: bold;
+}
+
+.MXMLASDoc {
+ color: #3f5fbf;
+}
+
+.MXMLComment {
+ color: #800000;
+}
+
+.MXMLComponent_Tag {
+ color: #0000ff;
+}
+
+.MXMLDefault_Text {
+}
+
+.MXMLProcessing_Instruction {
+}
+
+.MXMLSpecial_Tag {
+ color: #006633;
+}
+
+.MXMLString {
+ color: #990000;
+}
+
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/SourceTree.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/SourceTree.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/SourceTree.html
new file mode 100644
index 0000000..80281a9
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/SourceTree.html
@@ -0,0 +1,129 @@
+<!--
+ 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.
+-->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!-- saved from url=(0014)about:internet -->
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
+ <!--
+ Smart developers always View Source.
+
+ This application was built using Adobe Flex, an open source framework
+ for building rich Internet applications that get delivered via the
+ Flash Player or to desktops via Adobe AIR.
+
+ Learn more about Flex at http://flex.org
+ // -->
+ <head>
+ <title></title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <!-- Include CSS to eliminate any default margins/padding and set the height of the html element and
+ the body element to 100%, because Firefox, or any Gecko based browser, interprets percentage as
+ the percentage of the height of its parent container, which has to be set explicitly. Initially,
+ don't display flashContent div so it won't show if JavaScript disabled.
+ -->
+ <style type="text/css" media="screen">
+ html, body { height:100%; }
+ body { margin:0; padding:0; overflow:auto; text-align:center;
+ background-color: #ffffff; }
+ #flashContent { display:none; }
+ </style>
+
+ <!-- Enable Browser History by replacing useBrowserHistory tokens with two hyphens -->
+ <!-- BEGIN Browser History required section >
+ <link rel="stylesheet" type="text/css" href="history/history.css" />
+ <script type="text/javascript" src="history/history.js"></script>
+ <! END Browser History required section -->
+
+ <script type="text/javascript" src="swfobject.js"></script>
+ <script type="text/javascript">
+ function loadIntoMain(url) {
+ parent.mainFrame.location.href = url;
+ }
+
+ function openUrlWindow(url) {
+ window.top.location = url;
+ }
+
+ <!-- For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection. -->
+ var swfVersionStr = "10.0.0";
+ <!-- To use express install, set to playerProductInstall.swf, otherwise the empty string. -->
+ var xiSwfUrlStr = "playerProductInstall.swf";
+ var flashvars = {};
+ var params = {};
+ params.quality = "high";
+ params.bgcolor = "#ffffff";
+ params.allowscriptaccess = "sameDomain";
+ params.allowfullscreen = "true";
+ var attributes = {};
+ attributes.id = "SourceTree";
+ attributes.name = "SourceTree";
+ attributes.align = "middle";
+ swfobject.embedSWF(
+ "SourceTree.swf", "flashContent",
+ "100%", "100%",
+ swfVersionStr, xiSwfUrlStr,
+ flashvars, params, attributes);
+ <!-- JavaScript enabled so display the flashContent div in case it is not replaced with a swf object. -->
+ swfobject.createCSS("#flashContent", "display:block;text-align:left;");
+ </script>
+ </head>
+ <body>
+ <!-- SWFObject's dynamic embed method replaces this alternative HTML content with Flash content when enough
+ JavaScript and Flash plug-in support is available. The div is initially hidden so that it doesn't show
+ when JavaScript is disabled.
+ -->
+ <div id="flashContent">
+ <p>
+ To view this page ensure that Adobe Flash Player version
+ 10.0.0 or greater is installed.
+ </p>
+ <script type="text/javascript">
+ var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://");
+ document.write("<a href='http://www.adobe.com/go/getflashplayer'><img src='"
+ + pageHost + "www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' /></a>" );
+ </script>
+ </div>
+
+ <noscript>
+ <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%" id="SourceTree">
+ <param name="movie" value="SourceTree.swf" />
+ <param name="quality" value="high" />
+ <param name="bgcolor" value="#ffffff" />
+ <param name="allowScriptAccess" value="sameDomain" />
+ <param name="allowFullScreen" value="true" />
+ <!--[if !IE]>-->
+ <object type="application/x-shockwave-flash" data="SourceTree.swf" width="100%" height="100%">
+ <param name="quality" value="high" />
+ <param name="bgcolor" value="#ffffff" />
+ <param name="allowScriptAccess" value="sameDomain" />
+ <param name="allowFullScreen" value="true" />
+ <!--<![endif]-->
+ <!--[if gte IE 6]>-->
+ <p>
+ Either scripts and active content are not permitted to run or Adobe Flash Player version
+ 10.0.0 or greater is not installed.
+ </p>
+ <!--<![endif]-->
+ <a href="http://www.adobe.com/go/getflashplayer">
+ <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash Player" />
+ </a>
+ <!--[if !IE]>-->
+ </object>
+ <!--<![endif]-->
+ </object>
+ </noscript>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/index.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/index.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/index.html
new file mode 100644
index 0000000..16f4ebb
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/index.html
@@ -0,0 +1,32 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Source of Sample-AIR2-Microphone</title>
+</head>
+<frameset cols="235,*" border="2" framespacing="1">
+ <frame src="SourceTree.html" name="leftFrame" scrolling="NO">
+ <frame src="source/sample.mxml.html" name="mainFrame">
+</frameset>
+<noframes>
+ <body>
+ </body>
+</noframes>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/source/com/adobe/audio/format/WAVWriter.as.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/source/com/adobe/audio/format/WAVWriter.as.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/source/com/adobe/audio/format/WAVWriter.as.html
new file mode 100644
index 0000000..9af6e87
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/source/com/adobe/audio/format/WAVWriter.as.html
@@ -0,0 +1,16 @@
+<!--
+ 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.
+-->
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/source/sample-app.xml.txt
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/source/sample-app.xml.txt b/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/source/sample-app.xml.txt
new file mode 100644
index 0000000..21dad49
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Microphone/srcview/source/sample-app.xml.txt
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>main</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>main</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>main</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
[32/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/data/offline.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/data/offline.html b/TourDeFlex/TourDeFlex/src/data/offline.html
new file mode 100644
index 0000000..a6c289a
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/data/offline.html
@@ -0,0 +1,33 @@
+<!--
+ 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.
+-->
+<html>
+ <head>
+ <title>Offline</title>
+ </head>
+ <body>
+ <table width="100%" height="100%">
+ <tr>
+ <td align="center">
+ <div style="background-color:#E7E2E0; border:solid 2px #B30000; font-size:12px; font-weight:bold; width:50%; padding:60px 20px 60px 20px;">
+ An Internet connection is required.
+ </div>
+ </td>
+ </tr>
+ </table>
+
+ </body>
+</html>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/data/prepxml.sh
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/data/prepxml.sh b/TourDeFlex/TourDeFlex/src/data/prepxml.sh
new file mode 100644
index 0000000..9ef29a9
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/data/prepxml.sh
@@ -0,0 +1,19 @@
+cp ~/Documents/TourDeFlexWS/TourDeFlex-Web/objects-web.xml .
+
+# 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.
+
+./make-japanese-objects.pl objects-desktop.xml > objects-desktop_ja.xml
+./make-japanese-objects.pl objects-web.xml > objects-web_ja.xml
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/data/quickstart.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/data/quickstart.html b/TourDeFlex/TourDeFlex/src/data/quickstart.html
new file mode 100644
index 0000000..79e58cd
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/data/quickstart.html
@@ -0,0 +1,129 @@
+<!--
+ 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.
+-->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+ <head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <title>Tour de Flex Quick Start</title>
+ <style type="text/css">
+ body {
+ font-family: Arial, Verdana, Helvetica, Sans-Serif;
+ font-size: 62.5%; /* Resets 1em to 10px */
+ color: #434346;
+ margin: 0px 0px 0px 0px;
+ padding: 0px 0px 0px 0px;
+ }
+
+ h1{
+ font-size: 1.5em;
+ font-weight: bold;
+ margin: 0px 0xp 0xp 0px;
+ padding: 0px 0px 0px 22px;
+ }
+
+ #links li {
+ list-style-image: url("images/popArrows.gif");
+ font-size: 80.0%; /* Resets 1em to 10px */
+
+ margin: 0px 0px 0px 0px;
+ }
+
+ #links a {
+ font-size: 1.2em;
+ }
+
+
+ #ltCol {
+ width: 290px;
+ margin: 10px 0px 0px 44px;
+ float: left;
+ }
+
+ #rtCol {
+ width: 310px;
+ margin: 10px 44px 0px 0px;
+ float: right;
+ }
+
+ .clearFloat{
+ clear: both;
+ }
+
+ #main {
+ background-image: url("images/qs_banner_plain_big2.jpg");
+ padding: 45px 0px 0px 0px;
+ /*border: solid 1px #323232;*/
+ /*
+ width: 700px;
+ width: 740px;
+ height: 576px;
+ background-image: url("tempBkg.gif");
+ background-repeat: no-repeat;
+ margin: 0px 0px 0px 0px;
+ padding: 56px 0px 0px 0px;
+ */
+ }
+
+ #mainSub {
+ width: 700px;
+ }
+ #main p {
+ margin: 0px 0px 0px 22px;
+ }
+ a, a:visited{
+ color: #314983;
+ text-decoration: none;
+ }
+
+ a:hover, a:active {
+ color: #000000;
+ }
+
+ h2{
+ margin: 0px 0px 0px 0px;
+ padding: 0px 0px 0px 0px;
+ }
+ .news {
+ margin: 0px 20px 10px 22px;
+ padding: 0px 0px 6px 0px;
+ border-bottom: solid 1px #E4E4E5;
+ }
+ </style>
+ </head>
+ <body>
+ <div id="main">
+ <h1>Welcome to Tour de Flex! Explore over 400 live samples of Flex components, APIs and <br /> coding techniques with source.</h1>
+ <div id="mainSub">
+ <center>
+ <img src="images/quickstart.gif" alt="Tour de Flex Quick Start" width="675" height="190" />
+ </center>
+<BR><BR>
+ <div class="news">
+ <p>
+ <h2>Tour de Flex is OFFLINE</h2>
+ <BR>
+ If you are seeing this, Tour de Flex has not detected an internet connection and you are offline. Most of the AIR samples
+ will work offline but many other samples require an internet connection.
+ </p>
+ </div>
+
+ </div>
+ </div>
+
+ </body>
+</html>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/data/settings.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/data/settings.xml b/TourDeFlex/TourDeFlex/src/data/settings.xml
new file mode 100644
index 0000000..3aaffa2
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/data/settings.xml
@@ -0,0 +1,49 @@
+<!--
+
+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.
+
+-->
+<Settings title="Tour de Flex">
+
+ <AboutMenu title="Flex Resources">
+ <Item label="About" data="data/about.html" />
+ <Item label="Tour de Flex Home Page" data="http://flex.org/tour" />
+
+ <Item label="Adobe Flash Platform Home Page" data="http://www.adobe.com/flashplatform/" />
+
+ <Item label="Adobe Flex Home Page" data="http://www.adobe.com/products/flex/" />
+
+ <Item label="Adobe AIR Home Page" data="http://www.adobe.com/products/air/" />
+
+ <Item label="Adobe Flex Developer Center" data="http://www.adobe.com/devnet/flex/" />
+
+ <Item label="Adobe AIR Developer Center" data="http://www.adobe.com/devnet/air/" />
+
+ <Item label="Flex.org" data="http://flex.org" />
+
+ <Item label="Flex Showcase" data="http://flex.org/showcase" />
+
+ <Item label="Flex 3 LiveDocs" data="http://livedocs.adobe.com/flex/3" />
+
+ <Item label="Flex 3 Language Reference" data="http://livedocs.adobe.com/flex/3/langref/index.html" />
+
+ <Item label="Flex Builder Trial Download" data="http://www.adobe.com/go/flex_trial" />
+
+ <Item label="Flex Builder free for Students and Educators" data="http://www.flexregistration.com" />
+
+ </AboutMenu>
+
+</Settings>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/data/settings_ja.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/data/settings_ja.xml b/TourDeFlex/TourDeFlex/src/data/settings_ja.xml
new file mode 100644
index 0000000..46b6dfe
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/data/settings_ja.xml
@@ -0,0 +1,50 @@
+<!--
+
+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.
+
+-->
+<Settings title="Tour de Flex">
+
+ <AboutMenu title="Flex リソース">
+ <Item label="About" data="data/about.html" />
+ <Item label="Tour de Flex Home Page" data="http://flex.org/tour" />
+
+ <Item label="Adobe Flash Platform Home Page" data="http://www.adobe.com/jp/flashplatform/" />
+
+ <Item label="Adobe Flex Home Page" data="http://www.adobe.com/jp/products/flex/" />
+
+ <Item label="Adobe AIR Home Page" data="http://www.adobe.com/jp/products/air/" />
+
+ <Item label="Adobe Flex Developer Center" data="http://www.adobe.com/jp/devnet/flex/" />
+
+ <Item label="Adobe AIR Developer Center" data="http://www.adobe.com/jp/devnet/air/" />
+
+ <Item label="Flex.org" data="http://flex.org" />
+
+ <Item label="Flex Showcase" data="http://flex.org/showcase" />
+
+ <Item label="Flex 3 Resource" data="http://www.adobe.com/support/documentation/jp/flex/" />
+
+ <Item label="Flex 3 Language Reference" data="http://livedocs.adobe.com/flex/3_jp/langref/index.html" />
+
+ <Item label="Flex Builder Trial Download" data="https://www.adobe.com/cfusion/tdrc/index.cfm?loc=ja&product=flex" />
+
+ <Item label="Flex Builder free for Students and Educators" data="http://www.flexregistration.com" />
+ <Item label="Education Vanguards" data="http://www.adobe.com/jp/education/hed/vanguards/license_free_faq.html" />
+
+ </AboutMenu>
+
+</Settings>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/data/splash.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/data/splash.html b/TourDeFlex/TourDeFlex/src/data/splash.html
new file mode 100644
index 0000000..880631f
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/data/splash.html
@@ -0,0 +1,45 @@
+<!--
+ 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.
+-->
+<html lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<title></title>
+<style>
+body { margin: 0px; overflow:hidden }
+</style>
+</head>
+
+<body scroll="no">
+ <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
+ id="splash" width="1000" height="770"
+ codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
+ <param name="movie" value="splash.swf" />
+ <param name="quality" value="high" />
+ <param name="bgcolor" value="#000000" />
+ <param name="allowScriptAccess" value="sameDomain" />
+ <embed src="splash.swf" quality="high" bgcolor="#000000"
+ width="1000" height="770" name="splash" align="middle"
+ play="true"
+ loop="false"
+ quality="high"
+ allowScriptAccess="sameDomain"
+ type="application/x-shockwave-flash"
+ pluginspage="http://www.adobe.com/go/getflashplayer">
+ </embed>
+ </object>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/data/style.css
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/data/style.css b/TourDeFlex/TourDeFlex/src/data/style.css
new file mode 100644
index 0000000..33085e1
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/data/style.css
@@ -0,0 +1,88 @@
+/*
+ * 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.
+ */
+body{
+ padding: 0px 0px 0px 0px;
+ margin: 0px 0px 0px 0px;
+ background-image: url("images/bkg.jpg");
+ background-repeat: repeat-x;
+ background-color: #000000;
+ border: solid 1px #585858;
+
+ font-family: Verdana, Sans-Serif;
+ font-size: 10px;
+ color: #BDB6B1;
+}
+#hdr{
+ width: 428px;
+ height: 68px;
+ margin: 3px 3px 0px 3px;
+ border: solid 1px #585858;
+}
+#hdr img{
+ margin: 11px 0px 0px 16px;
+}
+#version{
+ width: 225px;
+ margin: 10px 0px 0px 0px;
+ float: right;
+}
+.team{
+ font-size: 10.5;
+}
+#main{
+ width: 428px;
+ height: 286px;
+ margin: 3px 3px 3px 3px;
+ border: solid 1px #585858;
+}
+#credits{
+ margin: 20px 0px 0px 35px;
+}
+#logo{
+ width: 398px;
+ margin: 20px 0px 0px 0px;
+ text-align: center;
+}
+#ftr{
+ margin: 30px 5px 0px 5px;
+ font-size: 9px;
+}
+.lt{
+ float: left;
+}
+.rt{
+ float: right;
+}
+#ftrLogo{
+
+}
+#rights{
+ width: 388px;
+}
+a{
+ color: #BBBBff;
+ text-decoration: none;
+}
+a:hover{
+ color: #3380DD;
+}
+a:visited{
+ color: #9fB6D4;
+}
+a:active{
+ color: #9fB6D4;
+}
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/images/button_clear.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/images/button_clear.png b/TourDeFlex/TourDeFlex/src/images/button_clear.png
new file mode 100644
index 0000000..bf3dab0
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/images/button_clear.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/images/button_close_downSkin.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/images/button_close_downSkin.png b/TourDeFlex/TourDeFlex/src/images/button_close_downSkin.png
new file mode 100644
index 0000000..54ab90c
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/images/button_close_downSkin.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/images/button_close_overSkin.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/images/button_close_overSkin.png b/TourDeFlex/TourDeFlex/src/images/button_close_overSkin.png
new file mode 100644
index 0000000..8696620
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/images/button_close_overSkin.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/images/button_close_upSkin.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/images/button_close_upSkin.png b/TourDeFlex/TourDeFlex/src/images/button_close_upSkin.png
new file mode 100644
index 0000000..c1b3a0e
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/images/button_close_upSkin.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/images/button_commentDisabled_icon.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/images/button_commentDisabled_icon.png b/TourDeFlex/TourDeFlex/src/images/button_commentDisabled_icon.png
new file mode 100644
index 0000000..0d84bdd
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/images/button_commentDisabled_icon.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/images/button_comment_icon.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/images/button_comment_icon.png b/TourDeFlex/TourDeFlex/src/images/button_comment_icon.png
new file mode 100644
index 0000000..18bf0a0
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/images/button_comment_icon.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/images/button_downloadDisabled_icon.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/images/button_downloadDisabled_icon.png b/TourDeFlex/TourDeFlex/src/images/button_downloadDisabled_icon.png
new file mode 100644
index 0000000..e2ea091
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/images/button_downloadDisabled_icon.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/images/button_download_icon.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/images/button_download_icon.png b/TourDeFlex/TourDeFlex/src/images/button_download_icon.png
new file mode 100644
index 0000000..ee13917
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/images/button_download_icon.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/images/button_search_icon.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/images/button_search_icon.png b/TourDeFlex/TourDeFlex/src/images/button_search_icon.png
new file mode 100644
index 0000000..427035b
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/images/button_search_icon.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/images/corner_resizer.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/images/corner_resizer.png b/TourDeFlex/TourDeFlex/src/images/corner_resizer.png
new file mode 100644
index 0000000..f494a83
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/images/corner_resizer.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/images/expand.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/images/expand.png b/TourDeFlex/TourDeFlex/src/images/expand.png
new file mode 100644
index 0000000..e90934e
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/images/expand.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/images/expand_disabled.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/images/expand_disabled.png b/TourDeFlex/TourDeFlex/src/images/expand_disabled.png
new file mode 100644
index 0000000..53c0b9e
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/images/expand_disabled.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/images/header_gradient.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/images/header_gradient.png b/TourDeFlex/TourDeFlex/src/images/header_gradient.png
new file mode 100644
index 0000000..052830b
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/images/header_gradient.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/images/icons/tdfx_128.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/images/icons/tdfx_128.png b/TourDeFlex/TourDeFlex/src/images/icons/tdfx_128.png
new file mode 100644
index 0000000..2c62275
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/images/icons/tdfx_128.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/images/toggle_list.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/images/toggle_list.png b/TourDeFlex/TourDeFlex/src/images/toggle_list.png
new file mode 100644
index 0000000..2bc0f55
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/images/toggle_list.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/images/toggle_tree.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/images/toggle_tree.png b/TourDeFlex/TourDeFlex/src/images/toggle_tree.png
new file mode 100644
index 0000000..0f419cd
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/images/toggle_tree.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/images/tree_noIcon.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/images/tree_noIcon.png b/TourDeFlex/TourDeFlex/src/images/tree_noIcon.png
new file mode 100644
index 0000000..30e0332
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/images/tree_noIcon.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/images/web.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/images/web.png b/TourDeFlex/TourDeFlex/src/images/web.png
new file mode 100644
index 0000000..6568f2a
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/images/web.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/images/web_disabled.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/images/web_disabled.png b/TourDeFlex/TourDeFlex/src/images/web_disabled.png
new file mode 100644
index 0000000..40f9557
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/images/web_disabled.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemComboBox/FileSystemComboBox.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemComboBox/FileSystemComboBox.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemComboBox/FileSystemComboBox.mxml.html
new file mode 100644
index 0000000..8342d64
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemComboBox/FileSystemComboBox.mxml.html
@@ -0,0 +1,53 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>FileSystemComboBox.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">" creationComplete="</span><span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"
+ styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" viewSourceURL="</span><span class="MXMLString">srcview/index.html</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">filesystem</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">File</span>;
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">fcb</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">directory</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">desktopDirectory</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">setOutput</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">output</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">fcb</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">directory</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">nativePath</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:HGroup</span><span class="MXMLDefault_Text"> paddingTop="</span><span class="MXMLString">100</span><span class="MXMLDefault_Text">" paddingBottom="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" paddingRight="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" paddingLeft="</span><span class="MXMLString">100</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:FileSystemComboBox</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">fcb</span><span class="MXMLDefault_Text">" directoryChange="</span><span class="ActionScriptDefault_Text">setOutput</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">150</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextInput</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">output</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">200</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemComboBox/FileSystemComboBox.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemComboBox/FileSystemComboBox.png b/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemComboBox/FileSystemComboBox.png
new file mode 100644
index 0000000..d9e6ce2
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemComboBox/FileSystemComboBox.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemComboBox/srcview/source/FileSystemComboBox.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemComboBox/srcview/source/FileSystemComboBox.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemComboBox/srcview/source/FileSystemComboBox.mxml.html
new file mode 100644
index 0000000..0965fea
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemComboBox/srcview/source/FileSystemComboBox.mxml.html
@@ -0,0 +1,53 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>FileSystemComboBox.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><mx:Module</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">" creationComplete="</span><span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"
+ backgroundColor="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">" styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">filesystem</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">File</span>;
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">fcb</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">directory</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">desktopDirectory</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">setOutput</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">output</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">fcb</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">directory</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">nativePath</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:HGroup</span><span class="MXMLDefault_Text"> paddingTop="</span><span class="MXMLString">100</span><span class="MXMLDefault_Text">" paddingBottom="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" paddingRight="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" paddingLeft="</span><span class="MXMLString">200</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:FileSystemComboBox</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">fcb</span><span class="MXMLDefault_Text">" directoryChange="</span><span class="ActionScriptDefault_Text">setOutput</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextInput</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">output</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">200</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+
+<span class="MXMLComponent_Tag"></mx:Module></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemDataGrid/FileSystemDataGrid.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemDataGrid/FileSystemDataGrid.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemDataGrid/FileSystemDataGrid.mxml.html
new file mode 100644
index 0000000..7bd7f61
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemDataGrid/FileSystemDataGrid.mxml.html
@@ -0,0 +1,47 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>FileSystemDataGrid.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">setOutput</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">output</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">fileGrid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">directory</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">nativePath</span>;
+
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> paddingTop="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" paddingBottom="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" paddingRight="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" paddingLeft="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Double-click on a directory to see the path:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><mx:FileSystemDataGrid</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">fileGrid</span><span class="MXMLDefault_Text">" directoryChange="</span><span class="ActionScriptDefault_Text">setOutput</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">" directory="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">File</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">desktopDirectory</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextInput</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">output</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">fileGrid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">width</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemDataGrid/FileSystemDataGrid.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemDataGrid/FileSystemDataGrid.png b/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemDataGrid/FileSystemDataGrid.png
new file mode 100644
index 0000000..ceb2066
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemDataGrid/FileSystemDataGrid.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemHistoryButton/FileSystemHistoryButton.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemHistoryButton/FileSystemHistoryButton.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemHistoryButton/FileSystemHistoryButton.mxml.html
new file mode 100644
index 0000000..0193253
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemHistoryButton/FileSystemHistoryButton.mxml.html
@@ -0,0 +1,44 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>FileSystemHistoryButton.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ backgroundColor="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">" viewSourceURL="</span><span class="MXMLString">srcview/index.html</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> paddingTop="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> color="</span><span class="MXMLString">0xFFFFFF</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">400</span><span class="MXMLDefault_Text">" text="</span><span class="MXMLString">The FileSystemHistoryButton control lets the user move backwards or forwards through the navigation history of another control.
+It works in conjunction with a FileSystemList or FileSystemDataGrid control, or any similar control with a property containing an array of File objects.</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><mx:FileSystemList</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">400</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">150</span><span class="MXMLDefault_Text">" id="</span><span class="MXMLString">fileList</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:HGroup</span><span class="MXMLDefault_Text"> paddingLeft="</span><span class="MXMLString">7</span><span class="MXMLDefault_Text">" paddingRight="</span><span class="MXMLString">7</span><span class="MXMLDefault_Text">" paddingTop="</span><span class="MXMLString">7</span><span class="MXMLDefault_Text">" paddingBottom="</span><span class="MXMLString">7</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">400</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:FileSystemHistoryButton</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Back</span><span class="MXMLDefault_Text">" dataProvider="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">fileList</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">backHistory</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">"
+ enabled="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">fileList</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">canNavigateBack</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">fileList</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">navigateBack</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;<span class="MXMLDefault_Text">"
+ itemClick="</span><span class="ActionScriptDefault_Text">fileList</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">navigateBack</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">index</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><mx:FileSystemHistoryButton</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Forward</span><span class="MXMLDefault_Text">" dataProvider="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">fileList</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">forwardHistory</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">"
+ enabled="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">fileList</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">canNavigateForward</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">fileList</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">navigateForward</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;<span class="MXMLDefault_Text">"
+ itemClick="</span><span class="ActionScriptDefault_Text">fileList</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">navigateForward</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">index</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemHistoryButton/FileSystemHistoryButton.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemHistoryButton/FileSystemHistoryButton.png b/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemHistoryButton/FileSystemHistoryButton.png
new file mode 100644
index 0000000..92174a1
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemHistoryButton/FileSystemHistoryButton.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemList/FileSystemList.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemList/FileSystemList.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemList/FileSystemList.mxml.html
new file mode 100644
index 0000000..a2ecce1
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemList/FileSystemList.mxml.html
@@ -0,0 +1,47 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>FileSystemList.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ backgroundColor="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">setOutput</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">output</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">fileList</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">directory</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">nativePath</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" paddingTop="</span><span class="MXMLString">5</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Up</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">fileList</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">navigateUp</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>; <span class="ActionScriptDefault_Text">setOutput</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;<span class="MXMLDefault_Text">"
+ enabled="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">fileList</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">canNavigateUp</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><mx:FileSystemList</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">fileList</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">300</span><span class="MXMLDefault_Text">" directoryChange="</span><span class="ActionScriptDefault_Text">setOutput</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextInput</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">output</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">300</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemList/FileSystemList.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemList/FileSystemList.png b/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemList/FileSystemList.png
new file mode 100644
index 0000000..e63ca3c
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemList/FileSystemList.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemTree/FileSystemTree.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemTree/FileSystemTree.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemTree/FileSystemTree.mxml.html
new file mode 100644
index 0000000..bd12626
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemTree/FileSystemTree.mxml.html
@@ -0,0 +1,47 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>FileSystemTree.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ backgroundColor="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">FileEvent</span>;
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">onChooseFile</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">FileEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">output</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">file</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">name</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" paddingTop="</span><span class="MXMLString">5</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> color="</span><span class="MXMLString">white</span><span class="MXMLDefault_Text">" text="</span><span class="MXMLString">Choose a file (double-click):</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><mx:FileSystemTree</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">fileList</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">400</span><span class="MXMLDefault_Text">" fileChoose="</span><span class="ActionScriptDefault_Text">onChooseFile</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextInput</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">output</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">400</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemTree/FileSystemTree.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemTree/FileSystemTree.png b/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemTree/FileSystemTree.png
new file mode 100644
index 0000000..1d6eff6
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/objects/AIR/Components/FileSystemTree/FileSystemTree.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/Components/HTML/HTML.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/Components/HTML/HTML.png b/TourDeFlex/TourDeFlex/src/objects/AIR/Components/HTML/HTML.png
new file mode 100644
index 0000000..33ffed7
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/objects/AIR/Components/HTML/HTML.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/Components/HTML/html1.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/Components/HTML/html1.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR/Components/HTML/html1.mxml.html
new file mode 100644
index 0000000..eb748c5
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/Components/HTML/html1.mxml.html
@@ -0,0 +1,49 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>html1.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"
+ backgroundColor="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">" creationComplete="</span><span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">minibrowser</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">location</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">"http://maps.google.com/maps?f=q&hl=en&geocode=&q=345+Park+Ave,+San+Jose,+CA+95110&sll=37.0625,-95.677068&sspn=40.409448,93.164063&ie=UTF8&ll=37.331014,-121.893611&spn=0.001241,0.002843&t=h&z=19"</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+ <span class="MXMLComponent_Tag"><s:HGroup</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" paddingTop="</span><span class="MXMLString">5</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">&lt;</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">minibrowser</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">historyBack</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">&gt;</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">minibrowser</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">historyForward</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Reload</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">minibrowser</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">reload</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextInput</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">loc</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" enter="</span><span class="ActionScriptDefault_Text">minibrowser</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">location</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">loc</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="MXMLDefault_Text">" text="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">minibrowser</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">location</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Go</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">minibrowser</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">location</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">loc</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComment"><!--</span><span class="MXMLComment"> Create an HTML control at 50% scale </span><span class="MXMLComment">--></span>
+ <span class="MXMLComponent_Tag"><mx:HTML</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">minibrowser</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" scaleX="</span><span class="MXMLString">0.5</span><span class="MXMLDefault_Text">" scaleY="</span><span class="MXMLString">0.5</span><span class="MXMLDefault_Text">" </span><span class="MXMLComponent_Tag">/></span>
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/Components/HTML/html2.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/Components/HTML/html2.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR/Components/HTML/html2.mxml.html
new file mode 100644
index 0000000..2194735
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/Components/HTML/html2.mxml.html
@@ -0,0 +1,42 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>html2.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"
+ backgroundColor="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">" creationComplete="</span><span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">ht</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">htmlText</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">"<H1 align='center'>Header</H1><UL><LI>Item 1</LI><LI>Item 2</LI></UL><CENTER><IMG src='http://gregorywilson.smugmug.com/photos/382432334_9sWgB-Th-1.jpg'></CENTER>"</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> verticalAlign="</span><span class="MXMLString">middle</span><span class="MXMLDefault_Text">" horizontalAlign="</span><span class="MXMLString">center</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:HTML</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">ht</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">300</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">240</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/Components/HTML/html3.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/Components/HTML/html3.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR/Components/HTML/html3.mxml.html
new file mode 100644
index 0000000..02b1fe5
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/Components/HTML/html3.mxml.html
@@ -0,0 +1,41 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>html3.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"
+ backgroundColor="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">middle</span><span class="MXMLDefault_Text">" horizontalAlign="</span><span class="MXMLString">center</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:HGroup</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" paddingTop="</span><span class="MXMLString">5</span><span class="MXMLDefault_Text">" horizontalAlign="</span><span class="MXMLString">center</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Programming Flex 3</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">ht</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">location</span><span class="ActionScriptOperator">=</span><span class="ActionScriptString">'http://oreilly.com/catalog/9780596516215/index.html'</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Learning Flex 3</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">ht</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">location</span><span class="ActionScriptOperator">=</span><span class="ActionScriptString">'http://oreilly.com/catalog/9780596517328/index.html'</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Adobe AIR Cookbook</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">ht</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">location</span><span class="ActionScriptOperator">=</span><span class="ActionScriptString">'http://oreilly.com/catalog/9780596522506/index.html'</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"><mx:HTML</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">ht</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" htmlText="</span><span class="MXMLString">&lt;H1 align='center'&gt;Choose a book&lt;/H1&gt;</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
[23/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/sample1.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/sample1.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/sample1.mxml.html
new file mode 100644
index 0000000..c1c03f0
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/sample1.mxml.html
@@ -0,0 +1,108 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>sample1.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ currentState="</span><span class="MXMLString">START_STATE</span><span class="MXMLDefault_Text">" styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">"
+ width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" backgroundColor="</span><span class="MXMLString">0x000000</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLComment"><!--</span><span class="MXMLComment"> Based on this sample: http://www.riaspace.net/2010/01/file-promises-with-adobe-air-2-0/ </span><span class="MXMLComment">--></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">air</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">desktop</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">URLFilePromise</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Event</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">MouseEvent</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">system</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Capabilities</span>;
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">filePromise</span>:<span class="ActionScriptDefault_Text">URLFilePromise</span>;
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">imgAirIcon_mouseDownHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">MouseEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptComment">// Instantiating new file promise
+</span> <span class="ActionScriptDefault_Text">filePromise</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">URLFilePromise</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptComment">// Registering OPEN event listener, to switch to
+</span> <span class="ActionScriptComment">// DOWNLOAD_STATE when downloading starts
+</span> <span class="ActionScriptDefault_Text">filePromise</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">OPEN</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">onOpen</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptComment">// Setting URLRequest pointing to remote file
+</span> <span class="ActionScriptDefault_Text">filePromise</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">request</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">URLRequest</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">fileUrl</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptComment">// Setting relativePath with fileName to be saved locally
+</span> <span class="ActionScriptDefault_Text">filePromise</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">relativePath</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">fileName</span>;
+
+ <span class="ActionScriptComment">// Array of promises with single promise in this case
+</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">promises</span>:<span class="ActionScriptDefault_Text">Array</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">Array</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">promises</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">push</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">filePromise</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptComment">// Instantiating clipboard object pointing to the promise
+</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">clipboard</span>:<span class="ActionScriptDefault_Text">Clipboard</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">Clipboard</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">clipboard</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">setData</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ClipboardFormats</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">FILE_PROMISE_LIST_FORMAT</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">promises</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptComment">// Dragging with NativeDragManager
+</span> <span class="ActionScriptDefault_Text">NativeDragManager</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">doDrag</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">imgAirIcon</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">clipboard</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">onOpen</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">currentState</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">"DOWNLOAD_STATE"</span>;
+ <span class="ActionScriptDefault_Text">prgBar</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">source</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">filePromise</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptReserved">get</span> <span class="ActionScriptDefault_Text">fileUrl</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptDefault_Text">String</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptComment">// Returns remote file URL based on current operating system
+</span> <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Capabilities</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">os</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">search</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">/mac/i</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptOperator">></span> <span class="ActionScriptOperator">-</span>1<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptReserved">return</span> <span class="ActionScriptString">"http://airdownload.adobe.com/air/mac/download/latest/AdobeAIR.dmg"</span>;
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Capabilities</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">os</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">search</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">/win/i</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptOperator">></span> <span class="ActionScriptOperator">-</span>1<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptReserved">return</span> <span class="ActionScriptString">"http://airdownload.adobe.com/air/win/download/latest/AdobeAIRInstaller.exe"</span>;
+ <span class="ActionScriptReserved">else</span>
+ <span class="ActionScriptReserved">return</span> <span class="ActionScriptString">"http://airdownload.adobe.com/air/lin/download/latest/AdobeAIRInstaller.bin"</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptReserved">get</span> <span class="ActionScriptDefault_Text">fileName</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptDefault_Text">String</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">fileUrl</span>:<span class="ActionScriptDefault_Text">String</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">fileUrl</span>;
+ <span class="ActionScriptReserved">return</span> <span class="ActionScriptDefault_Text">fileUrl</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">slice</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">fileUrl</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">lastIndexOf</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"/"</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptOperator">+</span> 1<span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Declarations></span>
+ <span class="MXMLComponent_Tag"><s:State</span><span class="MXMLDefault_Text"> name="</span><span class="MXMLString">START_STATE</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:State</span><span class="MXMLDefault_Text"> name="</span><span class="MXMLString">DOWNLOAD_STATE</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLSpecial_Tag"></fx:Declarations></span>
+
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> paddingLeft="</span><span class="MXMLString">100</span><span class="MXMLDefault_Text">" paddingTop="</span><span class="MXMLString">50</span><span class="MXMLDefault_Text">" horizontalAlign="</span><span class="MXMLString">center</span><span class="MXMLDefault_Text">" gap="</span><span class="MXMLString">15</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:Image</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">imgAirIcon</span><span class="MXMLDefault_Text">" source="</span><span class="MXMLString">@Embed(source='adobe_air_logo.png')</span><span class="MXMLDefault_Text">" mouseDown="</span><span class="ActionScriptDefault_Text">imgAirIcon_mouseDownHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">" toolTip="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">fileUrl</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">" </span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">(Drag out the icon to begin Adobe AIR download)</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">0xFFFFFF</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><mx:ProgressBar</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">prgBar</span><span class="MXMLDefault_Text">" bottom="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" visible="</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">" visible.DOWNLOAD_STATE="</span><span class="MXMLString">true</span><span class="MXMLDefault_Text">"
+ label="</span><span class="MXMLString">Downloading {</span><span class="ActionScriptDefault_Text">int</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">prgBar</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">percentComplete</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLString">}%</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">0xFFFFFF</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/Sample-AIR2-FilePromise/src/adobe_air_logo.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/Sample-AIR2-FilePromise/src/adobe_air_logo.png b/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/Sample-AIR2-FilePromise/src/adobe_air_logo.png
new file mode 100755
index 0000000..8b6e306
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/Sample-AIR2-FilePromise/src/adobe_air_logo.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/Sample-AIR2-FilePromise/src/sample1-app.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/Sample-AIR2-FilePromise/src/sample1-app.xml b/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/Sample-AIR2-FilePromise/src/sample1-app.xml
new file mode 100755
index 0000000..09a53b3
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/Sample-AIR2-FilePromise/src/sample1-app.xml
@@ -0,0 +1,156 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/1.5.3
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>sample1</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>sample1</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>sample1</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
+ <!-- <publisherID></publisherID> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/Sample-AIR2-FilePromise/src/sample1.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/Sample-AIR2-FilePromise/src/sample1.mxml b/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/Sample-AIR2-FilePromise/src/sample1.mxml
new file mode 100644
index 0000000..3a65e58
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/Sample-AIR2-FilePromise/src/sample1.mxml
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:s="library://ns.adobe.com/flex/spark"
+ xmlns:mx="library://ns.adobe.com/flex/mx"
+ currentState="START_STATE" styleName="plain"
+ width="100%" height="100%" backgroundColor="0x000000" horizontalCenter="0">
+
+ <!-- Based on this sample: http://www.riaspace.net/2010/01/file-promises-with-adobe-air-2-0/ -->
+
+ <fx:Script>
+ <![CDATA[
+ import air.desktop.URLFilePromise;
+
+ import flash.events.Event;
+ import flash.events.MouseEvent;
+ import flash.system.Capabilities;
+
+ protected var filePromise:URLFilePromise;
+
+ protected function imgAirIcon_mouseDownHandler(event:MouseEvent):void
+ {
+ // Instantiating new file promise
+ filePromise = new URLFilePromise();
+ // Registering OPEN event listener, to switch to
+ // DOWNLOAD_STATE when downloading starts
+ filePromise.addEventListener(Event.OPEN, onOpen);
+
+ // Setting URLRequest pointing to remote file
+ filePromise.request = new URLRequest(fileUrl);
+ // Setting relativePath with fileName to be saved locally
+ filePromise.relativePath = fileName;
+
+ // Array of promises with single promise in this case
+ var promises:Array = new Array();
+ promises.push(filePromise);
+
+ // Instantiating clipboard object pointing to the promise
+ var clipboard:Clipboard = new Clipboard();
+ clipboard.setData(ClipboardFormats.FILE_PROMISE_LIST_FORMAT, promises);
+
+ // Dragging with NativeDragManager
+ NativeDragManager.doDrag(imgAirIcon, clipboard);
+ }
+
+ protected function onOpen(event:Event):void
+ {
+ currentState = "DOWNLOAD_STATE";
+ prgBar.source = filePromise;
+ }
+
+ protected function get fileUrl():String
+ {
+ // Returns remote file URL based on current operating system
+ if (Capabilities.os.search(/mac/i) > -1)
+ return "http://airdownload.adobe.com/air/mac/download/latest/AdobeAIR.dmg";
+ else if (Capabilities.os.search(/win/i) > -1)
+ return "http://airdownload.adobe.com/air/win/download/latest/AdobeAIRInstaller.exe";
+ else
+ return "http://airdownload.adobe.com/air/lin/download/latest/AdobeAIRInstaller.bin";
+ }
+
+ protected function get fileName():String
+ {
+ var fileUrl:String = fileUrl;
+ return fileUrl.slice(fileUrl.lastIndexOf("/") + 1);
+ }
+ ]]>
+ </fx:Script>
+
+ <fx:Declarations>
+ <s:State name="START_STATE"/>
+ <s:State name="DOWNLOAD_STATE"/>
+ </fx:Declarations>
+
+ <s:VGroup paddingLeft="100" paddingTop="50" horizontalAlign="center" gap="15">
+ <mx:Image id="imgAirIcon" source="@Embed(source='adobe_air_logo.png')" mouseDown="imgAirIcon_mouseDownHandler(event)" toolTip="{fileUrl}" />
+ <s:Label text="(Drag out the icon to begin Adobe AIR download)" color="0xFFFFFF"/>
+ <mx:ProgressBar id="prgBar" bottom="10" horizontalCenter="0" visible="false" visible.DOWNLOAD_STATE="true"
+ label="Downloading {int(prgBar.percentComplete)}%" color="0xFFFFFF"/>
+ </s:VGroup>
+
+</mx:Module>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/SourceIndex.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/SourceIndex.xml b/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/SourceIndex.xml
new file mode 100644
index 0000000..f0c15f2
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/SourceIndex.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ 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.
+
+-->
+<index>
+ <title>Source of Sample-AIR2-FilePromise</title>
+ <nodes>
+ <node label="libs">
+ </node>
+ <node label="src">
+ <node icon="imageIcon" label="adobe_air_logo.png" url="source/adobe_air_logo.png.html"/>
+ <node label="sample1-app.xml" url="source/sample1-app.xml.txt"/>
+ <node icon="mxmlAppIcon" selected="true" label="sample1.mxml" url="source/sample1.mxml.html"/>
+ </node>
+ </nodes>
+ <zipfile label="Download source (ZIP, 22K)" url="Sample-AIR2-FilePromise.zip">
+ </zipfile>
+ <sdklink label="Download Flex SDK" url="http://www.adobe.com/go/flex4_sdk_download">
+ </sdklink>
+</index>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/SourceStyles.css
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/SourceStyles.css b/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/SourceStyles.css
new file mode 100644
index 0000000..9d5210f
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/SourceStyles.css
@@ -0,0 +1,155 @@
+/*
+ * 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.
+ */
+body {
+ font-family: Courier New, Courier, monospace;
+ font-size: medium;
+}
+
+.ActionScriptASDoc {
+ color: #3f5fbf;
+}
+
+.ActionScriptBracket/Brace {
+}
+
+.ActionScriptComment {
+ color: #009900;
+ font-style: italic;
+}
+
+.ActionScriptDefault_Text {
+}
+
+.ActionScriptMetadata {
+ color: #0033ff;
+ font-weight: bold;
+}
+
+.ActionScriptOperator {
+}
+
+.ActionScriptReserved {
+ color: #0033ff;
+ font-weight: bold;
+}
+
+.ActionScriptString {
+ color: #990000;
+ font-weight: bold;
+}
+
+.ActionScriptclass {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScriptfunction {
+ color: #339966;
+ font-weight: bold;
+}
+
+.ActionScriptinterface {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScriptpackage {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScripttrace {
+ color: #cc6666;
+ font-weight: bold;
+}
+
+.ActionScriptvar {
+ color: #6699cc;
+ font-weight: bold;
+}
+
+.MXMLASDoc {
+ color: #3f5fbf;
+}
+
+.MXMLComment {
+ color: #800000;
+}
+
+.MXMLComponent_Tag {
+ color: #0000ff;
+}
+
+.MXMLDefault_Text {
+}
+
+.MXMLProcessing_Instruction {
+}
+
+.MXMLSpecial_Tag {
+ color: #006633;
+}
+
+.MXMLString {
+ color: #990000;
+}
+
+.CSS@font-face {
+ color: #990000;
+ font-weight: bold;
+}
+
+.CSS@import {
+ color: #006666;
+ font-weight: bold;
+}
+
+.CSS@media {
+ color: #663333;
+ font-weight: bold;
+}
+
+.CSS@namespace {
+ color: #923196;
+}
+
+.CSSComment {
+ color: #999999;
+}
+
+.CSSDefault_Text {
+}
+
+.CSSDelimiters {
+}
+
+.CSSProperty_Name {
+ color: #330099;
+}
+
+.CSSProperty_Value {
+ color: #3333cc;
+}
+
+.CSSSelector {
+ color: #ff00ff;
+}
+
+.CSSString {
+ color: #990000;
+}
+
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/SourceTree.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/SourceTree.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/SourceTree.html
new file mode 100644
index 0000000..80281a9
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/SourceTree.html
@@ -0,0 +1,129 @@
+<!--
+ 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.
+-->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!-- saved from url=(0014)about:internet -->
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
+ <!--
+ Smart developers always View Source.
+
+ This application was built using Adobe Flex, an open source framework
+ for building rich Internet applications that get delivered via the
+ Flash Player or to desktops via Adobe AIR.
+
+ Learn more about Flex at http://flex.org
+ // -->
+ <head>
+ <title></title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <!-- Include CSS to eliminate any default margins/padding and set the height of the html element and
+ the body element to 100%, because Firefox, or any Gecko based browser, interprets percentage as
+ the percentage of the height of its parent container, which has to be set explicitly. Initially,
+ don't display flashContent div so it won't show if JavaScript disabled.
+ -->
+ <style type="text/css" media="screen">
+ html, body { height:100%; }
+ body { margin:0; padding:0; overflow:auto; text-align:center;
+ background-color: #ffffff; }
+ #flashContent { display:none; }
+ </style>
+
+ <!-- Enable Browser History by replacing useBrowserHistory tokens with two hyphens -->
+ <!-- BEGIN Browser History required section >
+ <link rel="stylesheet" type="text/css" href="history/history.css" />
+ <script type="text/javascript" src="history/history.js"></script>
+ <! END Browser History required section -->
+
+ <script type="text/javascript" src="swfobject.js"></script>
+ <script type="text/javascript">
+ function loadIntoMain(url) {
+ parent.mainFrame.location.href = url;
+ }
+
+ function openUrlWindow(url) {
+ window.top.location = url;
+ }
+
+ <!-- For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection. -->
+ var swfVersionStr = "10.0.0";
+ <!-- To use express install, set to playerProductInstall.swf, otherwise the empty string. -->
+ var xiSwfUrlStr = "playerProductInstall.swf";
+ var flashvars = {};
+ var params = {};
+ params.quality = "high";
+ params.bgcolor = "#ffffff";
+ params.allowscriptaccess = "sameDomain";
+ params.allowfullscreen = "true";
+ var attributes = {};
+ attributes.id = "SourceTree";
+ attributes.name = "SourceTree";
+ attributes.align = "middle";
+ swfobject.embedSWF(
+ "SourceTree.swf", "flashContent",
+ "100%", "100%",
+ swfVersionStr, xiSwfUrlStr,
+ flashvars, params, attributes);
+ <!-- JavaScript enabled so display the flashContent div in case it is not replaced with a swf object. -->
+ swfobject.createCSS("#flashContent", "display:block;text-align:left;");
+ </script>
+ </head>
+ <body>
+ <!-- SWFObject's dynamic embed method replaces this alternative HTML content with Flash content when enough
+ JavaScript and Flash plug-in support is available. The div is initially hidden so that it doesn't show
+ when JavaScript is disabled.
+ -->
+ <div id="flashContent">
+ <p>
+ To view this page ensure that Adobe Flash Player version
+ 10.0.0 or greater is installed.
+ </p>
+ <script type="text/javascript">
+ var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://");
+ document.write("<a href='http://www.adobe.com/go/getflashplayer'><img src='"
+ + pageHost + "www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' /></a>" );
+ </script>
+ </div>
+
+ <noscript>
+ <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%" id="SourceTree">
+ <param name="movie" value="SourceTree.swf" />
+ <param name="quality" value="high" />
+ <param name="bgcolor" value="#ffffff" />
+ <param name="allowScriptAccess" value="sameDomain" />
+ <param name="allowFullScreen" value="true" />
+ <!--[if !IE]>-->
+ <object type="application/x-shockwave-flash" data="SourceTree.swf" width="100%" height="100%">
+ <param name="quality" value="high" />
+ <param name="bgcolor" value="#ffffff" />
+ <param name="allowScriptAccess" value="sameDomain" />
+ <param name="allowFullScreen" value="true" />
+ <!--<![endif]-->
+ <!--[if gte IE 6]>-->
+ <p>
+ Either scripts and active content are not permitted to run or Adobe Flash Player version
+ 10.0.0 or greater is not installed.
+ </p>
+ <!--<![endif]-->
+ <a href="http://www.adobe.com/go/getflashplayer">
+ <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash Player" />
+ </a>
+ <!--[if !IE]>-->
+ </object>
+ <!--<![endif]-->
+ </object>
+ </noscript>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/index.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/index.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/index.html
new file mode 100644
index 0000000..6303cd6
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/index.html
@@ -0,0 +1,32 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Source of Sample-AIR2-FilePromise</title>
+</head>
+<frameset cols="235,*" border="2" framespacing="1">
+ <frame src="SourceTree.html" name="leftFrame" scrolling="NO">
+ <frame src="source/sample1.mxml.html" name="mainFrame">
+</frameset>
+<noframes>
+ <body>
+ </body>
+</noframes>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/source/adobe_air_logo.png.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/source/adobe_air_logo.png.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/source/adobe_air_logo.png.html
new file mode 100644
index 0000000..45e854f
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/source/adobe_air_logo.png.html
@@ -0,0 +1,28 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
+<title>adobe_air_logo.png</title>
+</head>
+
+<body>
+<img src="adobe_air_logo.png" border="0"/>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/source/sample1-app.xml.txt
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/source/sample1-app.xml.txt b/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/source/sample1-app.xml.txt
new file mode 100644
index 0000000..09a53b3
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/source/sample1-app.xml.txt
@@ -0,0 +1,156 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/1.5.3
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>sample1</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>sample1</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>sample1</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
+ <!-- <publisherID></publisherID> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/source/sample1.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/source/sample1.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/source/sample1.mxml.html
new file mode 100644
index 0000000..c1c03f0
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/FilePromise/srcview/source/sample1.mxml.html
@@ -0,0 +1,108 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>sample1.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ currentState="</span><span class="MXMLString">START_STATE</span><span class="MXMLDefault_Text">" styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">"
+ width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" backgroundColor="</span><span class="MXMLString">0x000000</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLComment"><!--</span><span class="MXMLComment"> Based on this sample: http://www.riaspace.net/2010/01/file-promises-with-adobe-air-2-0/ </span><span class="MXMLComment">--></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">air</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">desktop</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">URLFilePromise</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Event</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">MouseEvent</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">system</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Capabilities</span>;
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">filePromise</span>:<span class="ActionScriptDefault_Text">URLFilePromise</span>;
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">imgAirIcon_mouseDownHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">MouseEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptComment">// Instantiating new file promise
+</span> <span class="ActionScriptDefault_Text">filePromise</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">URLFilePromise</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptComment">// Registering OPEN event listener, to switch to
+</span> <span class="ActionScriptComment">// DOWNLOAD_STATE when downloading starts
+</span> <span class="ActionScriptDefault_Text">filePromise</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">OPEN</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">onOpen</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptComment">// Setting URLRequest pointing to remote file
+</span> <span class="ActionScriptDefault_Text">filePromise</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">request</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">URLRequest</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">fileUrl</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptComment">// Setting relativePath with fileName to be saved locally
+</span> <span class="ActionScriptDefault_Text">filePromise</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">relativePath</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">fileName</span>;
+
+ <span class="ActionScriptComment">// Array of promises with single promise in this case
+</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">promises</span>:<span class="ActionScriptDefault_Text">Array</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">Array</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">promises</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">push</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">filePromise</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptComment">// Instantiating clipboard object pointing to the promise
+</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">clipboard</span>:<span class="ActionScriptDefault_Text">Clipboard</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">Clipboard</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">clipboard</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">setData</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ClipboardFormats</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">FILE_PROMISE_LIST_FORMAT</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">promises</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptComment">// Dragging with NativeDragManager
+</span> <span class="ActionScriptDefault_Text">NativeDragManager</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">doDrag</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">imgAirIcon</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">clipboard</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">onOpen</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">currentState</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">"DOWNLOAD_STATE"</span>;
+ <span class="ActionScriptDefault_Text">prgBar</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">source</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">filePromise</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptReserved">get</span> <span class="ActionScriptDefault_Text">fileUrl</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptDefault_Text">String</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptComment">// Returns remote file URL based on current operating system
+</span> <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Capabilities</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">os</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">search</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">/mac/i</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptOperator">></span> <span class="ActionScriptOperator">-</span>1<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptReserved">return</span> <span class="ActionScriptString">"http://airdownload.adobe.com/air/mac/download/latest/AdobeAIR.dmg"</span>;
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Capabilities</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">os</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">search</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">/win/i</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptOperator">></span> <span class="ActionScriptOperator">-</span>1<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptReserved">return</span> <span class="ActionScriptString">"http://airdownload.adobe.com/air/win/download/latest/AdobeAIRInstaller.exe"</span>;
+ <span class="ActionScriptReserved">else</span>
+ <span class="ActionScriptReserved">return</span> <span class="ActionScriptString">"http://airdownload.adobe.com/air/lin/download/latest/AdobeAIRInstaller.bin"</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptReserved">get</span> <span class="ActionScriptDefault_Text">fileName</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptDefault_Text">String</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">fileUrl</span>:<span class="ActionScriptDefault_Text">String</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">fileUrl</span>;
+ <span class="ActionScriptReserved">return</span> <span class="ActionScriptDefault_Text">fileUrl</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">slice</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">fileUrl</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">lastIndexOf</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"/"</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptOperator">+</span> 1<span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Declarations></span>
+ <span class="MXMLComponent_Tag"><s:State</span><span class="MXMLDefault_Text"> name="</span><span class="MXMLString">START_STATE</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:State</span><span class="MXMLDefault_Text"> name="</span><span class="MXMLString">DOWNLOAD_STATE</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLSpecial_Tag"></fx:Declarations></span>
+
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> paddingLeft="</span><span class="MXMLString">100</span><span class="MXMLDefault_Text">" paddingTop="</span><span class="MXMLString">50</span><span class="MXMLDefault_Text">" horizontalAlign="</span><span class="MXMLString">center</span><span class="MXMLDefault_Text">" gap="</span><span class="MXMLString">15</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:Image</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">imgAirIcon</span><span class="MXMLDefault_Text">" source="</span><span class="MXMLString">@Embed(source='adobe_air_logo.png')</span><span class="MXMLDefault_Text">" mouseDown="</span><span class="ActionScriptDefault_Text">imgAirIcon_mouseDownHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">" toolTip="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">fileUrl</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">" </span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">(Drag out the icon to begin Adobe AIR download)</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">0xFFFFFF</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><mx:ProgressBar</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">prgBar</span><span class="MXMLDefault_Text">" bottom="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" visible="</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">" visible.DOWNLOAD_STATE="</span><span class="MXMLString">true</span><span class="MXMLDefault_Text">"
+ label="</span><span class="MXMLString">Downloading {</span><span class="ActionScriptDefault_Text">int</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">prgBar</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">percentComplete</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLString">}%</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">0xFFFFFF</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/TDFPanelSkin.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/TDFPanelSkin.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/TDFPanelSkin.mxml.html
new file mode 100644
index 0000000..fbb0bfb
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Gestures/TDFPanelSkin.mxml.html
@@ -0,0 +1,146 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta http-equiv="Content-Style-Type" content="text/css">
+ <title>TDFPanelSkin.mxml</title>
+ <meta name="Generator" content="Cocoa HTML Writer">
+ <meta name="CocoaVersion" content="1187.4">
+ <style type="text/css">
+ p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier}
+ p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; color: #941100}
+ p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; min-height: 15.0px}
+ p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px}
+ </style>
+</head>
+<body>
+<p class="p1"><?xml version="1.0" encoding="utf-8"?></p>
+<p class="p2"><!--</p>
+<p class="p3"><br></p>
+<p class="p2">Licensed to the Apache Software Foundation (ASF) under one or more</p>
+<p class="p2">contributor license agreements.<span class="Apple-converted-space"> </span>See the NOTICE file distributed with</p>
+<p class="p2">this work for additional information regarding copyright ownership.</p>
+<p class="p2">The ASF licenses this file to You under the Apache License, Version 2.0</p>
+<p class="p2">(the "License"); you may not use this file except in compliance with</p>
+<p class="p2">the License.<span class="Apple-converted-space"> </span>You may obtain a copy of the License at</p>
+<p class="p3"><br></p>
+<p class="p2">http://www.apache.org/licenses/LICENSE-2.0</p>
+<p class="p3"><br></p>
+<p class="p2">Unless required by applicable law or agreed to in writing, software</p>
+<p class="p2">distributed under the License is distributed on an "AS IS" BASIS,</p>
+<p class="p2">WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</p>
+<p class="p2">See the License for the specific language governing permissions and</p>
+<p class="p2">limitations under the License.</p>
+<p class="p3"><br></p>
+<p class="p2">--></p>
+<p class="p1"><s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"<span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span>alpha.disabled="0.5" minWidth="131" minHeight="127"></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><fx:Metadata></p>
+<p class="p1"><span class="Apple-converted-space"> </span>[HostComponent("spark.components.Panel")]</p>
+<p class="p1"><span class="Apple-converted-space"> </span></fx:Metadata><span class="Apple-converted-space"> </span></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:states></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normal" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabled" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normalWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabledWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:states></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- drop shadow --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" top="0" right="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:DropShadowFilter blurX="15" blurY="15" alpha="0.18" distance="11" angle="90" knockout="true" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: border --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColorStroke color="0" alpha="0.50" weight="1" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: background fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" height="15"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradient rotation="90"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xE2E2E2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradient></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: contents --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group left="1" right="1" top="1" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:VerticalLayout gap="0" horizontalAlign="justify" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="topGroup" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: title bar fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- Note: We have custom skinned the title bar to be solid black for Tour de Flex --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbFill" left="0" right="0" top="0" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: title bar highlight --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradientStroke rotation="90" weight="1"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xEAEAEA" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xD9D9D9" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradientStroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: title bar divider --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xC0C0C0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: text --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Label id="titleDisplay" maxDisplayedLines="1"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>left="9" right="3" top="1" minHeight="30"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>verticalAlign="middle" fontWeight="bold" color="#E2E2E2"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Label></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="bottomGroup" minWidth="0" minHeight="0"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>includeIn="normalWithControlBar, disabledWithControlBar" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: control bar background --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" top="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xE2EdF7" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: control bar divider line --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" height="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xD1E0F2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: control bar --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"></s:Skin></p>
+</body>
+</html>
[09/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/Sample-AIR2-OpenWithDefaultApplication/src/sample1.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/Sample-AIR2-OpenWithDefaultApplication/src/sample1.mxml b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/Sample-AIR2-OpenWithDefaultApplication/src/sample1.mxml
new file mode 100644
index 0000000..6897276
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/Sample-AIR2-OpenWithDefaultApplication/src/sample1.mxml
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:s="library://ns.adobe.com/flex/spark"
+ xmlns:mx="library://ns.adobe.com/flex/mx" styleName="plain" width="100%" height="100%">
+ <fx:Script>
+ <![CDATA[
+ import flash.events.MouseEvent;
+
+ import mx.controls.FileSystemDataGrid;
+
+ protected function datagridHandler(event:MouseEvent):void
+ {
+ var fsg:FileSystemDataGrid = event.currentTarget as FileSystemDataGrid;
+ if (fsg.selectedItem != null)
+ (fsg.selectedItem as File).openWithDefaultApplication();
+ }
+ ]]>
+ </fx:Script>
+
+ <s:Panel width="100%" height="100%" title="Open With Default Application Sample" skinClass="skins.TDFPanelSkin">
+ <s:VGroup top="10" left="10">
+ <s:Label width="660" verticalAlign="justify" color="#323232"
+ text="The Open With Default Application support allows you to open any file with it's associated default application. Locate a file
+item in the file system grid and double-click it to see it in action:"/>
+ <mx:Button icon="@Embed(source='up.png')" click="fileGrid.navigateUp();"
+ enabled="{fileGrid.canNavigateUp}"/>
+ <mx:FileSystemDataGrid id="fileGrid" directory="{File.desktopDirectory}" width="660" height="150"
+ doubleClickEnabled="true" doubleClick="datagridHandler(event)">
+ </mx:FileSystemDataGrid>
+ </s:VGroup>
+ </s:Panel>
+
+</mx:Module>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/Sample-AIR2-OpenWithDefaultApplication/src/sample2-app.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/Sample-AIR2-OpenWithDefaultApplication/src/sample2-app.xml b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/Sample-AIR2-OpenWithDefaultApplication/src/sample2-app.xml
new file mode 100755
index 0000000..21dad49
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/Sample-AIR2-OpenWithDefaultApplication/src/sample2-app.xml
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>main</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>main</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>main</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/Sample-AIR2-OpenWithDefaultApplication/src/sample2.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/Sample-AIR2-OpenWithDefaultApplication/src/sample2.mxml b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/Sample-AIR2-OpenWithDefaultApplication/src/sample2.mxml
new file mode 100644
index 0000000..f60b9d9
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/Sample-AIR2-OpenWithDefaultApplication/src/sample2.mxml
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:s="library://ns.adobe.com/flex/spark"
+ xmlns:mx="library://ns.adobe.com/flex/mx" styleName="plain" width="100%" height="100%">
+ <fx:Declarations>
+ <!-- Place non-visual elements (e.g., services, value objects) here -->
+ </fx:Declarations>
+ <fx:Script>
+ <![CDATA[
+ protected var fileToOpen:File = File.documentsDirectory;
+
+ private function onLoadFileClick():void
+ {
+ var file:File = File.createTempDirectory().resolvePath("tourdeflex-air2-sample.txt");
+ var fileStream:FileStream = new FileStream();
+ fileStream.open(file, FileMode.WRITE);
+ fileStream.writeUTFBytes(txtArea.text);
+ fileStream.close();
+ file.openWithDefaultApplication();
+ }
+ ]]>
+ </fx:Script>
+ <s:Panel width="100%" height="100%" title="Open With Default Application Sample" skinClass="skins.TDFPanelSkin">
+ <s:VGroup paddingTop="8" paddingBottom="8" paddingLeft="8" paddingRight="8">
+ <s:Label horizontalCenter="0" top="15" width="400" verticalAlign="justify" color="#323232"
+ text="This sample demonstrates how you can write some text into a file and then open it immediately with the default text application."/>
+ <s:Label horizontalCenter="0" text="Enter text and click button:"/>
+ <s:TextArea id="txtArea" width="80%" height="40%"/>
+ <s:Button label="Load File" click="onLoadFileClick()"/>
+ </s:VGroup>
+ </s:Panel>
+</mx:Module>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/Sample-AIR2-OpenWithDefaultApplication/src/skins/TDFPanelSkin.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/Sample-AIR2-OpenWithDefaultApplication/src/skins/TDFPanelSkin.mxml b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/Sample-AIR2-OpenWithDefaultApplication/src/skins/TDFPanelSkin.mxml
new file mode 100644
index 0000000..ff46524
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/Sample-AIR2-OpenWithDefaultApplication/src/skins/TDFPanelSkin.mxml
@@ -0,0 +1,130 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+
+
+<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+ alpha.disabled="0.5" minWidth="131" minHeight="127">
+
+ <fx:Metadata>
+ [HostComponent("spark.components.Panel")]
+ </fx:Metadata>
+
+ <s:states>
+ <s:State name="normal" />
+ <s:State name="disabled" />
+ <s:State name="normalWithControlBar" />
+ <s:State name="disabledWithControlBar" />
+ </s:states>
+
+ <!-- drop shadow -->
+ <s:Rect left="0" top="0" right="0" bottom="0">
+ <s:filters>
+ <s:DropShadowFilter blurX="15" blurY="15" alpha="0.18" distance="11" angle="90" knockout="true" />
+ </s:filters>
+ <s:fill>
+ <s:SolidColor color="0" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 1: border -->
+ <s:Rect left="0" right="0" top="0" bottom="0">
+ <s:stroke>
+ <s:SolidColorStroke color="0" alpha="0.50" weight="1" />
+ </s:stroke>
+ </s:Rect>
+
+ <!-- layer 2: background fill -->
+ <s:Rect left="0" right="0" bottom="0" height="15">
+ <s:fill>
+ <s:LinearGradient rotation="90">
+ <s:GradientEntry color="0xE2E2E2" />
+ <s:GradientEntry color="0x000000" />
+ </s:LinearGradient>
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 3: contents -->
+ <s:Group left="1" right="1" top="1" bottom="1" >
+ <s:layout>
+ <s:VerticalLayout gap="0" horizontalAlign="justify" />
+ </s:layout>
+
+ <s:Group id="topGroup" >
+ <!-- layer 0: title bar fill -->
+ <!-- Note: We have custom skinned the title bar to be solid black for Tour de Flex -->
+ <s:Rect id="tbFill" left="0" right="0" top="0" bottom="1" >
+ <s:fill>
+ <s:SolidColor color="0x000000" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 1: title bar highlight -->
+ <s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0" >
+ <s:stroke>
+ <s:LinearGradientStroke rotation="90" weight="1">
+ <s:GradientEntry color="0xEAEAEA" />
+ <s:GradientEntry color="0xD9D9D9" />
+ </s:LinearGradientStroke>
+ </s:stroke>
+ </s:Rect>
+
+ <!-- layer 2: title bar divider -->
+ <s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0">
+ <s:fill>
+ <s:SolidColor color="0xC0C0C0" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 3: text -->
+ <s:Label id="titleDisplay" maxDisplayedLines="1"
+ left="9" right="3" top="1" minHeight="30"
+ verticalAlign="middle" fontWeight="bold" color="#E2E2E2">
+ </s:Label>
+
+ </s:Group>
+
+ <s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0">
+ </s:Group>
+
+ <s:Group id="bottomGroup" minWidth="0" minHeight="0"
+ includeIn="normalWithControlBar, disabledWithControlBar" >
+ <!-- layer 0: control bar background -->
+ <s:Rect left="0" right="0" bottom="0" top="1" >
+ <s:fill>
+ <s:SolidColor color="0xE2EdF7" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 1: control bar divider line -->
+ <s:Rect left="0" right="0" top="0" height="1" >
+ <s:fill>
+ <s:SolidColor color="0xD1E0F2" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 2: control bar -->
+ <s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0">
+ <s:layout>
+ <s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" />
+ </s:layout>
+ </s:Group>
+ </s:Group>
+ </s:Group>
+</s:Skin>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/Sample-AIR2-OpenWithDefaultApplication/src/up.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/Sample-AIR2-OpenWithDefaultApplication/src/up.png b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/Sample-AIR2-OpenWithDefaultApplication/src/up.png
new file mode 100755
index 0000000..4bf79b0
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/Sample-AIR2-OpenWithDefaultApplication/src/up.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/SourceIndex.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/SourceIndex.xml b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/SourceIndex.xml
new file mode 100644
index 0000000..9d4f43c
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/SourceIndex.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ 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.
+
+-->
+<index>
+ <title>Source of Sample-AIR2-OpenWithDefaultApplication</title>
+ <nodes>
+ <node label="libs">
+ </node>
+ <node label="src">
+ <node icon="packageIcon" label="skins" expanded="true">
+ <node icon="mxmlIcon" label="TDFPanelSkin.mxml" url="source/skins/TDFPanelSkin.mxml.html"/>
+ </node>
+ <node label="sample1-app.xml" url="source/sample1-app.xml.txt"/>
+ <node icon="mxmlIcon" label="sample1.mxml" url="source/sample1.mxml.html"/>
+ <node label="sample2-app.xml" url="source/sample2-app.xml.txt"/>
+ <node icon="mxmlAppIcon" selected="true" label="sample2.mxml" url="source/sample2.mxml.html"/>
+ <node icon="imageIcon" label="up.png" url="source/up.png.html"/>
+ </node>
+ </nodes>
+ <zipfile label="Download source (ZIP, 12K)" url="Sample-AIR2-OpenWithDefaultApplication.zip">
+ </zipfile>
+ <sdklink label="Download Flex SDK" url="http://www.adobe.com/go/flex4_sdk_download">
+ </sdklink>
+</index>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/SourceStyles.css
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/SourceStyles.css b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/SourceStyles.css
new file mode 100644
index 0000000..9d5210f
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/SourceStyles.css
@@ -0,0 +1,155 @@
+/*
+ * 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.
+ */
+body {
+ font-family: Courier New, Courier, monospace;
+ font-size: medium;
+}
+
+.ActionScriptASDoc {
+ color: #3f5fbf;
+}
+
+.ActionScriptBracket/Brace {
+}
+
+.ActionScriptComment {
+ color: #009900;
+ font-style: italic;
+}
+
+.ActionScriptDefault_Text {
+}
+
+.ActionScriptMetadata {
+ color: #0033ff;
+ font-weight: bold;
+}
+
+.ActionScriptOperator {
+}
+
+.ActionScriptReserved {
+ color: #0033ff;
+ font-weight: bold;
+}
+
+.ActionScriptString {
+ color: #990000;
+ font-weight: bold;
+}
+
+.ActionScriptclass {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScriptfunction {
+ color: #339966;
+ font-weight: bold;
+}
+
+.ActionScriptinterface {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScriptpackage {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScripttrace {
+ color: #cc6666;
+ font-weight: bold;
+}
+
+.ActionScriptvar {
+ color: #6699cc;
+ font-weight: bold;
+}
+
+.MXMLASDoc {
+ color: #3f5fbf;
+}
+
+.MXMLComment {
+ color: #800000;
+}
+
+.MXMLComponent_Tag {
+ color: #0000ff;
+}
+
+.MXMLDefault_Text {
+}
+
+.MXMLProcessing_Instruction {
+}
+
+.MXMLSpecial_Tag {
+ color: #006633;
+}
+
+.MXMLString {
+ color: #990000;
+}
+
+.CSS@font-face {
+ color: #990000;
+ font-weight: bold;
+}
+
+.CSS@import {
+ color: #006666;
+ font-weight: bold;
+}
+
+.CSS@media {
+ color: #663333;
+ font-weight: bold;
+}
+
+.CSS@namespace {
+ color: #923196;
+}
+
+.CSSComment {
+ color: #999999;
+}
+
+.CSSDefault_Text {
+}
+
+.CSSDelimiters {
+}
+
+.CSSProperty_Name {
+ color: #330099;
+}
+
+.CSSProperty_Value {
+ color: #3333cc;
+}
+
+.CSSSelector {
+ color: #ff00ff;
+}
+
+.CSSString {
+ color: #990000;
+}
+
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/SourceTree.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/SourceTree.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/SourceTree.html
new file mode 100644
index 0000000..80281a9
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/SourceTree.html
@@ -0,0 +1,129 @@
+<!--
+ 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.
+-->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!-- saved from url=(0014)about:internet -->
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
+ <!--
+ Smart developers always View Source.
+
+ This application was built using Adobe Flex, an open source framework
+ for building rich Internet applications that get delivered via the
+ Flash Player or to desktops via Adobe AIR.
+
+ Learn more about Flex at http://flex.org
+ // -->
+ <head>
+ <title></title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <!-- Include CSS to eliminate any default margins/padding and set the height of the html element and
+ the body element to 100%, because Firefox, or any Gecko based browser, interprets percentage as
+ the percentage of the height of its parent container, which has to be set explicitly. Initially,
+ don't display flashContent div so it won't show if JavaScript disabled.
+ -->
+ <style type="text/css" media="screen">
+ html, body { height:100%; }
+ body { margin:0; padding:0; overflow:auto; text-align:center;
+ background-color: #ffffff; }
+ #flashContent { display:none; }
+ </style>
+
+ <!-- Enable Browser History by replacing useBrowserHistory tokens with two hyphens -->
+ <!-- BEGIN Browser History required section >
+ <link rel="stylesheet" type="text/css" href="history/history.css" />
+ <script type="text/javascript" src="history/history.js"></script>
+ <! END Browser History required section -->
+
+ <script type="text/javascript" src="swfobject.js"></script>
+ <script type="text/javascript">
+ function loadIntoMain(url) {
+ parent.mainFrame.location.href = url;
+ }
+
+ function openUrlWindow(url) {
+ window.top.location = url;
+ }
+
+ <!-- For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection. -->
+ var swfVersionStr = "10.0.0";
+ <!-- To use express install, set to playerProductInstall.swf, otherwise the empty string. -->
+ var xiSwfUrlStr = "playerProductInstall.swf";
+ var flashvars = {};
+ var params = {};
+ params.quality = "high";
+ params.bgcolor = "#ffffff";
+ params.allowscriptaccess = "sameDomain";
+ params.allowfullscreen = "true";
+ var attributes = {};
+ attributes.id = "SourceTree";
+ attributes.name = "SourceTree";
+ attributes.align = "middle";
+ swfobject.embedSWF(
+ "SourceTree.swf", "flashContent",
+ "100%", "100%",
+ swfVersionStr, xiSwfUrlStr,
+ flashvars, params, attributes);
+ <!-- JavaScript enabled so display the flashContent div in case it is not replaced with a swf object. -->
+ swfobject.createCSS("#flashContent", "display:block;text-align:left;");
+ </script>
+ </head>
+ <body>
+ <!-- SWFObject's dynamic embed method replaces this alternative HTML content with Flash content when enough
+ JavaScript and Flash plug-in support is available. The div is initially hidden so that it doesn't show
+ when JavaScript is disabled.
+ -->
+ <div id="flashContent">
+ <p>
+ To view this page ensure that Adobe Flash Player version
+ 10.0.0 or greater is installed.
+ </p>
+ <script type="text/javascript">
+ var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://");
+ document.write("<a href='http://www.adobe.com/go/getflashplayer'><img src='"
+ + pageHost + "www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' /></a>" );
+ </script>
+ </div>
+
+ <noscript>
+ <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%" id="SourceTree">
+ <param name="movie" value="SourceTree.swf" />
+ <param name="quality" value="high" />
+ <param name="bgcolor" value="#ffffff" />
+ <param name="allowScriptAccess" value="sameDomain" />
+ <param name="allowFullScreen" value="true" />
+ <!--[if !IE]>-->
+ <object type="application/x-shockwave-flash" data="SourceTree.swf" width="100%" height="100%">
+ <param name="quality" value="high" />
+ <param name="bgcolor" value="#ffffff" />
+ <param name="allowScriptAccess" value="sameDomain" />
+ <param name="allowFullScreen" value="true" />
+ <!--<![endif]-->
+ <!--[if gte IE 6]>-->
+ <p>
+ Either scripts and active content are not permitted to run or Adobe Flash Player version
+ 10.0.0 or greater is not installed.
+ </p>
+ <!--<![endif]-->
+ <a href="http://www.adobe.com/go/getflashplayer">
+ <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash Player" />
+ </a>
+ <!--[if !IE]>-->
+ </object>
+ <!--<![endif]-->
+ </object>
+ </noscript>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/index.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/index.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/index.html
new file mode 100644
index 0000000..002bfab
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/index.html
@@ -0,0 +1,32 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Source of Sample-AIR2-OpenWithDefaultApplication</title>
+</head>
+<frameset cols="235,*" border="2" framespacing="1">
+ <frame src="SourceTree.html" name="leftFrame" scrolling="NO">
+ <frame src="source/sample2.mxml.html" name="mainFrame">
+</frameset>
+<noframes>
+ <body>
+ </body>
+</noframes>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/source/sample1-app.xml.txt
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/source/sample1-app.xml.txt b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/source/sample1-app.xml.txt
new file mode 100644
index 0000000..cad6bc3
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/source/sample1-app.xml.txt
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>sample1</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>sample1</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>sample1</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/source/sample1.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/source/sample1.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/source/sample1.mxml.html
new file mode 100644
index 0000000..20545ce
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/source/sample1.mxml.html
@@ -0,0 +1,59 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>sample1.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">" styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">MouseEvent</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">controls</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">FileSystemDataGrid</span>;
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">datagridHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">MouseEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">fsg</span>:<span class="ActionScriptDefault_Text">FileSystemDataGrid</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">currentTarget</span> <span class="ActionScriptReserved">as</span> <span class="ActionScriptDefault_Text">FileSystemDataGrid</span>;
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">fsg</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedItem</span> <span class="ActionScriptOperator">!=</span> <span class="ActionScriptReserved">null</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">fsg</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedItem</span> <span class="ActionScriptReserved">as</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">openWithDefaultApplication</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:Panel</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" title="</span><span class="MXMLString">Open With Default Application Sample</span><span class="MXMLDefault_Text">" skinClass="</span><span class="MXMLString">skins.TDFPanelSkin</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> top="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">" left="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">660</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">justify</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">"
+ text="</span><span class="MXMLString">The Open With Default Application support allows you to open any file with it's associated default application. Locate a file
+item in the file system grid and double-click it to see it in action:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><mx:Button</span><span class="MXMLDefault_Text"> icon="</span><span class="MXMLString">@Embed(source='up.png')</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">fileGrid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">navigateUp</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;<span class="MXMLDefault_Text">"
+ enabled="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">fileGrid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">canNavigateUp</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><mx:FileSystemDataGrid</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">fileGrid</span><span class="MXMLDefault_Text">" directory="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">File</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">desktopDirectory</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">660</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">150</span><span class="MXMLDefault_Text">"
+ doubleClickEnabled="</span><span class="MXMLString">true</span><span class="MXMLDefault_Text">" doubleClick="</span><span class="ActionScriptDefault_Text">datagridHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"></mx:FileSystemDataGrid></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+ <span class="MXMLComponent_Tag"></s:Panel></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/source/sample2-app.xml.txt
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/source/sample2-app.xml.txt b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/source/sample2-app.xml.txt
new file mode 100644
index 0000000..21dad49
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/source/sample2-app.xml.txt
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>main</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>main</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>main</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/source/sample2.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/source/sample2.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/source/sample2.mxml.html
new file mode 100644
index 0000000..ab989c3
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/source/sample2.mxml.html
@@ -0,0 +1,58 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>sample2.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">" styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLSpecial_Tag"><fx:Declarations></span>
+ <span class="MXMLComment"><!--</span><span class="MXMLComment"> Place non-visual elements (e.g., services, value objects) here </span><span class="MXMLComment">--></span>
+ <span class="MXMLSpecial_Tag"></fx:Declarations></span>
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">fileToOpen</span>:<span class="ActionScriptDefault_Text">File</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">documentsDirectory</span>;
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">onLoadFileClick</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">file</span>:<span class="ActionScriptDefault_Text">File</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">createTempDirectory</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">resolvePath</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"tourdeflex-air2-sample.txt"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">fileStream</span>:<span class="ActionScriptDefault_Text">FileStream</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">FileStream</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">fileStream</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">open</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">file</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">FileMode</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">WRITE</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">fileStream</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">writeUTFBytes</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">txtArea</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">fileStream</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">close</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">file</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">openWithDefaultApplication</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+ <span class="MXMLComponent_Tag"><s:Panel</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" title="</span><span class="MXMLString">Open With Default Application Sample</span><span class="MXMLDefault_Text">" skinClass="</span><span class="MXMLString">skins.TDFPanelSkin</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> paddingTop="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" paddingBottom="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" paddingLeft="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" paddingRight="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" top="</span><span class="MXMLString">15</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">400</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">justify</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">"
+ text="</span><span class="MXMLString">This sample demonstrates how you can write some text into a file and then open it immediately with the default text application.</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" text="</span><span class="MXMLString">Enter text and click button:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextArea</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">txtArea</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">80%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">40%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Load File</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">onLoadFileClick</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+ <span class="MXMLComponent_Tag"></s:Panel></span>
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/source/skins/TDFPanelSkin.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/source/skins/TDFPanelSkin.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/source/skins/TDFPanelSkin.mxml.html
new file mode 100644
index 0000000..fbb0bfb
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/source/skins/TDFPanelSkin.mxml.html
@@ -0,0 +1,146 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta http-equiv="Content-Style-Type" content="text/css">
+ <title>TDFPanelSkin.mxml</title>
+ <meta name="Generator" content="Cocoa HTML Writer">
+ <meta name="CocoaVersion" content="1187.4">
+ <style type="text/css">
+ p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier}
+ p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; color: #941100}
+ p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; min-height: 15.0px}
+ p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px}
+ </style>
+</head>
+<body>
+<p class="p1"><?xml version="1.0" encoding="utf-8"?></p>
+<p class="p2"><!--</p>
+<p class="p3"><br></p>
+<p class="p2">Licensed to the Apache Software Foundation (ASF) under one or more</p>
+<p class="p2">contributor license agreements.<span class="Apple-converted-space"> </span>See the NOTICE file distributed with</p>
+<p class="p2">this work for additional information regarding copyright ownership.</p>
+<p class="p2">The ASF licenses this file to You under the Apache License, Version 2.0</p>
+<p class="p2">(the "License"); you may not use this file except in compliance with</p>
+<p class="p2">the License.<span class="Apple-converted-space"> </span>You may obtain a copy of the License at</p>
+<p class="p3"><br></p>
+<p class="p2">http://www.apache.org/licenses/LICENSE-2.0</p>
+<p class="p3"><br></p>
+<p class="p2">Unless required by applicable law or agreed to in writing, software</p>
+<p class="p2">distributed under the License is distributed on an "AS IS" BASIS,</p>
+<p class="p2">WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</p>
+<p class="p2">See the License for the specific language governing permissions and</p>
+<p class="p2">limitations under the License.</p>
+<p class="p3"><br></p>
+<p class="p2">--></p>
+<p class="p1"><s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"<span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span>alpha.disabled="0.5" minWidth="131" minHeight="127"></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><fx:Metadata></p>
+<p class="p1"><span class="Apple-converted-space"> </span>[HostComponent("spark.components.Panel")]</p>
+<p class="p1"><span class="Apple-converted-space"> </span></fx:Metadata><span class="Apple-converted-space"> </span></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:states></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normal" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabled" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normalWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabledWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:states></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- drop shadow --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" top="0" right="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:DropShadowFilter blurX="15" blurY="15" alpha="0.18" distance="11" angle="90" knockout="true" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: border --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColorStroke color="0" alpha="0.50" weight="1" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: background fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" height="15"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradient rotation="90"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xE2E2E2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradient></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: contents --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group left="1" right="1" top="1" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:VerticalLayout gap="0" horizontalAlign="justify" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="topGroup" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: title bar fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- Note: We have custom skinned the title bar to be solid black for Tour de Flex --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbFill" left="0" right="0" top="0" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: title bar highlight --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradientStroke rotation="90" weight="1"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xEAEAEA" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xD9D9D9" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradientStroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: title bar divider --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xC0C0C0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: text --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Label id="titleDisplay" maxDisplayedLines="1"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>left="9" right="3" top="1" minHeight="30"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>verticalAlign="middle" fontWeight="bold" color="#E2E2E2"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Label></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="bottomGroup" minWidth="0" minHeight="0"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>includeIn="normalWithControlBar, disabledWithControlBar" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: control bar background --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" top="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xE2EdF7" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: control bar divider line --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" height="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xD1E0F2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: control bar --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"></s:Skin></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/source/up.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/source/up.png b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/source/up.png
new file mode 100644
index 0000000..4bf79b0
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/source/up.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/source/up.png.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/source/up.png.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/source/up.png.html
new file mode 100644
index 0000000..bc5ccd9
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/OpenWithDefaultApp/srcview/source/up.png.html
@@ -0,0 +1,28 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
+<title>up.png</title>
+</head>
+
+<body>
+<img src="up.png" border="0"/>
+</body>
+</html>
[17/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/source/DateFormatterSample.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/source/DateFormatterSample.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/source/DateFormatterSample.mxml.html
new file mode 100644
index 0000000..e5d1133
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/source/DateFormatterSample.mxml.html
@@ -0,0 +1,112 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>DateFormatterSample.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Declarations></span>
+ <span class="MXMLComponent_Tag"><s:RadioButtonGroup</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">styleGrp</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLSpecial_Tag"></fx:Declarations></span>
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">globalization</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">DateTimeFormatter</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">globalization</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">DateTimeStyle</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">globalization</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">LocaleID</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">collections</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ArrayCollection</span>;
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">formatter</span>:<span class="ActionScriptDefault_Text">DateTimeFormatter</span>;
+
+ <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Bindable</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptReserved">protected</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">locales</span>:<span class="ActionScriptDefault_Text">ArrayCollection</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">ArrayCollection</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">[</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"Default Locale"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptDefault_Text">LocaleID</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">DEFAULT</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"Swedish"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"sv_SE"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"Dutch"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"nl_NL"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"French"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"fr_FR"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"German"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"de_DE"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"Japanese"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"ja_JP"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"Korean"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"ko_KR"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"US-English"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"en_US"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">formatDate</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">""</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">date</span>:<span class="ActionScriptDefault_Text">Date</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">Date</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">locale</span>:<span class="ActionScriptDefault_Text">String</span>;
+
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ddl</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedIndex</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptOperator">-</span>1<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptDefault_Text">locale</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">LocaleID</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">DEFAULT</span>;
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptDefault_Text">locale</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">ddl</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedItem</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">data</span>
+
+ <span class="ActionScriptDefault_Text">formatter</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">DateTimeFormatter</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">locale</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"Locale selected: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">locale</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" - Actual locale name: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">formatter</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">actualLocaleIDName</span>;
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"\nFormatting date/time: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">date</span>;
+ <span class="ActionScriptComment">//trace("Date " +new Date());
+</span> <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">styleGrp</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedValue</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptString">"Long Style"</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">longStyle</span>:<span class="ActionScriptDefault_Text">String</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">formatter</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">format</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">date</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">longStylePattern</span>:<span class="ActionScriptDefault_Text">String</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">formatter</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">getDateTimePattern</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"\nLong Style Date pattern "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">longStylePattern</span>;
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"\nLong Style Date: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">longStyle</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">else</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">formatter</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">setDateTimeStyles</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">DateTimeStyle</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">NONE</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">DateTimeStyle</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SHORT</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">shortStyle</span>:<span class="ActionScriptDefault_Text">String</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">formatter</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">format</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">date</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">shortStylePattern</span>:<span class="ActionScriptDefault_Text">String</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">formatter</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">getDateTimePattern</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"\nShort Style date pattern "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">shortStylePattern</span>;
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"\nShort Style Date: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">shortStyle</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"\n\n\nLast Operation Status: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">formatter</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">lastOperationStatus</span>;
+
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+ <span class="MXMLComponent_Tag"><s:Panel</span><span class="MXMLDefault_Text"> skinClass="</span><span class="MXMLString">skins.TDFPanelSkin</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" title="</span><span class="MXMLString">DateTime and Currency Formatting by Locale</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> top="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">" left="</span><span class="MXMLString">12</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Select style of date/time formatting:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:HGroup></span>
+ <span class="MXMLComponent_Tag"><s:RadioButton</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">shortDate</span><span class="MXMLDefault_Text">" groupName="</span><span class="MXMLString">styleGrp</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">Short Style</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:RadioButton</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">longDate</span><span class="MXMLDefault_Text">" groupName="</span><span class="MXMLString">styleGrp</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">Long Style</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"><s:DropDownList</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">ddl</span><span class="MXMLDefault_Text">" dataProvider="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">locales</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">" prompt="</span><span class="MXMLString">Select locale...</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">200</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Format Today's Date</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">formatDate</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> top="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">" right="</span><span class="MXMLString">20</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Console:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextArea</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">ta</span><span class="MXMLDefault_Text">" editable="</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">400</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">93%</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">justify</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">" bottom="</span><span class="MXMLString">25</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">"
+ text="</span><span class="MXMLString">This sample will format today's date/time with the selected locale and date/time style (short versus long). The last operation status
+will indicate if an error occurred in formatting.</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:Panel></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/source/NumberFormatterSample-app.xml.txt
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/source/NumberFormatterSample-app.xml.txt b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/source/NumberFormatterSample-app.xml.txt
new file mode 100644
index 0000000..f95bfbf
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/source/NumberFormatterSample-app.xml.txt
@@ -0,0 +1,156 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta2
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>NumberFormatterSample</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>NumberFormatterSample</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>NumberFormatterSample</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
+ <!-- <publisherID></publisherID> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width in pixels. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height in pixels. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/source/NumberFormatterSample.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/source/NumberFormatterSample.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/source/NumberFormatterSample.mxml.html
new file mode 100644
index 0000000..38d7ea0
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/source/NumberFormatterSample.mxml.html
@@ -0,0 +1,113 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>NumberFormatterSample.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">globalization</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">LastOperationStatus</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">globalization</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">LocaleID</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">globalization</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">NumberFormatter</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">globalization</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">NumberParseResult</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">collections</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ArrayCollection</span>;
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">locale</span>:<span class="ActionScriptDefault_Text">String</span>;
+
+ <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Bindable</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptReserved">protected</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">locales</span>:<span class="ActionScriptDefault_Text">ArrayCollection</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">ArrayCollection</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">[</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"Default Locale"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptDefault_Text">LocaleID</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">DEFAULT</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"Swedish"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"sv_SE"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"Dutch"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"nl_NL"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"French"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"fr_FR"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"German"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"de_DE"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"Japanese"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"ja_JP"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"Korean"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"ko_KR"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">label</span>:<span class="ActionScriptString">"US-English"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">data</span>:<span class="ActionScriptString">"en_US"</span><span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptOperator">,</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">parseNumber</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptOperator">=</span><span class="ActionScriptString">""</span>;
+
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ddl</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedIndex</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptOperator">-</span>1<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptDefault_Text">locale</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">LocaleID</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">DEFAULT</span>;
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptDefault_Text">locale</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">ddl</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedItem</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">data</span>
+
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">nf</span>:<span class="ActionScriptDefault_Text">NumberFormatter</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">NumberFormatter</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">locale</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"Locale selected: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">locale</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" Actual LocaleID Name: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">nf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">actualLocaleIDName</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">"\n\n"</span>;
+
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">parseResult</span>:<span class="ActionScriptDefault_Text">NumberParseResult</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">nf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">parse</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">num</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">nf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">lastOperationStatus</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptDefault_Text">LastOperationStatus</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">NO_ERROR</span> <span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span><span class="ActionScriptString">"The value of Parsed Number:"</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">parseResult</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">value</span> <span class="ActionScriptOperator">+</span><span class="ActionScriptString">"\n"</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">parsedNumber</span>:<span class="ActionScriptDefault_Text">Number</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">nf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">parseNumber</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">num</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">nf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">lastOperationStatus</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptDefault_Text">LastOperationStatus</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">NO_ERROR</span> <span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptOperator">+=</span><span class="ActionScriptString">"The value of Parsed Number:"</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">parsedNumber</span> <span class="ActionScriptOperator">+</span><span class="ActionScriptString">"\n"</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"\n\nLast Operation Status: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">nf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">lastOperationStatus</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">"\n"</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">formatNumber</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptOperator">=</span><span class="ActionScriptString">""</span>;
+
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ddl</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedIndex</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptOperator">-</span>1<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptDefault_Text">locale</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">LocaleID</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">DEFAULT</span>;
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptDefault_Text">locale</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">ddl</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedItem</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">data</span>
+
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">nf</span>:<span class="ActionScriptDefault_Text">NumberFormatter</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">NumberFormatter</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">locale</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"Locale selected: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">locale</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" - Actual locale name: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">nf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">actualLocaleIDName</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">"\n\n"</span>;
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"Formatted Number: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">nf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">formatNumber</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Number</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">num</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">+</span><span class="ActionScriptString">"\n"</span>;
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"Formatted Integer: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">nf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">formatInt</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Number</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">num</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">+</span><span class="ActionScriptString">"\n"</span>;
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"Formatted Unsigned Integer: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">nf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">formatUint</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Number</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">num</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">+</span><span class="ActionScriptString">"\n"</span>;
+
+ <span class="ActionScriptDefault_Text">ta</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"\n\nLast Operation Status: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">nf</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">lastOperationStatus</span><span class="ActionScriptOperator">+</span><span class="ActionScriptString">"\n"</span>;
+
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:Panel</span><span class="MXMLDefault_Text"> skinClass="</span><span class="MXMLString">skins.TDFPanelSkin</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" title="</span><span class="MXMLString">Number Formatting/Parsing by Locale</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> top="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">" left="</span><span class="MXMLString">12</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Enter a number with commas, decimals or negative</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">(for example: 123,456,789.123):</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextInput</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">num</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:DropDownList</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">ddl</span><span class="MXMLDefault_Text">" dataProvider="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">locales</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">" prompt="</span><span class="MXMLString">Select locale...</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">200</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:HGroup></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Parse</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">parseNumber</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Format</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">formatNumber</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> right="</span><span class="MXMLString">20</span><span class="MXMLDefault_Text">" top="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Console:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextArea</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">ta</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">350</span><span class="MXMLDefault_Text">" editable="</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">" </span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">95%</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">justify</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">" bottom="</span><span class="MXMLString">25</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">"
+ text="</span><span class="MXMLString">This sample will format or parse a number with the selected locale. The last operation status
+will indicate if an error occurred in formatting or parsing. </span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:Panel></span>
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/source/skins/TDFPanelSkin.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/source/skins/TDFPanelSkin.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/source/skins/TDFPanelSkin.mxml.html
new file mode 100644
index 0000000..df79d11
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/source/skins/TDFPanelSkin.mxml.html
@@ -0,0 +1,147 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta http-equiv="Content-Style-Type" content="text/css">
+ <title>TDFPanelSkin.mxml</title>
+ <meta name="Generator" content="Cocoa HTML Writer">
+ <meta name="CocoaVersion" content="1187.4">
+ <style type="text/css">
+ p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier}
+ p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; color: #941100}
+ p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; min-height: 15.0px}
+ p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px}
+ </style>
+</head>
+<body>
+<p class="p1"><?xml version="1.0" encoding="utf-8"?></p>
+<p class="p2"><!--</p>
+<p class="p3"><br></p>
+<p class="p2">Licensed to the Apache Software Foundation (ASF) under one or more</p>
+<p class="p2">contributor license agreements.<span class="Apple-converted-space"> </span>See the NOTICE file distributed with</p>
+<p class="p2">this work for additional information regarding copyright ownership.</p>
+<p class="p2">The ASF licenses this file to You under the Apache License, Version 2.0</p>
+<p class="p2">(the "License"); you may not use this file except in compliance with</p>
+<p class="p2">the License.<span class="Apple-converted-space"> </span>You may obtain a copy of the License at</p>
+<p class="p3"><br></p>
+<p class="p2">http://www.apache.org/licenses/LICENSE-2.0</p>
+<p class="p3"><br></p>
+<p class="p2">Unless required by applicable law or agreed to in writing, software</p>
+<p class="p2">distributed under the License is distributed on an "AS IS" BASIS,</p>
+<p class="p2">WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</p>
+<p class="p2">See the License for the specific language governing permissions and</p>
+<p class="p2">limitations under the License.</p>
+<p class="p3"><br></p>
+<p class="p2">--></p>
+<p class="p4"><br></p>
+<p class="p1"><s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"<span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span>alpha.disabled="0.5" minWidth="131" minHeight="127"></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><fx:Metadata></p>
+<p class="p1"><span class="Apple-converted-space"> </span>[HostComponent("spark.components.Panel")]</p>
+<p class="p1"><span class="Apple-converted-space"> </span></fx:Metadata><span class="Apple-converted-space"> </span></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:states></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normal" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabled" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normalWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabledWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:states></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- drop shadow --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" top="0" right="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:DropShadowFilter blurX="15" blurY="15" alpha="0.18" distance="11" angle="90" knockout="true" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: border --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColorStroke color="0" alpha="0.50" weight="1" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: background fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" height="15"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradient rotation="90"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xE2E2E2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradient></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: contents --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group left="1" right="1" top="1" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:VerticalLayout gap="0" horizontalAlign="justify" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="topGroup" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: title bar fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- Note: We have custom skinned the title bar to be solid black for Tour de Flex --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbFill" left="0" right="0" top="0" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: title bar highlight --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradientStroke rotation="90" weight="1"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xEAEAEA" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xD9D9D9" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradientStroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: title bar divider --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xC0C0C0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: text --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Label id="titleDisplay" maxDisplayedLines="1"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>left="9" right="3" top="1" minHeight="30"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>verticalAlign="middle" fontWeight="bold" color="#E2E2E2"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Label></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="bottomGroup" minWidth="0" minHeight="0"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>includeIn="normalWithControlBar, disabledWithControlBar" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: control bar background --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" top="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xE2EdF7" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: control bar divider line --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" height="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xD1E0F2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: control bar --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"></s:Skin></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/source/test-app.xml.txt
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/source/test-app.xml.txt b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/source/test-app.xml.txt
new file mode 100644
index 0000000..de9c8d6
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/Globalization/srcview/source/test-app.xml.txt
@@ -0,0 +1,156 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0beta2">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta2
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>test</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>test</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>test</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
+ <!-- <publisherID></publisherID> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width in pixels. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height in pixels. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
[40/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/components/TextBoxSearch.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/components/TextBoxSearch.mxml b/TourDeFlex/TourDeFlex/src/components/TextBoxSearch.mxml
new file mode 100644
index 0000000..59bf20e
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/components/TextBoxSearch.mxml
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<mx:TextInput xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="init()" keyUp="textBox_keyUp(event)" change="textBox_change()">
+
+ <mx:Script>
+ <![CDATA[
+
+ public static const TEXT_SUBMIT:String = "textSubmit";
+ private var isDirty:Boolean = false;
+ private var typingPauseTimer:Timer;
+
+ private function init():void
+ {
+ typingPauseTimer = new Timer(700, 1);
+ typingPauseTimer.addEventListener(TimerEvent.TIMER, timer_typingPause);
+ }
+
+ private function textBox_change():void
+ {
+ isDirty = true;
+
+ if(typingPauseTimer.running)
+ typingPauseTimer.reset();
+ typingPauseTimer.start();
+ }
+
+ private function timer_typingPause(event:TimerEvent):void
+ {
+ if(isDirty)
+ submitText();
+ }
+
+ private function textBox_keyUp(event:KeyboardEvent):void
+ {
+ if(event.keyCode == Keyboard.ENTER && isDirty)
+ submitText();
+ }
+
+ private function submitText():void
+ {
+ var notificationTimer:Timer = new Timer(100, 1);
+ notificationTimer.addEventListener(TimerEvent.TIMER, timer_turnNotificationOff);
+ notificationTimer.start();
+
+ isDirty = false;
+ this.setStyle("backgroundColor", 0xFFFFB3);
+ dispatchEvent(new Event(TEXT_SUBMIT, true));
+ }
+
+ private function timer_turnNotificationOff(event:TimerEvent):void
+ {
+ this.setStyle("backgroundColor", 0xFFFFFF);
+ }
+
+ ]]>
+ </mx:Script>
+
+ <mx:Metadata>
+ [Event(name="textSubmit", type="flash.events.Event")]
+ </mx:Metadata>
+
+</mx:TextInput>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/components/WipeWindow.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/components/WipeWindow.mxml b/TourDeFlex/TourDeFlex/src/components/WipeWindow.mxml
new file mode 100644
index 0000000..88a7a20
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/components/WipeWindow.mxml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" showEffect="{this.wipeDown}" hideEffect="{this.wipeUp}" styleName="wipeWindow">
+
+ <mx:Script>
+ <![CDATA[
+ import mx.events.FlexEvent;
+ import mx.events.EffectEvent;
+
+ public static const HIDE_COMPLETE:String = "hideComplete";
+
+ private function hideComplete(event:EffectEvent):void
+ {
+ var hideCompleteEvent:FlexEvent = new FlexEvent(HIDE_COMPLETE);
+ dispatchEvent(hideCompleteEvent);
+ }
+
+ ]]>
+ </mx:Script>
+
+ <mx:Metadata>
+ [Event(name="hideComplete", type="mx.events.FlexEvent")]
+ </mx:Metadata>
+
+ <mx:WipeDown id="wipeDown" duration="500" />
+ <mx:WipeUp id="wipeUp" duration="500" effectEnd="hideComplete(event)" />
+
+</mx:VBox>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/data/about.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/data/about.html b/TourDeFlex/TourDeFlex/src/data/about.html
new file mode 100644
index 0000000..11c6bd7
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/data/about.html
@@ -0,0 +1,57 @@
+<!--
+ 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.
+-->
+<html>
+ <head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
+ <title>About</title>
+ <link rel="stylesheet" href="style.css" />
+ </head>
+ <!-- width:434 height:333 -->
+ <body>
+ <div id="hdr">
+ <a href="http://www.adobe.com/devnet/flex/tourdeflex" target="_blank"><img src="images/logo.png" alt="logo" width="159" height="43" border="0"></a>
+ <div id="version"><br>
+ <span class="team"><b><font color="#FFFFFF"><CENTER>A Product of the <BR>Adobe Evangelism Team</CENTER></font></b><br /></span>
+ </div>
+ </div>
+ <div id="main">
+ <div id="credits">
+ <p><b>Concept by:</b><BR/>
+ <A HREF="http://www.jamesward.com">James Ward</A>, <A HREF="http://coenraets.org/">Christophe Coenraets</A>, and <A HREF="http://gregsramblings.com">Greg Wilson</A></p>
+ <p><b>Application Design & Development:</b><br />
+ Sean Carey, Rich Emery, Trae Regan, Holly Schinsky, <A HREF="http://www.taterboy.com/blog/">Todd Williams</A><BR>
+ Christophe Coenraets, James Ward, Greg Wilson</p>
+
+ <p><b>Eclipse Plugin Development:</b><br />
+ <A HREF="http://richdesktopsolutions.com">Holly Schinsky</A></p>
+
+ </div>
+ <div id="logo">
+ <a href="http://www.hdinteractive.com" target="_blank"><img src="images/HDlogo.png" alt="HDlogo" width="97" height="25" border="0"></a><br />
+ <a href="http://www.hdinteractive.com" target="_blank">http://www.hdinteractive.com</a>
+ </div>
+ <div id="ftr">
+ <div id="ftrLogo" class="lt">
+ <img src="images/adobe_logo.png" alt="adobe_logo" width="22" height="25">
+ </div>
+ <div id="rights" class="rt">
+ ©2010 Adobe Systems Inccorporated. All rights reserved. The Adobe logo and Flex are registered trademarks of Adobe Systems Incorporated in the United States and/or other countries.
+ </div>
+ </div>
+ </div>
+ </body>
+</html>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/data/images/bkg.jpg
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/data/images/bkg.jpg b/TourDeFlex/TourDeFlex/src/data/images/bkg.jpg
new file mode 100644
index 0000000..4654381
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/data/images/bkg.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/data/images/logo.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/data/images/logo.png b/TourDeFlex/TourDeFlex/src/data/images/logo.png
new file mode 100644
index 0000000..4db7317
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/data/images/logo.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/data/images/qs_banner_plain_big2.jpg
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/data/images/qs_banner_plain_big2.jpg b/TourDeFlex/TourDeFlex/src/data/images/qs_banner_plain_big2.jpg
new file mode 100644
index 0000000..3012a3b
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/data/images/qs_banner_plain_big2.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/data/images/quickstart.gif
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/data/images/quickstart.gif b/TourDeFlex/TourDeFlex/src/data/images/quickstart.gif
new file mode 100644
index 0000000..0bf5e21
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/data/images/quickstart.gif differ
[30/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/EncryptingData/AIREncryptingDataSample.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/EncryptingData/AIREncryptingDataSample.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/EncryptingData/AIREncryptingDataSample.mxml.html
new file mode 100644
index 0000000..5477d96
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/EncryptingData/AIREncryptingDataSample.mxml.html
@@ -0,0 +1,106 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>AIREncryptingDataSample.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ backgroundColor="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">" styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" viewSourceURL="</span><span class="MXMLString">srcview/index.html</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+<span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">controls</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Alert</span>;
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">storeLoginData</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">userid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptOperator">!=</span><span class="ActionScriptReserved">null</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">pwBytes</span>:<span class="ActionScriptDefault_Text">ByteArray</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">ByteArray</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">pwBytes</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">ByteArray</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">pwBytes</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">writeUTFBytes</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">password</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">EncryptedLocalStore</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">setItem</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">userid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">pwBytes</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Login successful! Userid/password stored for future retrieval."</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"No userid entered."</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">login</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">chkRemember</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selected</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">storeLoginData</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Login successful! Userid/password not stored."</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">clear</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">retrievePassword</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">userid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptOperator">!=</span><span class="ActionScriptReserved">null</span> <span class="ActionScriptOperator">&&</span> <span class="ActionScriptDefault_Text">userid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">length</span><span class="ActionScriptOperator">></span>0<span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">storedValue</span>:<span class="ActionScriptDefault_Text">ByteArray</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">EncryptedLocalStore</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">getItem</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">userid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">storedValue</span><span class="ActionScriptOperator">!=</span><span class="ActionScriptReserved">null</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">password</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">storedValue</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">readUTFBytes</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">storedValue</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">length</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"No stored data found for userid: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">userid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Please enter a userid to retrieve the password for. "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">userid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">clear</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">userid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptOperator">=</span><span class="ActionScriptString">""</span>;
+ <span class="ActionScriptDefault_Text">password</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptOperator">=</span><span class="ActionScriptString">""</span>;
+ <span class="ActionScriptDefault_Text">chkRemember</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selected</span><span class="ActionScriptOperator">=</span><span class="ActionScriptReserved">false</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">removeLoginData</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">userid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">!=</span> <span class="ActionScriptReserved">null</span> <span class="ActionScriptOperator">&&</span> <span class="ActionScriptDefault_Text">userid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">length</span><span class="ActionScriptOperator">></span>0<span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">EncryptedLocalStore</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">removeItem</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">userid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Login data removed for userid: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">userid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Please enter the userid of which to remove the stored password."</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+<span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> paddingLeft="</span><span class="MXMLString">70</span><span class="MXMLDefault_Text">" paddingTop="</span><span class="MXMLString">80</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:Form></span>
+ <span class="MXMLComponent_Tag"><mx:FormItem</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Userid:</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">white</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:TextInput</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">userid</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">black</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></mx:FormItem></span>
+ <span class="MXMLComponent_Tag"><mx:FormItem</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Password:</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">white</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:TextInput</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">password</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">black</span><span class="MXMLDefault_Text">" displayAsPassword="</span><span class="MXMLString">true</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></mx:FormItem></span>
+ <span class="MXMLComponent_Tag"><mx:FormItem</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Remember Password:</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">white</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:CheckBox</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">chkRemember</span><span class="MXMLDefault_Text">" </span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></mx:FormItem></span>
+ <span class="MXMLComponent_Tag"><mx:FormItem</span><span class="MXMLDefault_Text"> direction="</span><span class="MXMLString">horizontal</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> left="</span><span class="MXMLString">165</span><span class="MXMLDefault_Text">" top="</span><span class="MXMLString">110</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">Login</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">login</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> left="</span><span class="MXMLString">330</span><span class="MXMLDefault_Text">" top="</span><span class="MXMLString">110</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">Retrieve Password</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">retrievePassword</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></mx:FormItem></span>
+ <span class="MXMLComponent_Tag"></mx:Form></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Remove Data Store</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">removeLoginData</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/FileSystem/main.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/FileSystem/main.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/FileSystem/main.mxml.html
new file mode 100644
index 0000000..919c417
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/FileSystem/main.mxml.html
@@ -0,0 +1,68 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>main.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ backgroundColor="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">" viewSourceURL="</span><span class="MXMLString">srcview/index.html</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptReserved">const</span> <span class="ActionScriptDefault_Text">textFilter</span>:<span class="ActionScriptDefault_Text">FileFilter</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">FileFilter</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Text Files (txt, html, htm)"</span><span class="ActionScriptOperator">,</span><span class="ActionScriptString">"*.txt;*.html;*.htm;"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> horizontalAlign="</span><span class="MXMLString">center</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" paddingTop="</span><span class="MXMLString">5</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:RichTextEditor</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">rte</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">220</span><span class="MXMLDefault_Text">" title="</span><span class="MXMLString">Text Editor</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:HGroup></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Save</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:click></span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">f</span>:<span class="ActionScriptDefault_Text">File</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">desktopDirectory</span>;
+ <span class="ActionScriptDefault_Text">f</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">browseForSave</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Save As"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">f</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SELECT</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">stream</span>:<span class="ActionScriptDefault_Text">FileStream</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">FileStream</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">stream</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">open</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">target</span> <span class="ActionScriptReserved">as</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">,</span><span class="ActionScriptDefault_Text">FileMode</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">WRITE</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">stream</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">writeUTFBytes</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">rte</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">htmlText</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">stream</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">close</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="MXMLComponent_Tag"></s:click></span>
+ <span class="MXMLComponent_Tag"></s:Button></span>
+
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Open</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:click></span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">f</span>:<span class="ActionScriptDefault_Text">File</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">desktopDirectory</span>;
+ <span class="ActionScriptDefault_Text">f</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">browseForOpen</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Select file to open"</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptDefault_Text">textFilter</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">f</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SELECT</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">Event</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">fs</span>:<span class="ActionScriptDefault_Text">FileStream</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">FileStream</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">fs</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">open</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">target</span> <span class="ActionScriptReserved">as</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">FileMode</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">READ</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">rte</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">htmlText</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">fs</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">readUTFBytes</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">fs</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bytesAvailable</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">fs</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">close</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="MXMLComponent_Tag"></s:click></span>
+ <span class="MXMLComponent_Tag"></s:Button></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/InstallBadge/installbadge.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/InstallBadge/installbadge.png b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/InstallBadge/installbadge.png
new file mode 100644
index 0000000..82d8d84
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/InstallBadge/installbadge.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/InstallBadge/installbadge1.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/InstallBadge/installbadge1.html b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/InstallBadge/installbadge1.html
new file mode 100644
index 0000000..81ef1cd
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/InstallBadge/installbadge1.html
@@ -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.
+-->
+<HTML>
+<HEAD></HEAD>
+<BODY BGCOLOR="#323232">
+<IMG SRC="installbadge.png">
+</BODY>
+</HTML>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/InstallBadge/installbadge2.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/InstallBadge/installbadge2.html b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/InstallBadge/installbadge2.html
new file mode 100644
index 0000000..291aabe
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/InstallBadge/installbadge2.html
@@ -0,0 +1,43 @@
+<!--
+ 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.
+-->
+<HTML>
+<HEAD></HEAD>
+<BODY BGCOLOR="#323232">
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
+<TR>
+<TD WIDTH="5%"> </TD>
+<TD WIDTH="40%">
+<CENTER>
+<FONT COLOR="#FFFFFF" SIZE="3">
+VIDEO
+<BR>
+Installation of an Adobe AIR application on a Windows machine without AIR installed
+<BR>
+</FONT>
+<FONT SIZE="1" COLOR="WHITE">(internet connection required to stream video)</FONT>
+</CENTER>
+</TD>
+<TD WIDTH="5%"> </TD>
+<TD WIDTH="40%">
+<embed src="http://blip.tv/play/ga0GyY1eAA" type="application/x-shockwave-flash"
+ width="299" height="240" allowscriptaccess="never" allowfullscreen="true"></embed>
+</TD>
+<TD WIDTH="10%"> </TD>
+</TR>
+</TABLE>
+</BODY>
+</HTML>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/InstallBadge/readme.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/InstallBadge/readme.html b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/InstallBadge/readme.html
new file mode 100644
index 0000000..04f519c
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/InstallBadge/readme.html
@@ -0,0 +1,33 @@
+<!--
+ 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 install badge shown here was created by <A HREF="http://www.gskinner.com/">Grant Skinner</A> for Adobe Systems. Inc.
+Compared to the default badge included with the Adobe AIR SDK, this badge has a new look and feel with additional detection
+logic and leverages the AIR runtime's "launch now" capability. Use this badge if you:
+<BR>
+<UL>
+<LI>Want a new look and feel for your install badges (it looks cool!)
+<LI>Want to leverage the application detection and "launch now" feature
+<LI>Want a simple way to upgrade end users to the correct Flash Player version using express install
+<LI>Want to provide customizable help links and text
+<LI>Want to customize the text display on your install badges
+</UL>
+<B>Links:</B>
+<UL>
+<LI><A HREF="http://www.adobe.com/devnet/air/articles/badge_for_air.html">Adobe AIR Developer Center Page on Install Badge</A>
+<LI><A HREF="http://www.adobe.com/devnet/air/articles/badger_for_air_apps.html">Badger - Tool for creating AIR Install Badge</A>
+<LI><A HREF="http://www.gskinner.com/blog/archives/2008/09/beware_the_air.html">Grant Skinner's Badger Home Page</A>
+</UL>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/MonitorNetwork/socketsample.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/MonitorNetwork/socketsample.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/MonitorNetwork/socketsample.mxml.html
new file mode 100644
index 0000000..5380dc6
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/MonitorNetwork/socketsample.mxml.html
@@ -0,0 +1,73 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>socketsample.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"
+ backgroundColor="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">" </span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">air</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">net</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SocketMonitor</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">net</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">URLRequest</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">StatusEvent</span>;
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">monitor</span>:<span class="ActionScriptDefault_Text">SocketMonitor</span>;
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">startMonitor</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">monitor</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">SocketMonitor</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">hostField</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">int</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">hostPort</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">monitor</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">StatusEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">STATUS</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">checkStatus</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">monitor</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">pollInterval</span> <span class="ActionScriptOperator">=</span> 500; <span class="ActionScriptComment">// Every 1/2 second
+</span> <span class="ActionScriptDefault_Text">updateStatus</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>; <span class="ActionScriptComment">// Report the current status
+</span> <span class="ActionScriptDefault_Text">monitor</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">start</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>; <span class="ActionScriptComment">// Monitor for changes in status
+</span> <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">checkStatus</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">StatusEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">updateStatus</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">updateStatus</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">if</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">monitor</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">available</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">connectFlag</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">"Current Status=ONLINE"</span>;
+ <span class="ActionScriptBracket/Brace">}</span> <span class="ActionScriptReserved">else</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">connectFlag</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">"Current Status=OFFLINE"</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> paddingTop="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:HGroup</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">middle</span><span class="MXMLDefault_Text">" horizontalAlign="</span><span class="MXMLString">center</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Host name or IP address:</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">white</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextInput</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">hostField</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">180</span><span class="MXMLDefault_Text">" text="</span><span class="MXMLString">www.adobe.com</span><span class="MXMLDefault_Text">" </span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Port:</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">white</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextInput</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">hostPort</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">50</span><span class="MXMLDefault_Text">" text="</span><span class="MXMLString">80</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">monButton</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">Start</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">startMonitor</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">connectFlag</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">white</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/MonitorNetwork/urlsample.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/MonitorNetwork/urlsample.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/MonitorNetwork/urlsample.mxml.html
new file mode 100644
index 0000000..a0f6453
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/MonitorNetwork/urlsample.mxml.html
@@ -0,0 +1,65 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>urlsample.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">" xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ backgroundColor="</span><span class="MXMLString">0x323232</span><span class="MXMLDefault_Text">" xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">air</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">net</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">URLMonitor</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">net</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">URLRequest</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">StatusEvent</span>;
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">monitor</span>:<span class="ActionScriptDefault_Text">URLMonitor</span>;
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">startMonitor</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">monitor</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">URLMonitor</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">URLRequest</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">hostField</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">monitor</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">StatusEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">STATUS</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">checkStatus</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">monitor</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">pollInterval</span> <span class="ActionScriptOperator">=</span> 500; <span class="ActionScriptComment">// Every 1/2 second
+</span> <span class="ActionScriptDefault_Text">monitor</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">start</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">checkStatus</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">StatusEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">if</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">monitor</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">available</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">connectFlag</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">"Current Status=ONLINE"</span>;
+ <span class="ActionScriptBracket/Brace">}</span> <span class="ActionScriptReserved">else</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">connectFlag</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">"Current Status=OFFLINE"</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" top="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:HGroup</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">middle</span><span class="MXMLDefault_Text">" horizontalAlign="</span><span class="MXMLString">center</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Host name or IP address:</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">white</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextInput</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">hostField</span><span class="MXMLDefault_Text">" text="</span><span class="MXMLString">http://www.adobe.com</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">220</span><span class="MXMLDefault_Text">" </span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">monButton</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">Start</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">startMonitor</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"><mx:Label</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">connectFlag</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">white</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
[28/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/SQLite/sample.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/SQLite/sample.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/SQLite/sample.mxml.html
new file mode 100644
index 0000000..0fe164a
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/SQLite/sample.mxml.html
@@ -0,0 +1,157 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>sample.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">" xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ backgroundColor="</span><span class="MXMLString">0x323232</span><span class="MXMLDefault_Text">" xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">" creationComplete="</span><span class="ActionScriptDefault_Text">initDatabase</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"
+ width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">data</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SQLResult</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">filesystem</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">File</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">data</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SQLStatement</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">data</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SQLConnection</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SQLEvent</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">SQLErrorEvent</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">collections</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ArrayCollection</span>;
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">employeeDB</span>:<span class="ActionScriptDefault_Text">SQLConnection</span>;
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">dbStatement</span>:<span class="ActionScriptDefault_Text">SQLStatement</span>;
+
+ <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Bindable</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">employeeCollection</span>:<span class="ActionScriptDefault_Text">Array</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">Array</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">initDatabase</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">dbFile</span>:<span class="ActionScriptDefault_Text">File</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">applicationStorageDirectory</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">resolvePath</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"employees.db"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">dbStatement</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">SQLStatement</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">dbStatement</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">itemClass</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">Employee</span>;
+ <span class="ActionScriptDefault_Text">employeeDB</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">SQLConnection</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">dbStatement</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">sqlConnection</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">employeeDB</span>;
+ <span class="ActionScriptDefault_Text">employeeDB</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">SQLEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">OPEN</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">onDatabaseOpen</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">employeeDB</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">SQLErrorEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ERROR</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">errorHandler</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">employeeDB</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">open</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">dbFile</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">onDatabaseOpen</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">SQLEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">dbStatement</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">"CREATE TABLE IF NOT EXISTS employees ( id INTEGER PRIMARY KEY AUTOINCREMENT, firstname TEXT, lastname TEXT, position TEXT )"</span>;
+ <span class="ActionScriptDefault_Text">dbStatement</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">SQLEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">RESULT</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">handleResult</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">dbStatement</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">SQLErrorEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ERROR</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">createError</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">dbStatement</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">execute</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptComment">// refresh employee list on open
+</span> <span class="ActionScriptDefault_Text">getEmployees</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">handleResult</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">SQLEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">result</span>:<span class="ActionScriptDefault_Text">SQLResult</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">dbStatement</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">getResult</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">result</span> <span class="ActionScriptOperator">!=</span> <span class="ActionScriptReserved">null</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">this</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">employeeCollection</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">result</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">data</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">getEmployees</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">dbStatement</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">"SELECT * from employees"</span>;
+ <span class="ActionScriptDefault_Text">dbStatement</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">execute</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">onAddBtnClick</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">MouseEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">employee</span>:<span class="ActionScriptDefault_Text">Employee</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">Employee</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">employee</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">firstname</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">txtFirstName</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span>;
+ <span class="ActionScriptDefault_Text">employee</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">lastname</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">txtLastName</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span>;
+ <span class="ActionScriptDefault_Text">employee</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">position</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">txtPosition</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span>;
+ <span class="ActionScriptDefault_Text">addEmployee</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">employee</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">getEmployees</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">addEmployee</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">employee</span>:<span class="ActionScriptDefault_Text">Employee</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">dbStatement</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">"INSERT into employees(firstname,lastname,position) values('"</span> <span class="ActionScriptOperator">+</span>
+ <span class="ActionScriptDefault_Text">employee</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">firstname</span> <span class="ActionScriptOperator">+</span>
+ <span class="ActionScriptString">"','"</span> <span class="ActionScriptOperator">+</span>
+ <span class="ActionScriptDefault_Text">employee</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">lastname</span> <span class="ActionScriptOperator">+</span>
+ <span class="ActionScriptString">"','"</span> <span class="ActionScriptOperator">+</span>
+ <span class="ActionScriptDefault_Text">employee</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">position</span> <span class="ActionScriptOperator">+</span>
+ <span class="ActionScriptString">"')"</span>;
+ <span class="ActionScriptDefault_Text">dbStatement</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">execute</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">onDeleteBtnClick</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">MouseEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">employee</span>:<span class="ActionScriptDefault_Text">Employee</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">emplDataGrid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedItem</span> <span class="ActionScriptReserved">as</span> <span class="ActionScriptDefault_Text">Employee</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">sqlDelete</span>:<span class="ActionScriptDefault_Text">String</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">"delete from employees where id='"</span><span class="ActionScriptOperator">+</span><span class="ActionScriptDefault_Text">employee</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">id</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">"' and firstname='"</span><span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">employee</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">firstname</span><span class="ActionScriptOperator">+</span><span class="ActionScriptString">"' and lastname='"</span><span class="ActionScriptOperator">+</span>
+ <span class="ActionScriptDefault_Text">employee</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">lastname</span><span class="ActionScriptOperator">+</span><span class="ActionScriptString">"' and position='"</span><span class="ActionScriptOperator">+</span><span class="ActionScriptDefault_Text">employee</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">position</span><span class="ActionScriptOperator">+</span><span class="ActionScriptString">"';"</span>;
+ <span class="ActionScriptDefault_Text">dbStatement</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">sqlDelete</span>;
+ <span class="ActionScriptDefault_Text">dbStatement</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">execute</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">getEmployees</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">errorHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">error</span>:<span class="ActionScriptDefault_Text">SQLError</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Error Occurred with id: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">error</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">errorID</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" operation "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">error</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">operation</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" message "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">error</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">message</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">createError</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">SQLErrorEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Error Occurred with id: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">error</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">errorID</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" message "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">error</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">message</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:VGroup></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> left="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">" right="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">" top="</span><span class="MXMLString">5</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:DataGrid</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">emplDataGrid</span><span class="MXMLDefault_Text">" dataProvider="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">employeeCollection</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" rowCount="</span><span class="MXMLString">3</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:columns></span>
+ <span class="MXMLComponent_Tag"><mx:DataGridColumn</span><span class="MXMLDefault_Text"> dataField="</span><span class="MXMLString">id</span><span class="MXMLDefault_Text">" headerText="</span><span class="MXMLString">Employee ID</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><mx:DataGridColumn</span><span class="MXMLDefault_Text"> dataField="</span><span class="MXMLString">firstname</span><span class="MXMLDefault_Text">" headerText="</span><span class="MXMLString">First Name</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><mx:DataGridColumn</span><span class="MXMLDefault_Text"> dataField="</span><span class="MXMLString">lastname</span><span class="MXMLDefault_Text">" headerText="</span><span class="MXMLString">Last Name</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><mx:DataGridColumn</span><span class="MXMLDefault_Text"> dataField="</span><span class="MXMLString">position</span><span class="MXMLDefault_Text">" headerText="</span><span class="MXMLString">Position</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></mx:columns></span>
+ <span class="MXMLComponent_Tag"></mx:DataGrid></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">deleteBtn</span><span class="MXMLDefault_Text">" left="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">Delete Employee</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">onDeleteBtnClick</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">" enabled="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">emplDataGrid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedIndex</span> <span class="ActionScriptOperator">></span> <span class="ActionScriptOperator">-</span>1<span class="MXMLString">}</span><span class="MXMLDefault_Text">"</span><span clas
s="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+
+ <span class="MXMLComponent_Tag"><mx:Form</span><span class="MXMLDefault_Text"> top="</span><span class="MXMLString">110</span><span class="MXMLDefault_Text">" left="</span><span class="MXMLString">180</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:FormItem</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">First Name:</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">white</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:TextInput</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">txtFirstName</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">black</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></mx:FormItem></span>
+ <span class="MXMLComponent_Tag"><mx:FormItem</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Last Name:</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">white</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:TextInput</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">txtLastName</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">black</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></mx:FormItem></span>
+ <span class="MXMLComponent_Tag"><mx:FormItem</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Position:</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">white</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:TextInput</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">txtPosition</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">black</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></mx:FormItem></span>
+ <span class="MXMLComponent_Tag"><mx:FormItem></span>
+ <span class="MXMLComponent_Tag"><mx:Button</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">addBtn</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">Add Employee</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">onAddBtnClick</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></mx:FormItem></span>
+ <span class="MXMLComponent_Tag"></mx:Form></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/Screens/DemoWindow.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/Screens/DemoWindow.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/Screens/DemoWindow.mxml.html
new file mode 100644
index 0000000..3dbd301
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/Screens/DemoWindow.mxml.html
@@ -0,0 +1,41 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>DemoWindow.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><mx:Window</span><span class="MXMLDefault_Text"> xmlns:mx="</span><span class="MXMLString">http://www.adobe.com/2006/mxml</span><span class="MXMLDefault_Text">" layout="</span><span class="MXMLString">vertical</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">middle</span><span class="MXMLDefault_Text">"
+ horizontalAlign="</span><span class="MXMLString">center</span><span class="MXMLDefault_Text">" backgroundColor="</span><span class="MXMLString">#3333FF</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">250</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">90</span><span class="MXMLDefault_Text">"
+ showStatusBar="</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">" showTitleBar="</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">" showGripper="</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">" borderStyle="</span><span class="MXMLString">none</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+<span class="MXMLSpecial_Tag"><mx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">setMsg</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">msgIn</span>:<span class="ActionScriptDefault_Text">String</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">msg</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">msgIn</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+<span class="MXMLSpecial_Tag"></mx:Script></span>
+ <span class="MXMLComponent_Tag"><mx:Label</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">msg</span><span class="MXMLDefault_Text">" fontWeight="</span><span class="MXMLString">bold</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">white</span><span class="MXMLDefault_Text">" </span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><mx:Button</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">winButton</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">Close</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptReserved">this</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">close</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+<span class="MXMLComponent_Tag"></mx:Window></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/Screens/ScreenDemo.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/Screens/ScreenDemo.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/Screens/ScreenDemo.mxml.html
new file mode 100644
index 0000000..9e31646
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/Screens/ScreenDemo.mxml.html
@@ -0,0 +1,80 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>ScreenDemo.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">" xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" creationComplete="</span><span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"
+ remove="</span><span class="ActionScriptDefault_Text">removePopups</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;<span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">controls</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Button</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">display</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Screen</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">controls</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Alert</span>;
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">winNumber</span>:<span class="ActionScriptDefault_Text">int</span> <span class="ActionScriptOperator">=</span> 0;
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">myWindows</span>:<span class="ActionScriptDefault_Text">Array</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">Array</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">mainScreen</span>:<span class="ActionScriptDefault_Text">Screen</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">Screen</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">mainScreen</span>; <span class="ActionScriptComment">// Main screen as defined by OS (see docs) - not used in this sample
+</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">screenArray</span>:<span class="ActionScriptDefault_Text">Array</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">Screen</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">screens</span>;
+ <span class="ActionScriptDefault_Text">message</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">"Screens found:\n"</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">virtualBounds</span>:<span class="ActionScriptDefault_Text">Rectangle</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">Rectangle</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptReserved">for each</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">screen</span>:<span class="ActionScriptDefault_Text">Screen</span> <span class="ActionScriptReserved">in</span> <span class="ActionScriptDefault_Text">screenArray</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">message</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"\tScreen Size: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">screen</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bounds</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">width</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">"x"</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">screen</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bounds</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">height</span> <span class="ActionScriptOperator">+</span> <span class="ActionScr
iptString">"\n"</span>;
+ <span class="ActionScriptDefault_Text">message</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"\tVisible Bounds (excludes taskbar/menubar/dock):"</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">screen</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">visibleBounds</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">width</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">"x"</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">screen</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">visibleBounds</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">height</span> <span class="Actio
nScriptOperator">+</span> <span class="ActionScriptString">"\n"</span>;
+ <span class="ActionScriptDefault_Text">message</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"\tColors: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">screen</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">colorDepth</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">toString</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" bit\n\n"</span>;
+
+ <span class="ActionScriptComment">// Calculate virtual screen size (combines monitor resolutions)
+</span> <span class="ActionScriptReserved">if</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">virtualBounds</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">left</span> <span class="ActionScriptOperator">></span> <span class="ActionScriptDefault_Text">screen</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bounds</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">left</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">virtualBounds</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">left</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">screen</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bounds
</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">left</span>;<span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">if</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">virtualBounds</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">right</span> <span class="ActionScriptOperator"><</span> <span class="ActionScriptDefault_Text">screen</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bounds</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">right</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">virtualBounds</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">right</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">screen</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bounds</span
><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">right</span>;<span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">if</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">virtualBounds</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">top</span> <span class="ActionScriptOperator">></span> <span class="ActionScriptDefault_Text">screen</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bounds</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">top</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">virtualBounds</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">top</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">screen</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bounds</span><
span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">top</span>;<span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">if</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">virtualBounds</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bottom</span> <span class="ActionScriptOperator"><</span> <span class="ActionScriptDefault_Text">screen</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bounds</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bottom</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">virtualBounds</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bottom</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">screen</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bounds</spa
n><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bottom</span>;<span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptComment">// Determine the center point of each screen
+</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">centerX</span>:<span class="ActionScriptDefault_Text">int</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">screen</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bounds</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">right</span> <span class="ActionScriptOperator">-</span> <span class="ActionScriptDefault_Text">screen</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bounds</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">width</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">screen</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bounds</span><span class=
"ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">width</span> <span class="ActionScriptOperator">/</span> 2<span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">centerY</span>:<span class="ActionScriptDefault_Text">int</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">screen</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bounds</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bottom</span> <span class="ActionScriptOperator">-</span> <span class="ActionScriptDefault_Text">screen</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bounds</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">height</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">screen</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bounds</span><span class="Action
ScriptOperator">.</span><span class="ActionScriptDefault_Text">height</span> <span class="ActionScriptOperator">/</span> 2<span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptComment">// Open a window in the center of each screen
+</span> <span class="ActionScriptDefault_Text">myWindows</span><span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptDefault_Text">winNumber</span><span class="ActionScriptBracket/Brace">]</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">DemoWindow</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">myWindows</span><span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptDefault_Text">winNumber</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">open</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">myWindows</span><span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptDefault_Text">winNumber</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">setMsg</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Screen Size: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">screen</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bounds</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">width</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">"x"</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">screen</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">bounds</span><span c
lass="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">height</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" ("</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">screen</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">colorDepth</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">toString</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" bit)"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">myWindows</span><span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptDefault_Text">winNumber</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">move</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">centerX</span> <span class="ActionScriptOperator">-</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">myWindows</span><span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptDefault_Text">winNumber</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">width</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">/</span>2<span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">centerY</
span> <span class="ActionScriptOperator">-</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">myWindows</span><span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptDefault_Text">winNumber</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">height</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">/</span>2<span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptOperator">++</span><span class="ActionScriptDefault_Text">winNumber</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptDefault_Text">message</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">+=</span> <span class="ActionScriptString">"Virtual Screen Size: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">virtualBounds</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">width</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">"x"</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">virtualBounds</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">height</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">"\n"</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">removePopups</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">i</span>:<span class="ActionScriptDefault_Text">int</span>;
+ <span class="ActionScriptReserved">for</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">i</span> <span class="ActionScriptOperator">=</span> 0; <span class="ActionScriptDefault_Text">i</span><span class="ActionScriptOperator"><</span><span class="ActionScriptDefault_Text">winNumber</span>; <span class="ActionScriptOperator">++</span><span class="ActionScriptDefault_Text">i</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptDefault_Text">myWindows</span><span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptDefault_Text">i</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">close</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Removed windows"</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+ <span class="MXMLComponent_Tag"><s:TextArea</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">message</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" left="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" top="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" right="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" bottom="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/Screens/readme.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/Screens/readme.html b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/Screens/readme.html
new file mode 100644
index 0000000..8ce787c
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/Screens/readme.html
@@ -0,0 +1,24 @@
+<!--
+ 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.
+-->
+<B>Important Links</B>
+<UL>
+<LI><A HREF="http://help.adobe.com/en_US/AIR/1.1/devappsflex/WS5b3ccc516d4fbf351e63e3d118676a47e0-8000.html">Adobe AIR 1.1 Help - Screens</A>
+<LI><A HREF="http://www.adobe.com/devnet/air/flex/quickstart/screens_virtual_desktop.html">Measuring the virtual desktop - Adobe Developer Connection</A>
+</UL>
+<B>Why does this sample use DemoWindow?</B><BR>
+A NativeWindow could have been used, but it would not allow Flex components to be added.<BR>
+DemoWindow has a root of "Window" which allows it to contain Flex objects.
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/SourceStyles.css
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/SourceStyles.css b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/SourceStyles.css
new file mode 100644
index 0000000..639c39a
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/SourceStyles.css
@@ -0,0 +1,146 @@
+/*
+ * 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.
+ */
+body {
+ font-family: Courier New, Courier, monospace;
+}
+
+.CSS@font-face {
+ color: #990000;
+ font-weight: bold;
+}
+
+.CSS@import {
+ color: #006666;
+ font-weight: bold;
+}
+
+.CSS@media {
+ color: #663333;
+ font-weight: bold;
+}
+
+.CSSComment {
+ color: #999999;
+}
+
+.CSSDefault_Text {
+}
+
+.CSSDelimiters {
+}
+
+.CSSProperty_Name {
+ color: #330099;
+}
+
+.CSSProperty_Value {
+ color: #3333cc;
+}
+
+.CSSSelector {
+ color: #ff00ff;
+}
+
+.CSSString {
+ color: #990000;
+}
+
+.ActionScriptASDoc {
+ color: #3f5fbf;
+}
+
+.ActionScriptBracket/Brace {
+}
+
+.ActionScriptComment {
+ color: #009900;
+ font-style: italic;
+}
+
+.ActionScriptDefault_Text {
+}
+
+.ActionScriptMetadata {
+ color: #0033ff;
+ font-weight: bold;
+}
+
+.ActionScriptOperator {
+}
+
+.ActionScriptReserved {
+ color: #0033ff;
+ font-weight: bold;
+}
+
+.ActionScriptString {
+ color: #990000;
+ font-weight: bold;
+}
+
+.ActionScriptclass {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScriptfunction {
+ color: #339966;
+ font-weight: bold;
+}
+
+.ActionScriptinterface {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScriptpackage {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScripttrace {
+ color: #cc6666;
+ font-weight: bold;
+}
+
+.ActionScriptvar {
+ color: #6699cc;
+ font-weight: bold;
+}
+
+.MXMLComment {
+ color: #800000;
+}
+
+.MXMLComponent_Tag {
+ color: #0000ff;
+}
+
+.MXMLDefault_Text {
+}
+
+.MXMLProcessing_Instruction {
+}
+
+.MXMLSpecial_Tag {
+ color: #006633;
+}
+
+.MXMLString {
+ color: #990000;
+}
+
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/TransparentVideo/MovieWindow.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/TransparentVideo/MovieWindow.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/TransparentVideo/MovieWindow.mxml.html
new file mode 100644
index 0000000..2f32ac9
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/TransparentVideo/MovieWindow.mxml.html
@@ -0,0 +1,37 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>MovieWindow.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><mx:Window</span><span class="MXMLDefault_Text"> xmlns:mx="</span><span class="MXMLString">http://www.adobe.com/2006/mxml</span><span class="MXMLDefault_Text">" layout="</span><span class="MXMLString">vertical</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">bottom</span><span class="MXMLDefault_Text">"
+ horizontalAlign="</span><span class="MXMLString">center</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">262</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">218</span><span class="MXMLDefault_Text">" paddingBottom="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" paddingLeft="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" paddingRight="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" paddingTop="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">"
+ backgroundAlpha="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" showFlexChrome="</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">" transparent="</span><span class="MXMLString">true</span><span class="MXMLDefault_Text">" systemChrome="</span><span class="MXMLString">none</span><span class="MXMLDefault_Text">" remove="</span><span class="ActionScriptDefault_Text">myVid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">stop</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>; <span class="ActionScriptDefault_Text">myVid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">close</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"
+ showStatusBar="</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">" showTitleBar="</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">" showGripper="</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">" borderStyle="</span><span class="MXMLString">none</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLComponent_Tag"><mx:VideoDisplay</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">myVid</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">262</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">218</span><span class="MXMLDefault_Text">" backgroundAlpha="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" volume="</span><span class="MXMLString">0.75</span><span class="MXMLDefault_Text">"
+ source="</span><span class="MXMLString">app:/images/tweet1.flv</span><span class="MXMLDefault_Text">" autoPlay="</span><span class="MXMLString">true</span><span class="MXMLDefault_Text">" autoRewind="</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">"
+ click="</span><span class="ActionScriptDefault_Text">myVid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">stop</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>; <span class="ActionScriptDefault_Text">navigateToURL</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">URLRequest</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">'http://www.twitter.com'</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptBracket/Brace">)</span>;<span class="MXMLDefault_Text">" </span><span class="MXMLComponent_Tag">/></span>
+
+<span class="MXMLComponent_Tag"></mx:Window></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/TransparentVideo/main.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/TransparentVideo/main.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/TransparentVideo/main.mxml.html
new file mode 100644
index 0000000..38f8ce4
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR/HOWTO/TransparentVideo/main.mxml.html
@@ -0,0 +1,58 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>main.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><mx:Module</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">" xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">" backgroundColor="</span><span class="MXMLString">0x323232</span><span class="MXMLDefault_Text">"
+ height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" remove="</span><span class="ActionScriptDefault_Text">toastWindow</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">close</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Declarations></span>
+ <span class="MXMLComponent_Tag"><mx:Move</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">myMov</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLSpecial_Tag"></fx:Declarations></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">display</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Screen</span>;
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">toastWindow</span>:<span class="ActionScriptDefault_Text">MovieWindow</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">MovieWindow</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">showToast</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span> <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">mainScreen</span>:<span class="ActionScriptDefault_Text">Screen</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">Screen</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">mainScreen</span>;
+ <span class="ActionScriptDefault_Text">toastWindow</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">open</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">myMov</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">target</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">toastWindow</span>;
+ <span class="ActionScriptDefault_Text">myMov</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">xTo</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">myMov</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">xFrom</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">mainScreen</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">visibleBounds</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">width</span> <span class="ActionScriptOperator">-</span> <span class="ActionScriptDefault_Text">toastWindow</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">width</span> <span class="ActionScriptOperator">-</span> 50;
+ <span class="ActionScriptDefault_Text">myMov</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">yFrom</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">mainScreen</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">visibleBounds</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">height</span>;
+ <span class="ActionScriptDefault_Text">myMov</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">yTo</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">mainScreen</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">visibleBounds</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">height</span> <span class="ActionScriptOperator">-</span> <span class="ActionScriptDefault_Text">toastWindow</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">height</span> <span class="ActionScriptOperator">+</span> 50;
+ <span class="ActionScriptDefault_Text">myMov</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">duration</span> <span class="ActionScriptOperator">=</span> 1000;
+ <span class="ActionScriptDefault_Text">myMov</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">play</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:HGroup</span><span class="MXMLDefault_Text"> horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" verticalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" x="</span><span class="MXMLString">247</span><span class="MXMLDefault_Text">" y="</span><span class="MXMLString">24</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Lee Brimelow Video Reminder</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">showToast</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" verticalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+
+<span class="MXMLComponent_Tag"></mx:Module></span></pre></body>
+</html>
[39/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/data/objects-desktop-cn.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/data/objects-desktop-cn.xml b/TourDeFlex/TourDeFlex/src/data/objects-desktop-cn.xml
new file mode 100644
index 0000000..e5746f0
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/data/objects-desktop-cn.xml
@@ -0,0 +1,5816 @@
+<!--
+
+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.
+
+-->
+<Objects version="2010-03-22.2" searchTags="uicontrol,input,container,effect,transition,date,number,string,navigator,formatter,validator,chart,visualization,map,data,blazeds,lcds,api,cloud,air,technique" searchTagsTotals="49,6,21,32,2,6,5,18,7,7,11,23,21,13,33,16,16,15,15,22,25" featuredSamples="14110,14120,14130,14140,14150">
+ <Category name="Introduction to Flex">
+ <Object id="90000" name="What's Flex" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="What's Flex - from Flex.org">
+ <Illustrations>
+ <Illustration name="What's Flex" path="http://tourdeflex.adobe.com/introduction/whatsflex.html" openLinksExternal="true" autoExpand="true">
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="90005" name="What's Possible" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="What's Flex - from Flex.org">
+ <Illustrations>
+ <Illustration name="What's Possible (showcase)" path="http://tourdeflex.adobe.com/introduction/whatspossible.html" openLinksExternal="true" autoExpand="true">
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="90010" name="Get Started" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="What's Flex - from Flex.org">
+ <Illustrations>
+ <Illustration name="Get Started" path="http://tourdeflex.adobe.com/introduction/getstarted.html" openLinksExternal="true" autoExpand="true">
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="90015" name="Flex Resources" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="What's Flex - from Flex.org">
+ <Illustrations>
+ <Illustration name="Flex Resources" path="http://tourdeflex.adobe.com/introduction/resources.html" openLinksExternal="true" autoExpand="true">
+ </Illustration>
+ </Illustrations>
+ </Object>
+ </Category>
+ <Category name="Flex 4">
+ <Object id="700001" name="Read Me" iconPath="http://tourdeflex.adobe.com/samples/common/adobe.png" author="Holly Schinsky" tags="readme">
+ <Illustrations>
+ <Illustration name="Read Me" path="http://tourdeflex.adobe.com/flex4samples/flex4-readme-new.html" autoExpand="true" openLinksExternal="true"/>
+ </Illustrations>
+ </Object>
+ <Category name="Components">
+ <Category name="Controls">
+ <Object id="70030" name="AdvancedDataGrid" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/AdvancedDataGrid.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - AdvancedDataGrid">
+ <Illustrations>
+ <Illustration name="AdvancedDataGrid" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-AdvancedDataGrid/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-AdvancedDataGrid/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-AdvancedDataGrid/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=AdvancedDataGrid" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30600" name="Button" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Button.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Button">
+ <Illustrations>
+ <Illustration name="Button" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/Button/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/Button/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/Button/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=Button" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30700" name="ButtonBar" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ButtonBar.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ButtonBar">
+ <Illustrations>
+ <Illustration name="ButtonBar" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/ButtonBar/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/ButtonBar/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/ButtonBar/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=ButtonBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30300" name="CheckBox" author="Holly Schinsky/Adobe" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/CheckBox.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - CheckBox">
+ <Illustrations>
+ <Illustration name="CheckBox" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/CheckBox/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/CheckBox/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/CheckBox/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=CheckBox" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70260" name="ColorPicker" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ColorPicker.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ColorPicker">
+ <Illustrations>
+ <Illustration name="ColorPicker" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ColorPicker/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ColorPicker/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ColorPicker/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=ColorPicker" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30305" name="ComboBox" author="Holly Schinsky/Adobe" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ComboBox.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ComboBox">
+ <Illustrations>
+ <Illustration name="ComboBox" path="http://tourdeflex.adobe.com/flex4.0/ComboBox/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/ComboBox/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/ComboBox/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=ComboBox" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70040" name="DataGrid" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/DataGrid.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DataGrid">
+ <Illustrations>
+ <Illustration name="DataGrid" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DataGrid/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DataGrid/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DataGrid/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=DataGrid" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70050" name="DateChooser" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/DateChooser.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DateChooser">
+ <Illustrations>
+ <Illustration name="DateChooser" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateChooser/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateChooser/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateChooser/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=DateChooser" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70060" name="DateField" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/DateField.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DateField">
+ <Illustrations>
+ <Illustration name="DateField" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateField/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateField/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateField/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=DateField" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30400" name="DropDownList" author="Holly Schinsky/Adobe" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/DropDownList.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DropDownList">
+ <Illustrations>
+ <Illustration name="DropDownList" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/DropDownList/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/DropDownList/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/DropDownList/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/component&topic=DropDownList" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70090" name="Image" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Image.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Image">
+ <Illustrations>
+ <Illustration name="Image" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Image/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Image/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Image/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=Image" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70100" name="LinkButton" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/LinkButton.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - LinkButton">
+ <Illustrations>
+ <Illustration name="LinkButton" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LinkButton/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LinkButton/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LinkButton/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=LinkButton" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30800" name="List" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/List.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - List">
+ <Illustrations>
+ <Illustration name="List" path="http://tourdeflex.adobe.com/flex4samples/UIControls/TreeListAndGridControls/List/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/TreeListAndGridControls/List/srcview/source/sample.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/UIControls/TreeListAndGridControls/List/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=List" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30805" name="Menu" author="Holly Schinsky/Adobe" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Menu.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Menu">
+ <Illustrations>
+ <Illustration name="Menu" path="http://tourdeflex.adobe.com/flex4.0/Menu/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Menu/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Menu/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=Menu" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30200" name="NumericStepper" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/NumericStepper.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - NumericStepper">
+ <Illustrations>
+ <Illustration name="NumericStepper" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/NumericStepper/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/NumericStepper/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/NumericStepper/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=NumericStepper" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70110" name="OLAPDataGrid" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/OLAPDataGrid/OLAPDataGrid.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - OLAPDataGrid">
+ <Illustrations>
+ <Illustration name="OLAPDataGrid" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-OLAPDataGrid/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-OLAPDataGrid/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-OLAPDataGrid/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=OLAPDataGrid" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30720" name="PopUpAnchor" author="Holly Schinsky" dateAdded="2009-09-21" downloadPath="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/srcview/Sample-Flex4-PopUpAnchor.zip" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Button.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Popup Anchor">
+ <Illustrations>
+ <Illustration name="PopUpAnchor" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="CloseButtonSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/srcview/source/skins/CloseButtonSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=PopUpAnchor" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ <Illustration name="PopUpAnchor2" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/sample2.html">
+ <Documents>
+ <Document name="sample2.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/srcview/source/sample2.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=PopUpAnchor" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70120" name="PopUpButton" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/PopUpButton/PopUpButton.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - PopUpButton">
+ <Illustrations>
+ <Illustration name="PopUpButton" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PopUpButton/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PopUpButton/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PopUpButton/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=PopUpButton" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70130" name="ProgressBar" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ProgressBar.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ProgressBar">
+ <Illustrations>
+ <Illustration name="ProgressBar" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ProgressBar/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ProgressBar/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ProgressBar/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=ProgressBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30100" name="RadioButton" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/RadioButton.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - RadioButton">
+ <Illustrations>
+ <Illustration name="RadioButton" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/RadioButton/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/RadioButton/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/RadioButton/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=RadioButton" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30105" name="RichEditableText" author="Holly Schinsky/Adobe" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/RichEditableText.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - RichEditableText">
+ <Illustrations>
+ <Illustration name="RichEditableText" path="http://tourdeflex.adobe.com/flex4.0/RichEditableText/sample.swf">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/RichEditableText/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/RichEditableText/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=RichEditableText" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30107" name="RichText" author="Holly Schinsky/Adobe" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/RichText.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - RichText">
+ <Illustrations>
+ <Illustration name="RichText" path="http://tourdeflex.adobe.com/flex4.0/FXG/RichText/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/RichText/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/RichText/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=RichText" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30910" name="ScrollBar (2)" author="Holly Schinsky" dateAdded="2009-09-21" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Scroller.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ScrollBar">
+ <Illustrations>
+ <Illustration name="ScrollBar" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/ScrollBar/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/ScrollBar/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/ScrollBar/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="HScrollBar Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=VScrollBar" openLinksExternal="true"/>
+ <Document name="VScrollBar Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=HScrollBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ <Illustration name="HScrollBar/VScrollBar" path="http://tourdeflex.adobe.com/flex4.0/ScrollBars/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/ScrollBars/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/ScrollBars/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="HScrollBar Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=VScrollBar" openLinksExternal="true"/>
+ <Document name="VScrollBar Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=HScrollBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31000" name="Scroller (2)" author="Peter DeHaan/Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Scroller.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Scroller">
+ <Illustrations>
+ <Illustration name="Scroller Viewport" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Scroller/sample1.html">
+ <Documents>
+ <Document name="sample1.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Scroller/srcview/source/sample1.mxml.html"/>
+ <Document name="MyPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Scroller/srcview/source/skins/MyPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=Scroller" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ <Illustration name="Scroller Child Tabbing" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Scroller/sample2.html">
+ <Documents>
+ <Document name="sample2.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Scroller/srcview/source/sample2.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Scroller/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=Scroller" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30915" name="Slider" author="Holly Schinsky" dateAdded="2009-09-21" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/VSlider.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Slider">
+ <Illustrations>
+ <Illustration name="Slider" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Slider/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Slider/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Slider/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="VSlider Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=VSlider" openLinksExternal="true"/>
+ <Document name="HSlider Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=HSlider" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30925" name="Spinner" author="Holly Schinsky" dateAdded="2009-10-20" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Spinner.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Spinner">
+ <Illustrations>
+ <Illustration name="Spinner" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Spinner/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Spinner/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Spinner/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=Spinner" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70140" name="SWFLoader" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/SWFLoader.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SWFLoader">
+ <Illustrations>
+ <Illustration name="SWFLoader" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SWFLoader/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SWFLoader/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SWFLoader/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=SWFLoader" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30926" name="TabBar" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TabBar.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - TabBar">
+ <Illustrations>
+ <Illustration name="TabBar" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/srcview/source/sample1.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/srcview/index.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=TabBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30928" name="TextArea" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TextArea.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - TextArea">
+ <Illustrations>
+ <Illustration name="TextArea" path="http://tourdeflex.adobe.com/flex4.0/TextArea/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/TextArea/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/TextArea/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=TextArea" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30930" name="TextInput" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TextInput.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - TextInput">
+ <Illustrations>
+ <Illustration name="TextInput" path="http://tourdeflex.adobe.com/flex4.0/TextInput/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/TextInput/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/TextInput/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=TextInput" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30500" name="ToggleButton" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ToggleButton.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ToggleButton">
+ <Illustrations>
+ <Illustration name="ToggleButton" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/ToggleButton/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/ToggleButton/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/ToggleButton/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=ToggleButton" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70150" name="Tree" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Tree.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Tree">
+ <Illustrations>
+ <Illustration name="Tree" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Tree/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Tree/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Tree/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=ToggleButton" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70160" name="VideoDisplay" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/VideoDisplay.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - VideoDisplay">
+ <Illustrations>
+ <Illustration name="VideoDisplay" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-VideoDisplay/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-VideoDisplay/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-VideoDisplay/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=VideoDisplay" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30900" name="VideoPlayer" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/VideoPlayer.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - VideoPlayer">
+ <Illustrations>
+ <Illustration name="VideoPlayer" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/VideoPlayer/sample1.html">
+ <Documents>
+ <Document name="sample1.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/VideoPlayer/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/VideoPlayer/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=VideoPlayer" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ </Category>
+ <Category name="Layout">
+ <Object id="31099" name="Read Me" iconPath="http://tourdeflex.adobe.com/samples/common/adobe.png" author="Holly Schinsky" tags="readme">
+ <Illustrations>
+ <Illustration name="Read Me" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/groups-containers-readme.html" autoExpand="true" openLinksExternal="true"/>
+ </Illustrations>
+ </Object>
+ <Object id="31100" name="BorderContainer" author="Holly Schinsky" dateAdded="2009-09-10" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/BorderContainer.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - BorderContainer">
+ <Illustrations>
+ <Illustration name="BorderContainer" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/Border/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/Border/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/Border/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=BorderContainer" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31105" name="DataGroup" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/DataGroup.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DataGroup">
+ <Illustrations>
+ <Illustration name="DataGroup" path="http://tourdeflex.adobe.com/flex4.0/DataGroup/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/DataGroup/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/DataGroup/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=DataGroup" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70000" name="Form" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Form.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Form">
+ <Illustrations>
+ <Illustration name="Form" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Form/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Form/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Form/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/containers&topic=Form" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31110" name="HGroup/VGroup (3)" author="Holly Schinsky/Evtim Georgiev" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/HGroup.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - HGroup/VGroup">
+ <Illustrations>
+ <Illustration name="HGroup" path="http://tourdeflex.adobe.com/flex4.0/Group-HGroup-VGroup/SampleHGroup.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Group-HGroup-VGroup/srcview/source/SampleHGroup.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Group-HGroup-VGroup/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=HGroup" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ <Illustration name="VGroup" path="http://tourdeflex.adobe.com/flex4.0/Group-HGroup-VGroup/SampleVGroup.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Group-HGroup-VGroup/srcview/source/SampleVGroup.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Group-HGroup-VGroup/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=VGroup" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ <Illustration name="Group Axis Alignment" path="http://tourdeflex.adobe.com/flex4.0/Groups-verticalAlign-horizontalAlign-forLayout/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Groups-verticalAlign-horizontalAlign-forLayout/srcview/source/sample.mxml.html"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31150" name="Panel" author="Holly Schinsky" dateAdded="2009-09-10" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Panel.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Panel">
+ <Illustrations>
+ <Illustration name="Panel" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/Panel/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/Panel/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/Panel/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=Panel" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31720" name="SkinnableContainer" author="Holly Schinsky" dateAdded="2009-11-16" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/SkinnableContainer.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SkinnableContainer">
+ <Illustrations>
+ <Illustration name="SkinnableContainer" path="http://tourdeflex.adobe.com/flex4samples/Skinning/SkinningContainer/sample.html">
+ <Documents>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/Skinning/SkinningContainer/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=SkinnableContainer" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31725" name="SkinnableDataContainer" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/SkinnableDataContainer.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SkinnableContainer">
+ <Illustrations>
+ <Illustration name="SkinnableDataContainer" path="http://tourdeflex.adobe.com/flex4.0/SkinnableDataContainer/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/SkinnableDataContainer/srcview/source/sample.mxml.html" openLinksExternal="true"/>
+ <Document name="TDFPanelSkin" path="http://tourdeflex.adobe.com/flex4.0/SkinnableDataContainer/srcview/source/skins/TDFPanelSkin.mxml.html" openLinksExternal="true"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4.0/SkinnableDataContainer/srcview/" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=SkinnableDataContainer" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31160" name="Tabbed Navigation (2)" author="Holly Schinsky" dateAdded="2009-11-16" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TabNavigator.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Tabbed Navigation">
+ <Illustrations>
+ <Illustration name="Tabbed Navigation" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/sample1.html">
+ <Documents>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/srcview/index.html" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ <Illustration name="Custom Tabs" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/sample2.html">
+ <Documents>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/srcview/index.html" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31165" name="TileGroup" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TileGroup.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - TileGroup">
+ <Illustrations>
+ <Illustration name="TileGroup" path="http://tourdeflex.adobe.com/flex4.0/TileGroup/TileGroupSample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/TileGroup/srcview/source/TileGroupSample.mxml.html" openLinksExternal="true"/>
+ <Document name="TDFPanelSkin" path="http://tourdeflex.adobe.com/flex4.0/TileGroup/srcview/source/skins/TDFPanelSkin.mxml.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=TileGroup" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70020" name="TitleWindow" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TitleWindow.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - TitleWindow">
+ <Illustrations>
+ <Illustration name="TitleWindow" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-TitleWindow/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-TitleWindow/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-TitleWindow/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=TitleWindow" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ </Category>
+ <Category name="Navigators">
+ <Object id="70170" name="Accordion" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Accordion.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Accordion">
+ <Illustrations>
+ <Illustration name="Accordion" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Accordion/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Accordion/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Accordion/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/containers&topic=Accordion" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70180" name="LinkBar" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/LinkBar.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - LinkBar">
+ <Illustrations>
+ <Illustration name="LinkBar" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LinkBar/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LinkBar/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LinkBar/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/containers&topic=LinkBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70190" name="TabNavigator" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TabNavigator.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - TabNavigator">
+ <Illustrations>
+ <Illustration name="TabNavigator" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-TabNavigator/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-TabNavigator/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-TabNavigator/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/containers&topic=TabNavigator" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70200" name="ToggleButtonBar" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/ToggleButtonBar/ButtonBar.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ToggleButtonBar">
+ <Illustrations>
+ <Illustration name="ToggleButtonBar" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ToggleButtonBar/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ToggleButtonBar/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ToggleButtonBar/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=ToggleButtonBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70210" name="ViewStack" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ViewStack.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ViewStack">
+ <Illustrations>
+ <Illustration name="ViewStack" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ViewStack/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ViewStack/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ViewStack/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/containers&topic=ViewStack" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ </Category>
+ <Category name="Charts">
+ <Object id="70220" name="AreaChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/AreaChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - AreaChart">
+ <Illustrations>
+ <Illustration name="AreaChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-AreaChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-AreaChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-AreaChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=AreaChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70230" name="BarChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/BarChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - BarChart">
+ <Illustrations>
+ <Illustration name="BarChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-BarChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-BarChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-BarChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=BarChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70240" name="BubbleChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/BubbleChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - BubbleChart">
+ <Illustrations>
+ <Illustration name="BubbleChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-BubbleChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-BubbleChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-BubbleChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=BubbleChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70250" name="CandlestickChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/CandlestickChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - CandlestickChart">
+ <Illustrations>
+ <Illustration name="CandlestickChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-CandlestickChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-CandlestickChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-CandlestickChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=CandlestickChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70270" name="ColumnChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ColumnChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ColumnChart">
+ <Illustrations>
+ <Illustration name="ColumnChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ColumnChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ColumnChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ColumnChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=ColumnChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70280" name="HLOCChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/HLOCChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - HLOCChart">
+ <Illustrations>
+ <Illustration name="HLOCChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-HLOCChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-HLOCChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-HLOCChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=HLOCChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70290" name="LineChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/LineChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - LineChart">
+ <Illustrations>
+ <Illustration name="LineChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LineChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LineChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LineChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=LineChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70300" name="PieChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/PieChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - PieChart">
+ <Illustrations>
+ <Illustration name="PieChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PieChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PieChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PieChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=PieChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70310" name="PlotChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/PlotChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - PlotChart">
+ <Illustrations>
+ <Illustration name="PlotChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PlotChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PlotChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PlotChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=PlotChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Category name="Charting Effects">
+ <Object id="70320" name="SeriesInterpolate" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SeriesInterpolate/Effects.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SeriesInterploate">
+ <Illustrations>
+ <Illustration name="SeriesInterpolate" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesInterploate/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesInterploate/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesInterploate/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts/effects&topic=SeriesInterpolate" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70330" name="SeriesSlide" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SeriesSlide/Effects.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SeriesSlide">
+ <Illustrations>
+ <Illustration name="SeriesSlide" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesSlide/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesSlide/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesSlide/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts/effects&topic=SeriesSlide" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70340" name="SeriesZoom" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SeriesZoom/Effects.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SeriesZoom">
+ <Illustrations>
+ <Illustration name="SeriesZoom" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesZoom/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesZoom/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesZoom/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts/effects&topic=SeriesZoom" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ </Category>
+ </Category>
+ <Category name="Graphics">
+ <Object id="31799" name="Read Me" iconPath="http://tourdeflex.adobe.com/samples/common/adobe.png" author="Holly Schinsky" tags="readme">
+ <Illustrations>
+ <Illustration name="Read Me" path="http://tourdeflex.adobe.com/flex4samples/Graphics/fxg-readme.html" autoExpand="true" openLinksExternal="true"/>
+ </Illustrations>
+ </Object>
+ <Object id="31805" name="BitmapImage" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - BitmapImage">
+ <Illustrations>
+ <Illustration name="BitmapImage" path="http://tourdeflex.adobe.com/flex4.0/FXG/BitmapImage/BitmapImageExample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/BitmapImage/srcview/source/BitmapImageExample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/BitmapImage/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4.0/FXG/BitmapImage/srcview/index.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/primitives&topic=BitmapImage" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31800" name="DropShadow Graphic" author="Joan Lafferty" dateAdded="2009-09-04" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DropShadowGraphic">
+ <Illustrations>
+ <Illustration name="DropShadow Graphic" path="http://tourdeflex.adobe.com/flex4samples/Graphics/DropShadowGraphic/DropShadowGraphicExample.html">
+ <Documents>
+ <Document name="DropShadowGraphicExample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/DropShadowGraphic/srcview/source/DropShadowGraphicExample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/DropShadowGraphic/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=flash/filters&topic=DropShadowFilter" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31885" name="Ellipse" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Ellipse">
+ <Illustrations>
+ <Illustration name="Ellipse" path="http://tourdeflex.adobe.com/flex4.0/FXG/Ellipse/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/Ellipse/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/Ellipse/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/primitives&topic=Ellipse" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31900" name="Ellipse Transform" author="Joan Lafferty" dateAdded="2009-09-04" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - EllipseTransform">
+ <Illustrations>
+ <Illustration name="Ellipse Transform" path="http://tourdeflex.adobe.com/flex4samples/Graphics/EllipseTransform/EllipseTransformExample.html">
+ <Documents>
+ <Document name="EllipseTransformExample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/EllipseTransform/srcview/source/EllipseTransformExample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/EllipseTransform/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/primitives&topic=Ellipse" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31905" name="Line" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Line">
+ <Illustrations>
+ <Illustration name="Line" path="http://tourdeflex.adobe.com/flex4.0/FXG/Line/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/Line/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/Line/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/primitives&topic=Line" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="32000" name="Linear Gradient Spread" author="Joan Lafferty" dateAdded="2009-09-04" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - LinearGradientSpreadMethod">
+ <Illustrations>
+ <Illustration name="LinearGradient Spread" path="http://tourdeflex.adobe.com/flex4samples/Graphics/LinearGradientSpread/LinearGradientsSpreadMethodExample.html">
+ <Documents>
+ <Document name="LinearGradientSpreadMethodExample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/LinearGradientSpread/srcview/source/LinearGradientsSpreadMethodExample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/LinearGradientSpread/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/graphics&topic=LinearGradient" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="32100" name="Static FXG" author="Joan Lafferty" dateAdded="2009-09-04" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Static FXG">
+ <Illustrations>
+ <Illustration name="Static FXG" path="http://tourdeflex.adobe.com/flex4samples/Graphics/StaticFXG/StaticFXG_Sample.html">
+ <Documents>
+ <Document name="StaticFXG_Sxample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/StaticFXG/srcview/source/StaticFXG_Sample.mxml.html"/>
+ <Document name="OrangeCrayonStar.fxg" path="http://tourdeflex.adobe.com/flex4samples/Graphics/StaticFXG/srcview/source/OrangeCrayonStar.fxg"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/StaticFXG/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ </Category>
+ <Category name="Effects">
+ <Object id="31199" name="Read Me" iconPath="http://tourdeflex.adobe.com/samples/common/adobe.png" author="Holly Schinsky" tags="readme">
+ <Illustrations>
+ <Illustration name="Read Me" path="http://tourdeflex.adobe.com/flex4samples/Effects/effects-readme.html" autoExpand="true" openLinksExternal="true"/>
+ </Illustrations>
+ </Object>
+ <Object id="31202" name="AnimateProperties" author="David Flatley" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - AnimateProperties">
+ <Illustrations>
+ <Illustration name="AnimateProperties" path="http://tourdeflex.adobe.com/flex4samples/Effects/AnimateProperties/Sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/AnimateProperties/srcview/source/Sample.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/Effects/AnimateProperties/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=Animate" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31205" name="AnimateTransitionShader" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - AnimateTransitionShader - Bounce">
+ <Illustrations>
+ <Illustration name="AnimateTransitionShader" path="http://tourdeflex.adobe.com/flex4.0/AnimateShaderTransitionEffect/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/AnimateShaderTransitionEffect/srcview/source/sample.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4.0/AnimateShaderTransitionEffect/srcview/" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=AnimateTransitionShader" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31200" name="AnimateTransform" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - AnimateTransform - Bounce">
+ <Illustrations>
+ <Illustration name="AnimateTransform" path="http://tourdeflex.adobe.com/flex4samples/Effects/AnimateTransform-Bounce/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/AnimateTransform-Bounce/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/AnimateTransform-Bounce/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=AnimateTransform" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31250" name="Fade" author="Holly Schinsky" dateAdded="2009-10-20" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Fade Effect">
+ <Illustrations>
+ <Illustration name="Fade" path="http://tourdeflex.adobe.com/flex4samples/Effects/Fade/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/Fade/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/Fade/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/Effects/Fade/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=Fade" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31253" name="CrossFade" author="Holly Schinsky" dateAdded="2009-10-20" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Cross Fade Effect">
+ <Illustrations>
+ <Illustration name="CrossFade" path="http://tourdeflex.adobe.com/flex4samples/Effects/CrossFade/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/CrossFade/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/CrossFade/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/Effects/CrossFade/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=CrossFade" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31256" name="Move3D" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Move3D Effect">
+ <Illustrations>
+ <Illustration name="Move3D" path="http://tourdeflex.adobe.com/flex4.0/Move3D/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Move3D/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Move3D/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4.0/Move3D/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=Move3D" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31300" name="Rotate3D" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Rotate3D">
+ <Illustrations>
+ <Illustration name="Rotate3D" path="http://tourdeflex.adobe.com/flex4samples/Effects/Rotate3D/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/Rotate3D/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/Rotate3D/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=Rotate3D" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31400" name="Scale3D" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Scale3D">
+ <Illustrations>
+ <Illustration name="Scale3D" path="http://tourdeflex.adobe.com/flex4samples/Effects/Scale3D/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/Scale3D/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/Rotate3D/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=Scale3D" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31405" name="Wipe" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Move3D Effect">
+ <Illustrations>
+ <Illustration name="Wipe" path="http://tourdeflex.adobe.com/flex4.0/Wipe/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Wipe/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Wipe/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4.0/Wipe/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=Wipe" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ </Category>
+ <Category name="Formatters">
+ <Object id="70440" name="Formatter" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/Formatter/formattericon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Formatter">
+ <Illustrations>
+ <Illustration name="Formatter" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Formatter/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Formatter/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Formatter/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/formatters&topic=Formatter" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70450" name="CurrencyFormatter" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/Formatter/formattericon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - CurrencyFormatter">
+ <Illustrations>
+ <Illustration name="CurrencyFormatter" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-CurrencyFormatter/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-CurrencyFormatter/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-CurrencyFormatter/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/formatters&topic=CurrencyFormatter" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70070" name="DateFormatter" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/Formatter/formattericon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DateFormatter">
+ <Illustrations>
+ <Illustration name="DateFormatter" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateFormatter/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateFormatter/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateFormatter/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/formatters&topic=DateFormatter" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70460" name="NumberFormatter" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/Formatter/formattericon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - NumberFormatter">
+ <Illustrations>
+ <Illustration name="NumberFormatter" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-NumberFormatter/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-NumberFormatter/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-NumberFormatter/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/formatters&topic=NumberFormatter" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70470" name="PhoneFormatter" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/Formatter/formattericon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - PhoneFormatter">
+ <Illustrations>
+ <Illustration name="PhoneFormatter" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PhoneFormatter/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PhoneFormatter/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PhoneFormatter/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/formatters&topic=PhoneFormatter" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70480" name="SwitchSymbolFormatter" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/Formatter/formattericon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SwitchSymbolFormatter">
+ <Illustrations>
+ <Illustration name="SwitchSymbolFormatter" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SwitchSymbolFormatter/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SwitchSymbolFormatter/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SwitchSymbolFormatter/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/
<TRUNCATED>
[16/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/TDFPanelSkin.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/TDFPanelSkin.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/TDFPanelSkin.mxml.html
new file mode 100644
index 0000000..df79d11
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/TDFPanelSkin.mxml.html
@@ -0,0 +1,147 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta http-equiv="Content-Style-Type" content="text/css">
+ <title>TDFPanelSkin.mxml</title>
+ <meta name="Generator" content="Cocoa HTML Writer">
+ <meta name="CocoaVersion" content="1187.4">
+ <style type="text/css">
+ p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier}
+ p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; color: #941100}
+ p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; min-height: 15.0px}
+ p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px}
+ </style>
+</head>
+<body>
+<p class="p1"><?xml version="1.0" encoding="utf-8"?></p>
+<p class="p2"><!--</p>
+<p class="p3"><br></p>
+<p class="p2">Licensed to the Apache Software Foundation (ASF) under one or more</p>
+<p class="p2">contributor license agreements.<span class="Apple-converted-space"> </span>See the NOTICE file distributed with</p>
+<p class="p2">this work for additional information regarding copyright ownership.</p>
+<p class="p2">The ASF licenses this file to You under the Apache License, Version 2.0</p>
+<p class="p2">(the "License"); you may not use this file except in compliance with</p>
+<p class="p2">the License.<span class="Apple-converted-space"> </span>You may obtain a copy of the License at</p>
+<p class="p3"><br></p>
+<p class="p2">http://www.apache.org/licenses/LICENSE-2.0</p>
+<p class="p3"><br></p>
+<p class="p2">Unless required by applicable law or agreed to in writing, software</p>
+<p class="p2">distributed under the License is distributed on an "AS IS" BASIS,</p>
+<p class="p2">WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</p>
+<p class="p2">See the License for the specific language governing permissions and</p>
+<p class="p2">limitations under the License.</p>
+<p class="p3"><br></p>
+<p class="p2">--></p>
+<p class="p4"><br></p>
+<p class="p1"><s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"<span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span>alpha.disabled="0.5" minWidth="131" minHeight="127"></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><fx:Metadata></p>
+<p class="p1"><span class="Apple-converted-space"> </span>[HostComponent("spark.components.Panel")]</p>
+<p class="p1"><span class="Apple-converted-space"> </span></fx:Metadata><span class="Apple-converted-space"> </span></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:states></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normal" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabled" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normalWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabledWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:states></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- drop shadow --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" top="0" right="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:DropShadowFilter blurX="15" blurY="15" alpha="0.18" distance="11" angle="90" knockout="true" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: border --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColorStroke color="0" alpha="0.50" weight="1" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: background fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" height="15"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradient rotation="90"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xE2E2E2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradient></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: contents --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group left="1" right="1" top="1" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:VerticalLayout gap="0" horizontalAlign="justify" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="topGroup" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: title bar fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- Note: We have custom skinned the title bar to be solid black for Tour de Flex --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbFill" left="0" right="0" top="0" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: title bar highlight --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradientStroke rotation="90" weight="1"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xEAEAEA" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xD9D9D9" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradientStroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: title bar divider --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xC0C0C0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: text --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Label id="titleDisplay" maxDisplayedLines="1"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>left="9" right="3" top="1" minHeight="30"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>verticalAlign="middle" fontWeight="bold" color="#E2E2E2"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Label></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="bottomGroup" minWidth="0" minHeight="0"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>includeIn="normalWithControlBar, disabledWithControlBar" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: control bar background --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" top="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xE2EdF7" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: control bar divider line --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" height="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xD1E0F2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: control bar --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"></s:Skin></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/sample.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/sample.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/sample.mxml.html
new file mode 100644
index 0000000..eb70d50
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/sample.mxml.html
@@ -0,0 +1,108 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>sample.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction"><?xml version="1.0" encoding="utf-8"?></span>
+<span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" creationComplete="</span><span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">StorageVolumeChangeEvent</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">controls</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Alert</span>;
+
+ <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Bindable</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">rootDir</span>:<span class="ActionScriptDefault_Text">File</span>;
+
+ <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Bindable</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">path</span>:<span class="ActionScriptDefault_Text">String</span>;
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">init</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">StorageVolumeInfo</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">isSupported</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">StorageVolumeInfo</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">storageVolumeInfo</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">StorageVolumeChangeEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">STORAGE_VOLUME_MOUNT</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">onVolumeMount</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">StorageVolumeInfo</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">storageVolumeInfo</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">StorageVolumeChangeEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">STORAGE_VOLUME_UNMOUNT</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">onVolumeUnmount</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"AIR 2 storage detection is not supported."</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">onVolumeMount</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">StorageVolumeChangeEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">this</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">deviceName</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">storageVolume</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">name</span>;
+ <span class="ActionScriptReserved">this</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">fileSystemType</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">storageVolume</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">fileSystemType</span>;
+ <span class="ActionScriptReserved">this</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">isRemovable</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selected</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">storageVolume</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">isRemovable</span>;
+ <span class="ActionScriptReserved">this</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">isWritable</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selected</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">storageVolume</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">isWritable</span>;
+ <span class="ActionScriptDefault_Text">rootDir</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">e</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">storageVolume</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">rootDirectory</span>;
+ <span class="ActionScriptDefault_Text">path</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">rootDir</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">nativePath</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">onVolumeUnmount</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">e</span>:<span class="ActionScriptDefault_Text">StorageVolumeChangeEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Storage Volume unmount."</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">fileGridHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">MouseEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">fsg</span>:<span class="ActionScriptDefault_Text">FileSystemDataGrid</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">currentTarget</span> <span class="ActionScriptReserved">as</span> <span class="ActionScriptDefault_Text">FileSystemDataGrid</span>;
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">fsg</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedItem</span> <span class="ActionScriptOperator">!=</span> <span class="ActionScriptReserved">null</span><span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">fsg</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selectedItem</span> <span class="ActionScriptReserved">as</span> <span class="ActionScriptDefault_Text">File</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">openWithDefaultApplication</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:Panel</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">"
+ title="</span><span class="MXMLString">Mass Storage Device Detection Sample</span><span class="MXMLDefault_Text">" skinClass="</span><span class="MXMLString">skins.TDFPanelSkin</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLComponent_Tag"><s:layout></span>
+ <span class="MXMLComponent_Tag"><s:VerticalLayout</span><span class="MXMLDefault_Text"> paddingLeft="</span><span class="MXMLString">7</span><span class="MXMLDefault_Text">" paddingTop="</span><span class="MXMLString">7</span><span class="MXMLDefault_Text">" paddingBottom="</span><span class="MXMLString">7</span><span class="MXMLDefault_Text">" paddingRight="</span><span class="MXMLString">7</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:layout></span>
+
+ <span class="MXMLComponent_Tag"><s:HGroup</span><span class="MXMLDefault_Text"> verticalAlign="</span><span class="MXMLString">middle</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Storage Volume Info</span><span class="MXMLDefault_Text">" fontSize="</span><span class="MXMLString">14</span><span class="MXMLDefault_Text">" fontWeight="</span><span class="MXMLString">bold</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><mx:Spacer</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">70</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Plug in a storage device to detect general information and contents of the device.</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"><s:HGroup</span><span class="MXMLDefault_Text"> verticalAlign="</span><span class="MXMLString">middle</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Name:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">deviceName</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">0x336699</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">File System Type:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">fileSystemType</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">0x336699</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Contents of {</span><span class="ActionScriptDefault_Text">path</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">" fontWeight="</span><span class="MXMLString">bold</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+
+ <span class="MXMLComponent_Tag"><mx:FileSystemDataGrid</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">fileGrid</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">660</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100</span><span class="MXMLDefault_Text">" directory="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">rootDir</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">"
+ doubleClickEnabled="</span><span class="MXMLString">true</span><span class="MXMLDefault_Text">" doubleClick="</span><span class="ActionScriptDefault_Text">fileGridHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"></mx:FileSystemDataGrid></span>
+ <span class="MXMLComponent_Tag"><s:HGroup</span><span class="MXMLDefault_Text"> right="</span><span class="MXMLString">20</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><mx:Button</span><span class="MXMLDefault_Text"> icon="</span><span class="MXMLString">@Embed(source='up.png')</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">fileGrid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">navigateUp</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;<span class="MXMLDefault_Text">"
+ enabled="</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">fileGrid</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">canNavigateUp</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><mx:Spacer</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">330</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:CheckBox</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">isRemovable</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">Removable Device?</span><span class="MXMLDefault_Text">" enabled="</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:CheckBox</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">isWritable</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">Writable Device?</span><span class="MXMLDefault_Text">" enabled="</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"></s:Panel></span>
+
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/Sample-AIR2-MassStorageDeviceDetection/src/sample-app.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/Sample-AIR2-MassStorageDeviceDetection/src/sample-app.xml b/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/Sample-AIR2-MassStorageDeviceDetection/src/sample-app.xml
new file mode 100755
index 0000000..095319c
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/Sample-AIR2-MassStorageDeviceDetection/src/sample-app.xml
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>sample</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>Mass Storage Device Detection</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>Mass Storage Device Detection</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width in pixels. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height in pixels. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/Sample-AIR2-MassStorageDeviceDetection/src/sample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/Sample-AIR2-MassStorageDeviceDetection/src/sample.mxml b/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/Sample-AIR2-MassStorageDeviceDetection/src/sample.mxml
new file mode 100644
index 0000000..85b3896
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/Sample-AIR2-MassStorageDeviceDetection/src/sample.mxml
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:s="library://ns.adobe.com/flex/spark"
+ xmlns:mx="library://ns.adobe.com/flex/mx"
+ styleName="plain" width="100%" height="100%" creationComplete="init()">
+ <fx:Script>
+ <![CDATA[
+ import flash.events.StorageVolumeChangeEvent;
+ import mx.controls.Alert;
+
+ [Bindable]
+ private var rootDir:File;
+
+ [Bindable]
+ private var path:String;
+
+ private function init():void
+ {
+ if (StorageVolumeInfo.isSupported)
+ {
+ StorageVolumeInfo.storageVolumeInfo.addEventListener(StorageVolumeChangeEvent.STORAGE_VOLUME_MOUNT, onVolumeMount);
+ StorageVolumeInfo.storageVolumeInfo.addEventListener(StorageVolumeChangeEvent.STORAGE_VOLUME_UNMOUNT, onVolumeUnmount);
+ }
+ else Alert.show("AIR 2 storage detection is not supported.");
+ }
+
+ private function onVolumeMount(e:StorageVolumeChangeEvent):void
+ {
+ this.deviceName.text = e.storageVolume.name;
+ this.fileSystemType.text = e.storageVolume.fileSystemType;
+ this.isRemovable.selected = e.storageVolume.isRemovable;
+ this.isWritable.selected = e.storageVolume.isWritable;
+ rootDir = e.storageVolume.rootDirectory;
+ path = rootDir.nativePath;
+ }
+
+ private function onVolumeUnmount(e:StorageVolumeChangeEvent):void
+ {
+ trace("Storage Volume unmount.");
+ }
+
+ private function fileGridHandler(event:MouseEvent):void
+ {
+ var fsg:FileSystemDataGrid = event.currentTarget as FileSystemDataGrid;
+ if (fsg.selectedItem != null)
+ (fsg.selectedItem as File).openWithDefaultApplication();
+ }
+ ]]>
+ </fx:Script>
+
+ <s:Panel width="100%" height="100%" horizontalCenter="0"
+ title="Mass Storage Device Detection Sample" skinClass="skins.TDFPanelSkin">
+
+ <s:layout>
+ <s:VerticalLayout paddingLeft="7" paddingTop="7" paddingBottom="7" paddingRight="7"/>
+ </s:layout>
+
+ <s:HGroup verticalAlign="middle">
+ <s:Label text="Storage Volume Info" fontSize="14" fontWeight="bold"/>
+ <mx:Spacer width="70"/>
+ <s:Label text="Plug in a storage device to detect general information and contents of the device."/>
+ </s:HGroup>
+ <s:HGroup verticalAlign="middle">
+ <s:Label text="Name:"/>
+ <s:Label id="deviceName" color="0x336699"/>
+ <s:Label text="File System Type:"/>
+ <s:Label id="fileSystemType" color="0x336699"/>
+ </s:HGroup>
+
+ <s:Label text="Contents of {path}" fontWeight="bold"/>
+
+ <mx:FileSystemDataGrid id="fileGrid" width="660" height="100" directory="{rootDir}"
+ doubleClickEnabled="true" doubleClick="fileGridHandler(event)">
+ </mx:FileSystemDataGrid>
+ <s:HGroup right="20">
+ <mx:Button icon="@Embed(source='up.png')" click="fileGrid.navigateUp();"
+ enabled="{fileGrid.canNavigateUp}"/>
+ <mx:Spacer width="330"/>
+ <s:CheckBox id="isRemovable" label="Removable Device?" enabled="false"/>
+ <s:CheckBox id="isWritable" label="Writable Device?" enabled="false"/>
+ </s:HGroup>
+ </s:Panel>
+
+</mx:Module>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/Sample-AIR2-MassStorageDeviceDetection/src/skins/TDFPanelSkin.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/Sample-AIR2-MassStorageDeviceDetection/src/skins/TDFPanelSkin.mxml b/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/Sample-AIR2-MassStorageDeviceDetection/src/skins/TDFPanelSkin.mxml
new file mode 100644
index 0000000..ff46524
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/Sample-AIR2-MassStorageDeviceDetection/src/skins/TDFPanelSkin.mxml
@@ -0,0 +1,130 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+
+
+<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+ alpha.disabled="0.5" minWidth="131" minHeight="127">
+
+ <fx:Metadata>
+ [HostComponent("spark.components.Panel")]
+ </fx:Metadata>
+
+ <s:states>
+ <s:State name="normal" />
+ <s:State name="disabled" />
+ <s:State name="normalWithControlBar" />
+ <s:State name="disabledWithControlBar" />
+ </s:states>
+
+ <!-- drop shadow -->
+ <s:Rect left="0" top="0" right="0" bottom="0">
+ <s:filters>
+ <s:DropShadowFilter blurX="15" blurY="15" alpha="0.18" distance="11" angle="90" knockout="true" />
+ </s:filters>
+ <s:fill>
+ <s:SolidColor color="0" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 1: border -->
+ <s:Rect left="0" right="0" top="0" bottom="0">
+ <s:stroke>
+ <s:SolidColorStroke color="0" alpha="0.50" weight="1" />
+ </s:stroke>
+ </s:Rect>
+
+ <!-- layer 2: background fill -->
+ <s:Rect left="0" right="0" bottom="0" height="15">
+ <s:fill>
+ <s:LinearGradient rotation="90">
+ <s:GradientEntry color="0xE2E2E2" />
+ <s:GradientEntry color="0x000000" />
+ </s:LinearGradient>
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 3: contents -->
+ <s:Group left="1" right="1" top="1" bottom="1" >
+ <s:layout>
+ <s:VerticalLayout gap="0" horizontalAlign="justify" />
+ </s:layout>
+
+ <s:Group id="topGroup" >
+ <!-- layer 0: title bar fill -->
+ <!-- Note: We have custom skinned the title bar to be solid black for Tour de Flex -->
+ <s:Rect id="tbFill" left="0" right="0" top="0" bottom="1" >
+ <s:fill>
+ <s:SolidColor color="0x000000" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 1: title bar highlight -->
+ <s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0" >
+ <s:stroke>
+ <s:LinearGradientStroke rotation="90" weight="1">
+ <s:GradientEntry color="0xEAEAEA" />
+ <s:GradientEntry color="0xD9D9D9" />
+ </s:LinearGradientStroke>
+ </s:stroke>
+ </s:Rect>
+
+ <!-- layer 2: title bar divider -->
+ <s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0">
+ <s:fill>
+ <s:SolidColor color="0xC0C0C0" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 3: text -->
+ <s:Label id="titleDisplay" maxDisplayedLines="1"
+ left="9" right="3" top="1" minHeight="30"
+ verticalAlign="middle" fontWeight="bold" color="#E2E2E2">
+ </s:Label>
+
+ </s:Group>
+
+ <s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0">
+ </s:Group>
+
+ <s:Group id="bottomGroup" minWidth="0" minHeight="0"
+ includeIn="normalWithControlBar, disabledWithControlBar" >
+ <!-- layer 0: control bar background -->
+ <s:Rect left="0" right="0" bottom="0" top="1" >
+ <s:fill>
+ <s:SolidColor color="0xE2EdF7" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 1: control bar divider line -->
+ <s:Rect left="0" right="0" top="0" height="1" >
+ <s:fill>
+ <s:SolidColor color="0xD1E0F2" />
+ </s:fill>
+ </s:Rect>
+
+ <!-- layer 2: control bar -->
+ <s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0">
+ <s:layout>
+ <s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" />
+ </s:layout>
+ </s:Group>
+ </s:Group>
+ </s:Group>
+</s:Skin>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/Sample-AIR2-MassStorageDeviceDetection/src/up.png
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/Sample-AIR2-MassStorageDeviceDetection/src/up.png b/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/Sample-AIR2-MassStorageDeviceDetection/src/up.png
new file mode 100755
index 0000000..4bf79b0
Binary files /dev/null and b/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/Sample-AIR2-MassStorageDeviceDetection/src/up.png differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/SourceIndex.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/SourceIndex.xml b/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/SourceIndex.xml
new file mode 100644
index 0000000..acd3b5d
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/SourceIndex.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ 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.
+
+-->
+<index>
+ <title>Source of Sample-AIR2-MassStorageDeviceDetection</title>
+ <nodes>
+ <node label="libs">
+ </node>
+ <node label="src">
+ <node icon="packageIcon" label="skins" expanded="true">
+ <node icon="mxmlIcon" label="TDFPanelSkin.mxml" url="source/skins/TDFPanelSkin.mxml.html"/>
+ </node>
+ <node label="sample-app.xml" url="source/sample-app.xml.txt"/>
+ <node icon="mxmlAppIcon" selected="true" label="sample.mxml" url="source/sample.mxml.html"/>
+ <node icon="imageIcon" label="up.png" url="source/up.png.html"/>
+ </node>
+ </nodes>
+ <zipfile label="Download source (ZIP, 10K)" url="Sample-AIR2-MassStorageDeviceDetection.zip">
+ </zipfile>
+ <sdklink label="Download Flex SDK" url="http://www.adobe.com/go/flex4_sdk_download">
+ </sdklink>
+</index>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/SourceStyles.css
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/SourceStyles.css b/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/SourceStyles.css
new file mode 100644
index 0000000..9d5210f
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/SourceStyles.css
@@ -0,0 +1,155 @@
+/*
+ * 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.
+ */
+body {
+ font-family: Courier New, Courier, monospace;
+ font-size: medium;
+}
+
+.ActionScriptASDoc {
+ color: #3f5fbf;
+}
+
+.ActionScriptBracket/Brace {
+}
+
+.ActionScriptComment {
+ color: #009900;
+ font-style: italic;
+}
+
+.ActionScriptDefault_Text {
+}
+
+.ActionScriptMetadata {
+ color: #0033ff;
+ font-weight: bold;
+}
+
+.ActionScriptOperator {
+}
+
+.ActionScriptReserved {
+ color: #0033ff;
+ font-weight: bold;
+}
+
+.ActionScriptString {
+ color: #990000;
+ font-weight: bold;
+}
+
+.ActionScriptclass {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScriptfunction {
+ color: #339966;
+ font-weight: bold;
+}
+
+.ActionScriptinterface {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScriptpackage {
+ color: #9900cc;
+ font-weight: bold;
+}
+
+.ActionScripttrace {
+ color: #cc6666;
+ font-weight: bold;
+}
+
+.ActionScriptvar {
+ color: #6699cc;
+ font-weight: bold;
+}
+
+.MXMLASDoc {
+ color: #3f5fbf;
+}
+
+.MXMLComment {
+ color: #800000;
+}
+
+.MXMLComponent_Tag {
+ color: #0000ff;
+}
+
+.MXMLDefault_Text {
+}
+
+.MXMLProcessing_Instruction {
+}
+
+.MXMLSpecial_Tag {
+ color: #006633;
+}
+
+.MXMLString {
+ color: #990000;
+}
+
+.CSS@font-face {
+ color: #990000;
+ font-weight: bold;
+}
+
+.CSS@import {
+ color: #006666;
+ font-weight: bold;
+}
+
+.CSS@media {
+ color: #663333;
+ font-weight: bold;
+}
+
+.CSS@namespace {
+ color: #923196;
+}
+
+.CSSComment {
+ color: #999999;
+}
+
+.CSSDefault_Text {
+}
+
+.CSSDelimiters {
+}
+
+.CSSProperty_Name {
+ color: #330099;
+}
+
+.CSSProperty_Value {
+ color: #3333cc;
+}
+
+.CSSSelector {
+ color: #ff00ff;
+}
+
+.CSSString {
+ color: #990000;
+}
+
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/SourceTree.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/SourceTree.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/SourceTree.html
new file mode 100644
index 0000000..80281a9
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/SourceTree.html
@@ -0,0 +1,129 @@
+<!--
+ 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.
+-->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!-- saved from url=(0014)about:internet -->
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
+ <!--
+ Smart developers always View Source.
+
+ This application was built using Adobe Flex, an open source framework
+ for building rich Internet applications that get delivered via the
+ Flash Player or to desktops via Adobe AIR.
+
+ Learn more about Flex at http://flex.org
+ // -->
+ <head>
+ <title></title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <!-- Include CSS to eliminate any default margins/padding and set the height of the html element and
+ the body element to 100%, because Firefox, or any Gecko based browser, interprets percentage as
+ the percentage of the height of its parent container, which has to be set explicitly. Initially,
+ don't display flashContent div so it won't show if JavaScript disabled.
+ -->
+ <style type="text/css" media="screen">
+ html, body { height:100%; }
+ body { margin:0; padding:0; overflow:auto; text-align:center;
+ background-color: #ffffff; }
+ #flashContent { display:none; }
+ </style>
+
+ <!-- Enable Browser History by replacing useBrowserHistory tokens with two hyphens -->
+ <!-- BEGIN Browser History required section >
+ <link rel="stylesheet" type="text/css" href="history/history.css" />
+ <script type="text/javascript" src="history/history.js"></script>
+ <! END Browser History required section -->
+
+ <script type="text/javascript" src="swfobject.js"></script>
+ <script type="text/javascript">
+ function loadIntoMain(url) {
+ parent.mainFrame.location.href = url;
+ }
+
+ function openUrlWindow(url) {
+ window.top.location = url;
+ }
+
+ <!-- For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection. -->
+ var swfVersionStr = "10.0.0";
+ <!-- To use express install, set to playerProductInstall.swf, otherwise the empty string. -->
+ var xiSwfUrlStr = "playerProductInstall.swf";
+ var flashvars = {};
+ var params = {};
+ params.quality = "high";
+ params.bgcolor = "#ffffff";
+ params.allowscriptaccess = "sameDomain";
+ params.allowfullscreen = "true";
+ var attributes = {};
+ attributes.id = "SourceTree";
+ attributes.name = "SourceTree";
+ attributes.align = "middle";
+ swfobject.embedSWF(
+ "SourceTree.swf", "flashContent",
+ "100%", "100%",
+ swfVersionStr, xiSwfUrlStr,
+ flashvars, params, attributes);
+ <!-- JavaScript enabled so display the flashContent div in case it is not replaced with a swf object. -->
+ swfobject.createCSS("#flashContent", "display:block;text-align:left;");
+ </script>
+ </head>
+ <body>
+ <!-- SWFObject's dynamic embed method replaces this alternative HTML content with Flash content when enough
+ JavaScript and Flash plug-in support is available. The div is initially hidden so that it doesn't show
+ when JavaScript is disabled.
+ -->
+ <div id="flashContent">
+ <p>
+ To view this page ensure that Adobe Flash Player version
+ 10.0.0 or greater is installed.
+ </p>
+ <script type="text/javascript">
+ var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://");
+ document.write("<a href='http://www.adobe.com/go/getflashplayer'><img src='"
+ + pageHost + "www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' /></a>" );
+ </script>
+ </div>
+
+ <noscript>
+ <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%" id="SourceTree">
+ <param name="movie" value="SourceTree.swf" />
+ <param name="quality" value="high" />
+ <param name="bgcolor" value="#ffffff" />
+ <param name="allowScriptAccess" value="sameDomain" />
+ <param name="allowFullScreen" value="true" />
+ <!--[if !IE]>-->
+ <object type="application/x-shockwave-flash" data="SourceTree.swf" width="100%" height="100%">
+ <param name="quality" value="high" />
+ <param name="bgcolor" value="#ffffff" />
+ <param name="allowScriptAccess" value="sameDomain" />
+ <param name="allowFullScreen" value="true" />
+ <!--<![endif]-->
+ <!--[if gte IE 6]>-->
+ <p>
+ Either scripts and active content are not permitted to run or Adobe Flash Player version
+ 10.0.0 or greater is not installed.
+ </p>
+ <!--<![endif]-->
+ <a href="http://www.adobe.com/go/getflashplayer">
+ <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash Player" />
+ </a>
+ <!--[if !IE]>-->
+ </object>
+ <!--<![endif]-->
+ </object>
+ </noscript>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/index.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/index.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/index.html
new file mode 100644
index 0000000..a7bb54a
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/index.html
@@ -0,0 +1,32 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Source of Sample-AIR2-MassStorageDeviceDetection</title>
+</head>
+<frameset cols="235,*" border="2" framespacing="1">
+ <frame src="SourceTree.html" name="leftFrame" scrolling="NO">
+ <frame src="source/sample.mxml.html" name="mainFrame">
+</frameset>
+<noframes>
+ <body>
+ </body>
+</noframes>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/source/sample-app.xml.txt
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/source/sample-app.xml.txt b/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/source/sample-app.xml.txt
new file mode 100644
index 0000000..095319c
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/MassStorageDeviceDetection/srcview/source/sample-app.xml.txt
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>sample</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>Mass Storage Device Detection</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>Mass Storage Device Detection</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width in pixels. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height in pixels. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
[02/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/effects/PauseEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/PauseEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/PauseEffectExample.mxml
new file mode 100755
index 0000000..20b77b8
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/effects/PauseEffectExample.mxml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate the Pause effect. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+ import mx.effects.easing.*;
+ ]]>
+ </mx:Script>
+
+ <mx:Sequence id="movePauseMove">
+ <mx:Move xBy="150" duration="2000" easingFunction="Bounce.easeOut"/>
+ <mx:Pause duration="2000"/>
+ <mx:Move xBy="-150" duration="2000" easingFunction="Bounce.easeIn"/>
+ </mx:Sequence>
+
+ <mx:Panel title="Pause Effect Example" width="75%" height="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Text width="100%" color="blue"
+ text="Click the phone image to start the Sequence effect. The effect pauses for 2 seconds between moves."/>
+
+ <mx:Image
+ source="@Embed(source='assets/Nokia_6630.png')"
+ mouseDownEffect="{movePauseMove}"/>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/effects/ResizeEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/ResizeEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/ResizeEffectExample.mxml
new file mode 100755
index 0000000..a4fd29a
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/effects/ResizeEffectExample.mxml
@@ -0,0 +1,40 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the Resize effect. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Resize id="expand" target="{img}" widthTo="100" heightTo="200"/>
+ <mx:Resize id="contract" target="{img}" widthTo="30" heightTo="60"/>
+
+ <mx:Panel title="Resize Effect Example" width="100%" height="100%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Text width="100%" color="blue"
+ text="Use the Button controls to resize the image."/>
+
+ <mx:Image id="img" width="30" height="60"
+ source="@Embed(source='assets/Nokia_6630.png')"/>
+
+ <mx:ControlBar>
+ <mx:Button label="Expand" click="expand.end(); expand.play();"/>
+ <mx:Button label="Contract" click="contract.end(); contract.play();"/>
+ </mx:ControlBar>
+
+ </mx:Panel>
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/effects/RotateEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/RotateEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/RotateEffectExample.mxml
new file mode 100755
index 0000000..566b465
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/effects/RotateEffectExample.mxml
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate the Rotate effect. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
+ initialize="Font.registerFont(myriad_font);">
+
+ <mx:Script>
+ <![CDATA[
+
+ import flash.text.Font;
+
+ [Embed("assets/MyriadWebPro.ttf", fontName="MyMyriad")]
+ public var myriad_font:Class;
+
+ [Bindable]
+ public var angle:int=0;
+
+ private function rotateImage():void {
+ rotate.end();
+ angle += 45;
+ rotate.play();
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:Rotate id="rotate" angleFrom="{angle-45}" angleTo="{angle}" target="{myVB}"/>
+
+ <mx:Panel title="Rotate Effect Example" horizontalAlign="center"
+ width="75%" height="75%" layout="horizontal"
+ paddingTop="5" paddingLeft="10" paddingRight="10" paddingBottom="5">
+
+ <mx:VBox id="myVB" width="50%" horizontalAlign="center">
+ <mx:Label text="Nokia 9930"
+ fontFamily="MyMyriad" fontSize="14"/>
+
+ <mx:Image id="img"
+ source="@Embed(source='assets/Nokia_6630.png')"/>
+ </mx:VBox>
+
+ <mx:Text width="50%" color="blue"
+ text="Click the button to rotate the image 45 degrees. Use an embedded font when applying the Rotate effect to text."/>
+
+ <mx:ControlBar>
+ <mx:Button label="Rotate 45 Degrees" click="rotateImage();"/>
+ </mx:ControlBar>
+ </mx:Panel>
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/effects/SequenceEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/SequenceEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/SequenceEffectExample.mxml
new file mode 100755
index 0000000..36dbe3f
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/effects/SequenceEffectExample.mxml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate the Sequence effect. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+ import mx.effects.easing.*;
+ ]]>
+ </mx:Script>
+
+ <mx:Sequence id="movePauseMove">
+ <mx:Move xBy="150" duration="2000" easingFunction="Bounce.easeOut"/>
+ <mx:Pause duration="2000"/>
+ <mx:Move xBy="-150" duration="2000" easingFunction="Bounce.easeIn"/>
+ </mx:Sequence>
+
+ <mx:Panel title="Sequence Effect Example" width="75%" height="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Text width="100%" color="blue"
+ text="Click the phone image to start the Sequence effect. The effect pauses for 2 seconds between moves."/>
+
+ <mx:Image
+ source="@Embed(source='assets/Nokia_6630.png')"
+ mouseDownEffect="{movePauseMove}"/>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/effects/SimpleEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/SimpleEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/SimpleEffectExample.mxml
new file mode 100755
index 0000000..ed17a6e
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/effects/SimpleEffectExample.mxml
@@ -0,0 +1,65 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the Effect class. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ import mx.controls.Alert;
+
+ // Event handler for the effectEnd event.
+ private function endEffectHandler():void {
+ Alert.show("Effect Ended!");
+ }
+
+ // Event handler for the reset button.
+ private function resetHandler():void {
+ expand.end();
+ img.width=30;
+ img.height=60;
+ button1.enabled=true;
+ }
+ ]]>
+ </mx:Script>
+
+
+ <mx:Resize id="expand" target="{img}" widthTo="100" heightTo="200"
+ duration="10000" effectEnd="endEffectHandler();"/>
+
+ <mx:Panel title="Resize Effect Example" width="100%" height="100%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Text width="100%" color="blue"
+ text="Use the Button controls to control the Resize effect."/>
+
+ <mx:Image id="img" width="30" height="60"
+ source="@Embed(source='assets/Nokia_6630.png')"/>
+
+ <mx:ControlBar>
+ <mx:Button id="button1" label="Start" click="expand.play(); button1.enabled=false;"/>
+ <mx:Button label="Pause" click="expand.pause();"/>
+ <mx:Button label="Resume" click="expand.resume();"/>
+ <mx:Button label="Reverse" click="expand.reverse();"/>
+ <mx:Button label="End" click="expand.end();"/>
+ <mx:Button label="Reset" click="resetHandler();"/>
+ </mx:ControlBar>
+
+ </mx:Panel>
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/effects/SimpleTweenEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/SimpleTweenEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/SimpleTweenEffectExample.mxml
new file mode 100755
index 0000000..7488a8a
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/effects/SimpleTweenEffectExample.mxml
@@ -0,0 +1,71 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the TweenEffect class. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ import mx.events.TweenEvent;
+
+ // Event handler for the tweenUpdate and tweenEnd effects.
+ private function tweenUpdateHandler(event:TweenEvent):void {
+ // Access current width of the image.
+ currentWidth.text="Current width (in pixels): " + String(event.value[0]);
+ }
+
+ // Event handler for the reset button.
+ private function resetHandler():void {
+ expand.end();
+ img.width=30;
+ currentWidth.text="Current width (in pixels): 30";
+ img.height=60;
+ button1.enabled=true;
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:Resize id="expand" target="{img}" widthTo="100" heightTo="200"
+ duration="10000"
+ tweenUpdate="tweenUpdateHandler(event);"
+ tweenEnd="tweenUpdateHandler(event);"/>
+
+ <mx:Panel title="Resize Effect Example" width="100%" height="100%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Text width="100%" color="blue"
+ text="Use the Button controls to resize the image."/>
+
+ <mx:HBox width="100%">
+ <mx:Image id="img" width="30" height="60"
+ source="@Embed(source='assets/Nokia_6630.png')"/>
+ <mx:Text id="currentWidth" height="20" width="100%"/>
+ </mx:HBox>
+
+ <mx:ControlBar>
+ <mx:Button id="button1" label="Start" click="expand.play(); button1.enabled=false;"/>
+ <mx:Button label="Pause" click="expand.pause();"/>
+ <mx:Button label="Resume" click="expand.resume();"/>
+ <mx:Button label="Reverse" click="expand.reverse();"/>
+ <mx:Button label="End" click="expand.end();"/>
+ <mx:Button label="Reset" click="resetHandler();"/>
+ </mx:ControlBar>
+
+ </mx:Panel>
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/effects/SoundEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/SoundEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/SoundEffectExample.mxml
new file mode 100755
index 0000000..63b1d3f
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/effects/SoundEffectExample.mxml
@@ -0,0 +1,34 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the SoundEffect effect. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:SoundEffect id="mySounds" source="@Embed(source='assets/jazz.mp3')"/>
+
+ <mx:Panel title="Sound Effect Example" width="75%" height="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Label width="100%" color="blue"
+ text="Click on the phone to hear the sound effect."/>
+
+ <mx:Image id="flex" source="@Embed(source='assets/Nokia_6630.png')"
+ mouseDownEffect="{mySounds}"/>
+
+ </mx:Panel>
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/effects/WipeDownExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/WipeDownExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/WipeDownExample.mxml
new file mode 100755
index 0000000..c57aab7
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/effects/WipeDownExample.mxml
@@ -0,0 +1,43 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the WipeDown effect. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:WipeDown id="wipeOut" duration="1000"/>
+ <mx:WipeDown id="wipeIn" duration="1000"/>
+
+ <mx:Panel title="WipeDown Effect Example" width="95%" height="95%"
+ paddingTop="5" paddingLeft="10" paddingRight="10" paddingBottom="5">
+
+ <mx:Text width="100%" color="blue"
+ text="Use the WipeDown effect to show or hide the text and image."/>
+
+ <mx:Label text="Nokia 9930"
+ fontSize="14"
+ visible="{cb1.selected}"
+ hideEffect="{wipeOut}" showEffect="{wipeIn}"/>
+
+ <mx:Image source="@Embed(source='assets/Nokia_6630.png')"
+ visible="{cb1.selected}"
+ hideEffect="{wipeOut}" showEffect="{wipeIn}"/>
+
+ <mx:CheckBox id="cb1" label="visible" selected="true"/>
+
+ </mx:Panel>
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/effects/WipeLeftExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/WipeLeftExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/WipeLeftExample.mxml
new file mode 100755
index 0000000..d9365e3
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/effects/WipeLeftExample.mxml
@@ -0,0 +1,43 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the WipeLeft effect. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:WipeLeft id="wipeOut" duration="1000"/>
+ <mx:WipeLeft id="wipeIn" duration="1000"/>
+
+ <mx:Panel title="WipeLeft Effect Example" width="95%" height="95%"
+ paddingTop="5" paddingLeft="10" paddingRight="10" paddingBottom="5">
+
+ <mx:Text width="100%" color="blue"
+ text="Use the WipeLeft effect to show or hide the text and image."/>
+
+ <mx:Label text="Nokia 9930"
+ fontSize="14"
+ visible="{cb1.selected}"
+ hideEffect="{wipeOut}" showEffect="{wipeIn}"/>
+
+ <mx:Image source="@Embed(source='assets/Nokia_6630.png')"
+ visible="{cb1.selected}"
+ hideEffect="{wipeOut}" showEffect="{wipeIn}"/>
+
+ <mx:CheckBox id="cb1" label="visible" selected="true"/>
+
+ </mx:Panel>
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/effects/WipeRightExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/WipeRightExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/WipeRightExample.mxml
new file mode 100755
index 0000000..76d3efe
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/effects/WipeRightExample.mxml
@@ -0,0 +1,43 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the WipeRight effect. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:WipeRight id="wipeOut" duration="1000"/>
+ <mx:WipeRight id="wipeIn" duration="1000"/>
+
+ <mx:Panel title="WipeRight Effect Example" width="95%" height="95%"
+ paddingTop="5" paddingLeft="10" paddingRight="10" paddingBottom="5">
+
+ <mx:Text width="100%" color="blue"
+ text="Use the WipeRight effect to show or hide the text and image."/>
+
+ <mx:Label text="Nokia 9930"
+ fontSize="14"
+ visible="{cb1.selected}"
+ hideEffect="{wipeOut}" showEffect="{wipeIn}"/>
+
+ <mx:Image source="@Embed(source='assets/Nokia_6630.png')"
+ visible="{cb1.selected}"
+ hideEffect="{wipeOut}" showEffect="{wipeIn}"/>
+
+ <mx:CheckBox id="cb1" label="visible" selected="true"/>
+
+ </mx:Panel>
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/effects/WipeUpExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/WipeUpExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/WipeUpExample.mxml
new file mode 100755
index 0000000..5508f82
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/effects/WipeUpExample.mxml
@@ -0,0 +1,43 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the WipeUp effect. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:WipeUp id="wipeOut" duration="1000"/>
+ <mx:WipeUp id="wipeIn" duration="1000"/>
+
+ <mx:Panel title="WipeUp Effect Example" width="95%" height="95%"
+ paddingTop="5" paddingLeft="10" paddingRight="10" paddingBottom="5">
+
+ <mx:Text width="100%" color="blue"
+ text="Use the WipeUp effect to show or hide the text and image."/>
+
+ <mx:Label text="Nokia 9930"
+ fontSize="14"
+ visible="{cb1.selected}"
+ hideEffect="{wipeOut}" showEffect="{wipeIn}"/>
+
+ <mx:Image source="@Embed(source='assets/Nokia_6630.png')"
+ visible="{cb1.selected}"
+ hideEffect="{wipeOut}" showEffect="{wipeIn}"/>
+
+ <mx:CheckBox id="cb1" label="visible" selected="true"/>
+
+ </mx:Panel>
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/effects/ZoomEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/ZoomEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/ZoomEffectExample.mxml
new file mode 100755
index 0000000..54287b2
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/effects/ZoomEffectExample.mxml
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate the Zoom effect. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+ import flash.events.MouseEvent;
+
+ public function doZoom(event:MouseEvent):void {
+ if (zoomAll.isPlaying) {
+ zoomAll.reverse();
+ }
+ else {
+ // If this is a ROLL_OUT event, play the effect backwards.
+ // If this is a ROLL_OVER event, play the effect forwards.
+ zoomAll.play([event.target], event.type == MouseEvent.ROLL_OUT ? true : false);
+ }
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:Zoom id="zoomAll" zoomWidthTo="1" zoomHeightTo="1" zoomWidthFrom=".5" zoomHeightFrom=".5" />
+
+ <mx:Panel title="Zoom Effect Example" width="95%" height="95%" horizontalAlign="center"
+ paddingTop="5" paddingLeft="10" paddingRight="10" paddingBottom="5">
+
+ <mx:Text width="100%" color="blue"
+ text="Move the mouse over the image to enlarge it. Move the mouse off of the image to shrink it."/>
+
+ <mx:Image id="img"
+ source="@Embed(source='assets/Nokia_6630.png')"
+ scaleX=".5" scaleY=".5"
+ rollOver="doZoom(event)"
+ rollOut="doZoom(event)"/>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/effects/assets/jazz.mp3
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/assets/jazz.mp3 b/TourDeFlex/TourDeFlex3/src/effects/assets/jazz.mp3
new file mode 100755
index 0000000..4e33af1
Binary files /dev/null and b/TourDeFlex/TourDeFlex3/src/effects/assets/jazz.mp3 differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/explorer.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/explorer.html b/TourDeFlex/TourDeFlex3/src/explorer.html
new file mode 100755
index 0000000..ffcb81c
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/explorer.html
@@ -0,0 +1,67 @@
+<!--
+ ~ 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.
+ -->
+
+<!-- saved from url=(0014)about:internet -->
+<html lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<title>Apache Flex 4 Component Explorer</title>
+<script src="AC_OETags.js" language="javascript"></script>
+<style>
+body { margin: 0px; overflow:hidden }
+</style>
+</head>
+
+<body scroll='no'>
+<script language="JavaScript" type="text/javascript">
+<!--
+ AC_FL_RunContent(
+ "src", "explorer",
+ "width", "100%",
+ "height", "100%",
+ "align", "middle",
+ "id", "explorer",
+ "quality", "high",
+ "bgcolor", "#869ca7",
+ "name", "explorer",
+ "allowScriptAccess","sameDomain",
+ "type", "application/x-shockwave-flash",
+ "pluginspage", "http://www.adobe.com/go/getflashplayer"
+ );
+// -->
+</script>
+<noscript>
+ <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
+ id="explorer" width="100%" height="100%"
+ codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
+ <param name="movie" value="explorer.swf" />
+ <param name="quality" value="high" />
+ <param name="bgcolor" value="#869ca7" />
+ <param name="allowScriptAccess" value="sameDomain" />
+ <embed src="explorer.swf" quality="high" bgcolor="#869ca7"
+ width="100%" height="100%" name="explorer" align="middle"
+ play="true"
+ loop="false"
+ quality="high"
+ allowScriptAccess="sameDomain"
+ type="application/x-shockwave-flash"
+ pluginspage="http://www.adobe.com/go/getflashplayer">
+ </embed>
+ </object>
+</noscript>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/explorer.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/explorer.mxml b/TourDeFlex/TourDeFlex3/src/explorer.mxml
new file mode 100755
index 0000000..337f875
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/explorer.mxml
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:explorer="*"
+ width="100%" height="100%" pageTitle="Apache Flex 4 Component Explorer"
+ initialize="sdk.send();">
+
+ <mx:Script>
+ <![CDATA[
+
+ private function treeChanged(event:Event):void
+ {
+ var nodeApp:String = compLibTree.selectedItem.@app;
+ if (nodeApp != null && nodeApp != "")
+ {
+ swfLoader.loadApp(nodeApp + ".swf");
+ vs.loadSource(nodeApp, compLibTree.selectedItem.@src);
+ }
+ else
+ {
+ compLibTree.expandItem(compLibTree.selectedItem, true, true);
+ }
+ }
+
+ private function sdkLoaded():void
+ {
+ explorerTree = XML(sdk.lastResult.node);
+ charts.send();
+ }
+
+ private function chartsLoaded():void
+ {
+ explorerTree.appendChild(charts.lastResult.node);
+ populateTree()
+ }
+
+ //we don't use data binding because the timing of the charts loading can be off
+ private function populateTree():void
+ {
+ compLibTree.dataProvider = explorerTree;
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:XML id="explorerTree"/>
+
+ <mx:HTTPService id="sdk" url="explorer.xml" resultFormat="e4x" result="sdkLoaded();" fault="//do nothing" />
+
+ <mx:HTTPService id="charts" url="charts_explorer.xml" resultFormat="e4x" result="chartsLoaded();" fault="populateTree()" />
+
+ <mx:HDividedBox width="100%" height="100%">
+ <mx:Panel width="30%" height="100%" title="Apache Flex 4 Component Explorer">
+ <mx:Tree id="compLibTree" width="100%" height="100%" showRoot="false" labelField="@label"
+ change="treeChanged(event);"/>
+ </mx:Panel>
+ <mx:VDividedBox width="100%" height="100%">
+ <explorer:loaderPanel id="swfLoader" width="100%" height="50%"/>
+ <mx:VBox width="100%" height="50%" backgroundColor="#FFFFFF">
+ <explorer:viewsource id="vs" width="100%" height="100%"/>
+ </mx:VBox>
+ </mx:VDividedBox>
+ </mx:HDividedBox>
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/explorer.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/explorer.xml b/TourDeFlex/TourDeFlex3/src/explorer.xml
new file mode 100755
index 0000000..603a7a5
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/explorer.xml
@@ -0,0 +1,158 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ 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.
+ -->
+
+<compTree>
+ <node label="FrameWork Components">
+
+ <node label="Visual Components">
+ <node label="General Controls">
+ <node label="Alert" app="controls/SimpleAlert"/>
+ <node label="ColorPicker" app="controls/ColorPickerExample"/>
+ <node label="ComboBox" app="controls/SimpleComboBox"/>
+ <node label="DataGrid" app="controls/SimpleDataGrid"/>
+ <node label="HorizontalList" app="controls/HorizontalListExample"/>
+ <node label="HRule" app="controls/SimpleHRule"/>
+ <node label="HScrollBar" app="controls/HScrollBarExample"/>
+ <node label="HSlider" app="controls/SimpleImageHSlider"/>
+ <node label="List" app="controls/SimpleList"/>
+ <node label="NumericStepper" app="controls/NumericStepperExample"/>
+ <node label="ProgressBar" app="controls/SimpleProgressBar"/>
+ <node label="Spacer" app="controls/SpacerExample"/>
+ <node label="TabBar" app="controls/TabBarExample"/>
+ <node label="TileList" app="controls/TileListExample"/>
+ <node label="Tree" app="controls/TreeExample"/>
+ <node label="VRule" app="controls/SimpleVRule"/>
+ <node label="VScrollBar" app="controls/VScrollBarExample"/>
+ <node label="VSlider" app="controls/SimpleImageVSlider"/>
+ </node>
+ <node label="Button Controls">
+ <node label="Button" app="controls/ButtonExample"/>
+ <node label="ButtonBar" app="controls/ButtonBarExample"/>
+ <node label="CheckBox" app="controls/CheckBoxExample"/>
+ <node label="LinkBar" app="controls/LinkBarExample"/>
+ <node label="LinkButton" app="controls/LinkButtonExample"/>
+ <node label="PopUpButton" app="controls/PopUpButtonExample"/>
+ <node label="RadioButton" app="controls/RadioButtonExample"/>
+ <node label="RadioButtonGroup" app="controls/RadioButtonGroupExample"/>
+ <node label="ToggleButtonBar" app="controls/ToggleButtonBarExample"/>
+ </node>
+ <node label="Date Controls">
+ <node label="DateChooser" app="controls/DateChooserExample"/>
+ <node label="DateField" app="controls/DateFieldExample"/>
+ </node>
+ <node label="Loader Controls">
+ <node label="Image" app="controls/SimpleImage"/>
+ <node label="SWFLoader" app="controls/SimpleLoader" src="controls/Local.mxml"/>
+ <node label="VideoDisplay" app="controls/VideoDisplayExample"/>
+ </node>
+ <node label="Menu Controls">
+ <node label="Menu" app="controls/SimpleMenuExample"/>
+ <node label="MenuBar" app="controls/MenuBarExample"/>
+ <node label="PopUpMenuButton" app="controls/PopUpButtonMenuExample"/>
+ </node>
+ <node label="Text Controls">
+ <node label="Label" app="controls/LabelExample"/>
+ <node label="RichTextEditor" app="controls/RichTextEditorExample"/>
+ <node label="Text" app="controls/TextExample"/>
+ <node label="TextArea" app="controls/TextAreaExample"/>
+ <node label="TextInput" app="controls/TextInputExample"/>
+ </node>
+ <node label="Containers">
+ <node label="Application" app="core/SimpleApplicationExample"/>
+ <node label="Accordion" app="containers/AccordionExample"/>
+ <node label="ApplicationControlBar" app="containers/SimpleApplicationControlBarExample"/>
+ <node label="Box" app="containers/SimpleBoxExample"/>
+ <node label="Canvas" app="containers/SimpleCanvasExample"/>
+ <node label="ControlBar" app="containers/SimpleControlBarExample"/>
+ <node label="DividedBox" app="containers/DividedBoxExample"/>
+ <node label="Form, FormHeading, FormItem" app="containers/FormExample"/>
+ <node label="Grid, GridItem, GridRow" app="containers/GridLayoutExample"/>
+ <node label="HBox" app="containers/HBoxExample"/>
+ <node label="HDividedBox" app="containers/HDividedBoxExample"/>
+ <node label="Panel" app="containers/SimplePanelExample"/>
+ <node label="TabNavigator" app="containers/TabNavigatorExample"/>
+ <node label="Tile" app="containers/TileLayoutExample"/>
+ <node label="TitleWindow" app="containers/TitleWindowApp" src="containers/SimpleTitleWindowExample.mxml"/>
+ <node label="VBox" app="containers/VBoxExample"/>
+ <node label="VDividedBox" app="containers/VDividedBoxExample"/>
+ <node label="ViewStack" app="containers/ViewStackExample"/>
+ </node>
+ <node label="Repeater Control">
+ <node label="Repeater" app="core/RepeaterExample"/>
+ </node>
+ </node>
+ <node label="Print Controls">
+ <node label="FlexPrintJob, PrintDataGrid" app="printing/PrintDataGridExample" src="printing/FormPrintView.mxml&printing/FormPrintHeader.mxml&printing/FormPrintFooter.mxml"/>
+ </node>
+ <node label="Validators and Formatters">
+ <node label="Validators">
+ <node label="CreditCardValidator" app="validators/CreditCardValidatorExample"/>
+ <node label="CurrencyValidator" app="validators/CurrencyValidatorExample"/>
+ <node label="DateValidator" app="validators/DateValidatorExample"/>
+ <node label="EmailValidator" app="validators/EmailValidatorExample"/>
+ <node label="NumberValidator" app="validators/NumberValidatorExample"/>
+ <node label="PhoneNumberValidator" app="validators/PhoneNumberValidatorExample"/>
+ <node label="RegExpValidator" app="validators/RegExValidatorExample"/>
+ <node label="SocialSecurityValidator" app="validators/SocialSecurityValidatorExample"/>
+ <node label="StringValidator" app="validators/StringValidatorExample"/>
+ <node label="Validator" app="validators/SimpleValidatorExample"/>
+ <node label="ZipCodeValidator" app="validators/ZipCodeValidatorExample"/>
+ </node>
+ <node label="Formatters">
+ <node label="CurrencyFormatter" app="formatters/CurrencyFormatterExample"/>
+ <node label="DateFormatter" app="formatters/DateFormatterExample"/>
+ <node label="Formatter" app="formatters/SimpleFormatterExample"/>
+ <node label="NumberFormatter" app="formatters/NumberFormatterExample"/>
+ <node label="PhoneFormatter" app="formatters/PhoneFormatterExample"/>
+ <node label="SwitchSymbolFormatter" app="formatters/SwitchSymbolFormatterExample"/>
+ <node label="ZipCodeFormatter" app="formatters/ZipCodeFormatterExample"/>
+ </node>
+ </node>
+ <node label="Effects, View States, and Transitions">
+ <node label="Effects">
+ <node label="AddItemActionEffect" app="effects/AddItemActionEffectExample"/>
+ <node label="AnimateProperty" app="effects/AnimatePropertyEffectExample"/>
+ <node label="Blur" app="effects/BlurEffectExample"/>
+ <node label="Dissolve" app="effects/DissolveEffectExample"/>
+ <node label="Effect" app="effects/SimpleEffectExample"/>
+ <node label="Fade" app="effects/FadeEffectExample"/>
+ <node label="Glow" app="effects/GlowEffectExample"/>
+ <node label="Iris" app="effects/IrisEffectExample"/>
+ <node label="Move" app="effects/MoveEffectExample"/>
+ <node label="Parallel" app="effects/ParallelEffectExample"/>
+ <node label="Pause" app="effects/PauseEffectExample"/>
+ <node label="RemoveItemActionEffect" app="effects/AddItemActionEffectExample"/>
+ <node label="Resize" app="effects/ResizeEffectExample"/>
+ <node label="Rotate" app="effects/RotateEffectExample"/>
+ <node label="Sequence" app="effects/SequenceEffectExample"/>
+ <node label="SoundEffect" app="effects/SoundEffectExample"/>
+ <node label="WipeDown" app="effects/WipeDownExample"/>
+ <node label="WipeLeft" app="effects/WipeLeftExample"/>
+ <node label="WipeRight" app="effects/WipeRightExample"/>
+ <node label="WipeUp" app="effects/WipeUpExample"/>
+ <node label="Zoom" app="effects/ZoomEffectExample"/>
+ </node>
+ <node label="View States">
+ <node label="State" app="states/StatesExample"/>
+ </node>
+ <node label="Transitions">
+ <node label="Transition" app="states/TransitionExample"/>
+ </node>
+ </node>
+ </node>
+</compTree>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/formatters/CurrencyFormatterExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/formatters/CurrencyFormatterExample.mxml b/TourDeFlex/TourDeFlex3/src/formatters/CurrencyFormatterExample.mxml
new file mode 100755
index 0000000..429f911
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/formatters/CurrencyFormatterExample.mxml
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate the CurrencyFormatter. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ import mx.events.ValidationResultEvent;
+ private var vResult:ValidationResultEvent;
+
+ // Event handler to validate and format input.
+ private function Format():void {
+
+ vResult = numVal.validate();
+
+ if (vResult.type==ValidationResultEvent.VALID) {
+ var temp:Number=Number(priceUS.text);
+ formattedUSPrice.text= usdFormatter.format(temp);
+ }
+
+ else {
+ formattedUSPrice.text="";
+ }
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:CurrencyFormatter id="usdFormatter" precision="2"
+ currencySymbol="$" decimalSeparatorFrom="."
+ decimalSeparatorTo="." useNegativeSign="true"
+ useThousandsSeparator="true" alignSymbol="left"/>
+
+ <mx:NumberValidator id="numVal" source="{priceUS}" property="text"
+ allowNegative="true" domain="real"/>
+
+ <mx:Panel title="CurrencyFormatter Example" width="75%" height="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Form>
+ <mx:FormItem label="Enter U.S. dollar amount:">
+ <mx:TextInput id="priceUS" text="" width="50%"/>
+ </mx:FormItem>
+
+ <mx:FormItem label="Formatted amount: ">
+ <mx:TextInput id="formattedUSPrice" text="" width="50%" editable="false"/>
+ </mx:FormItem>
+
+ <mx:FormItem>
+ <mx:Button label="Validate and Format" click="Format();"/>
+ </mx:FormItem>
+ </mx:Form>
+
+ </mx:Panel>
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/formatters/DateFormatterExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/formatters/DateFormatterExample.mxml b/TourDeFlex/TourDeFlex3/src/formatters/DateFormatterExample.mxml
new file mode 100755
index 0000000..17a6621
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/formatters/DateFormatterExample.mxml
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate the DateFormatter. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ import mx.events.ValidationResultEvent;
+ private var vResult:ValidationResultEvent;
+
+ // Event handler to validate and format input.
+ private function Format():void
+ {
+ vResult = dateVal.validate();
+ if (vResult.type==ValidationResultEvent.VALID) {
+ formattedDate.text=dateFormatter.format(dob.text);
+ }
+
+ else {
+ formattedDate.text= "";
+ }
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:DateFormatter id="dateFormatter" formatString="month: MM, day: DD, year: YYYY"/>
+
+ <mx:DateValidator id="dateVal" source="{dob}" property="text" inputFormat="mm/dd/yyyy"/>
+
+ <mx:Panel title="DateFormatter Example" width="95%" height="95%"
+ paddingTop="10" paddingLeft="5" paddingRight="5" paddingBottom="10">
+
+ <mx:Form width="100%">
+ <mx:FormItem label="Enter date (mm/dd/yyyy):" width="100%">
+ <mx:TextInput id="dob" text=""/>
+ </mx:FormItem>
+
+ <mx:FormItem label="Formatted date: " width="100%">
+ <mx:TextInput id="formattedDate" text="" editable="false"/>
+ </mx:FormItem>
+
+ <mx:FormItem>
+ <mx:Button label="Validate and Format" click="Format();"/>
+ </mx:FormItem>
+ </mx:Form>
+
+ </mx:Panel>
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/formatters/NumberFormatterExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/formatters/NumberFormatterExample.mxml b/TourDeFlex/TourDeFlex3/src/formatters/NumberFormatterExample.mxml
new file mode 100755
index 0000000..e452b5d
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/formatters/NumberFormatterExample.mxml
@@ -0,0 +1,68 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate NumberFormatter. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ import mx.events.ValidationResultEvent;
+ private var vResult:ValidationResultEvent;
+
+ // Event handler to validate and format input.
+ private function Format():void
+ {
+ vResult = numVal.validate();
+ if (vResult.type==ValidationResultEvent.VALID) {
+
+ formattedNumber.text= numberFormatter.format(inputVal.text);
+ }
+
+ else {
+ formattedNumber.text= "";
+ }
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:NumberFormatter id="numberFormatter" precision="4"
+ useThousandsSeparator="true" useNegativeSign="true"/>
+
+ <mx:NumberValidator id="numVal" source="{inputVal}" property="text"
+ allowNegative="true" domain="real"/>
+
+ <mx:Panel title="NumberFormatter Example" width="75%" height="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Form>
+ <mx:FormItem label="Enter number:">
+ <mx:TextInput id="inputVal" text="" width="50%"/>
+ </mx:FormItem>
+
+ <mx:FormItem label="Formatted number (precision=4): ">
+ <mx:TextInput id="formattedNumber" editable="false" width="50%"/>
+ </mx:FormItem>
+
+ <mx:FormItem>
+ <mx:Button label="Validate and Format" click="Format();"/>
+ </mx:FormItem>
+ </mx:Form>
+
+ </mx:Panel>
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/formatters/PhoneFormatterExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/formatters/PhoneFormatterExample.mxml b/TourDeFlex/TourDeFlex3/src/formatters/PhoneFormatterExample.mxml
new file mode 100755
index 0000000..f507a17
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/formatters/PhoneFormatterExample.mxml
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate PhoneFormatter. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ import mx.events.ValidationResultEvent;
+ private var vResult:ValidationResultEvent;
+
+ // Event handler to validate and format input.
+ private function Format():void
+ {
+ vResult = pnVal.validate();
+ if (vResult.type==ValidationResultEvent.VALID) {
+ formattedPhone.text= phoneFormatter.format(phone.text);
+ }
+
+ else {
+ formattedPhone.text= "";
+ }
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:PhoneFormatter id="phoneFormatter"
+ formatString="(###) ###-####" validPatternChars="#-() "/>
+
+ <mx:PhoneNumberValidator id="pnVal" source="{phone}" property="text"
+ allowedFormatChars=""/>
+
+ <mx:Panel title="PhoneFormatter Example" width="75%" height="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Form>
+ <mx:FormItem label="Enter a 10-digit phone number:">
+ <mx:TextInput id="phone" text="" width="75%"/>
+ </mx:FormItem>
+
+ <mx:FormItem label="Formatted phone number: ">
+ <mx:TextInput id="formattedPhone" text="" width="75%" editable="false"/>
+ </mx:FormItem>
+
+ <mx:FormItem>
+ <mx:Button label="Validate and Format" click="Format();"/>
+ </mx:FormItem>
+ </mx:Form>
+
+ </mx:Panel>
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/formatters/SimpleFormatterExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/formatters/SimpleFormatterExample.mxml b/TourDeFlex/TourDeFlex3/src/formatters/SimpleFormatterExample.mxml
new file mode 100755
index 0000000..bf19ebd
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/formatters/SimpleFormatterExample.mxml
@@ -0,0 +1,65 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the Formatter class. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ // Event handler to format the input.
+ private function Format():void
+ {
+ // The format() method returns the formatted String,
+ // or an empty String if there is an error.
+ var formattedVal:String = numberFormatter.format(inputVal.text);
+
+ if (formattedVal.length==0) {
+ // If there is an error, the Format.error property
+ // contains the reason.
+ formattedNumber.text=numberFormatter.error;
+ }
+
+ else {
+ formattedNumber.text=formattedVal;
+ }
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:NumberFormatter id="numberFormatter"/>
+
+ <mx:Panel title="NumberFormatter Example" width="75%" height="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Form>
+ <mx:FormItem label="Enter number - a letter is invalid:">
+ <mx:TextInput id="inputVal" text="" width="75%"/>
+ </mx:FormItem>
+
+ <mx:FormItem label="Formatted number: ">
+ <mx:TextInput id="formattedNumber" editable="false" width="75%"/>
+ </mx:FormItem>
+
+ <mx:FormItem>
+ <mx:Button label="Validate and Format" click="Format();"/>
+ </mx:FormItem>
+ </mx:Form>
+
+ </mx:Panel>
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/formatters/SwitchSymbolFormatterExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/formatters/SwitchSymbolFormatterExample.mxml b/TourDeFlex/TourDeFlex3/src/formatters/SwitchSymbolFormatterExample.mxml
new file mode 100755
index 0000000..82adc44
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/formatters/SwitchSymbolFormatterExample.mxml
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate SwitchSymbolFormatter. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ import mx.formatters.SwitchSymbolFormatter;
+ import mx.events.ValidationResultEvent;
+
+ private var vResult:ValidationResultEvent;
+
+ // Event handler to validate and format input.
+ private function Format():void
+ {
+ vResult = scVal.validate();
+
+ if (vResult.type==ValidationResultEvent.VALID) {
+ var switcher:SwitchSymbolFormatter=new SwitchSymbolFormatter('#');
+
+ formattedSCNumber.text =
+ switcher.formatValue("Formatted Social Securty number: ###-##-#### ", scNum.text);
+ }
+
+ else {
+ formattedSCNumber.text= "";
+ }
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:SocialSecurityValidator id="scVal" source="{scNum}" property="text"/>
+
+ <mx:Panel title="SwitchSymbolFormatter Example" width="75%" height="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Label text="Enter a 9 digit Social Security number with no separator characters:"/>
+ <mx:TextInput id="scNum" text="" maxChars="9" width="50%"/>
+
+ <mx:Button label="Validate and Format" click="Format();"/>
+ <mx:TextInput id="formattedSCNumber" editable="false" width="75%"/>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/formatters/ZipCodeFormatterExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/formatters/ZipCodeFormatterExample.mxml b/TourDeFlex/TourDeFlex3/src/formatters/ZipCodeFormatterExample.mxml
new file mode 100755
index 0000000..b5f61ed
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/formatters/ZipCodeFormatterExample.mxml
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate ZipCodeFormatter. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ import mx.events.ValidationResultEvent;
+ private var vResult:ValidationResultEvent;
+
+ // Event handler to validate and format input.
+ private function Format():void
+ {
+ vResult = zcVal.validate();
+
+ if (vResult.type==ValidationResultEvent.VALID) {
+ formattedZipcode.text= zipFormatter.format(zip.text);
+ }
+
+ else {
+ formattedZipcode.text= "";
+ }
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:ZipCodeFormatter id="zipFormatter" formatString="#####-####"/>
+
+ <mx:ZipCodeValidator id="zcVal" source="{zip}" property="text" allowedFormatChars=""/>
+
+ <mx:Panel title="ZipCodeFormatter Example" width="75%" height="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Form width="100%">
+ <mx:FormItem label="Enter a 5 or 9 digit U.S. ZIP code:" width="100%">
+ <mx:TextInput id="zip" text=""/>
+ </mx:FormItem>
+
+ <mx:FormItem label="Formatted ZIP code: " width="100%">
+ <mx:TextInput id="formattedZipcode" text="" editable="false"/>
+ </mx:FormItem>
+
+ <mx:FormItem>
+ <mx:Button label="Validate and Format" click="Format();"/>
+ </mx:FormItem>
+ </mx:Form>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/loaderPanel.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/loaderPanel.mxml b/TourDeFlex/TourDeFlex3/src/loaderPanel.mxml
new file mode 100755
index 0000000..a67ea26
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/loaderPanel.mxml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+ 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.
+ -->
+
+<mx:Panel xmlns:mx="http://www.adobe.com/2006/mxml"
+ horizontalAlign="center" headerHeight="10">
+ <mx:Script>
+ <![CDATA[
+
+ public function loadApp(swfApp:String):void
+ {
+ myLoader.source = swfApp;
+ }
+
+ ]]>
+ </mx:Script>
+
+<mx:SWFLoader id="myLoader" width="100%" height="100%" />
+
+</mx:Panel>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/printing/AdvancedPrintDataGridExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/printing/AdvancedPrintDataGridExample.mxml b/TourDeFlex/TourDeFlex3/src/printing/AdvancedPrintDataGridExample.mxml
new file mode 100755
index 0000000..7e116cc
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/printing/AdvancedPrintDataGridExample.mxml
@@ -0,0 +1,105 @@
+<?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.
+ -->
+
+<!-- printing\ADGPrint.mxml -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+ import mx.printing.*;
+ import mx.collections.ArrayCollection;
+ import mx.printing.PrintAdvancedDataGrid;
+
+ // Create a PrintJob instance.
+ private function doPrint():void {
+ // Create an instance of the FlexPrintJob class.
+ var printJob:FlexPrintJob = new FlexPrintJob();
+
+ // Initialize the PrintAdvancedDataGrid control.
+ var printADG:PrintAdvancedDataGrid =
+ new PrintAdvancedDataGrid();
+ // Exclude the PrintAdvancedDataGrid control from layout.
+ printADG.includeInLayout = false;
+ printADG.source = adg;
+
+ // Add the print-specific control to the application.
+ addChild(printADG);
+
+ // Start the print job.
+ if (printJob.start() == false) {
+ // User cancelled print job.
+ // Remove the print-specific control to free memory.
+ removeChild(printADG);
+ return;
+ }
+
+ // Add the object to print. Do not scale it.
+ printJob.addObject(printADG, FlexPrintJobScaleType.NONE);
+
+ // Send the job to the printer.
+ printJob.send();
+
+ // Remove the print-specific control to free memory.
+ removeChild(printADG);
+ }
+
+ [Bindable]
+ private var dpHierarchy:ArrayCollection = new ArrayCollection([
+ {Region:"Southwest", children: [
+ {Region:"Arizona", children: [
+ {Territory_Rep:"Barbara Jennings", Actual:38865, Estimate:40000},
+ {Territory_Rep:"Dana Binn", Actual:29885, Estimate:30000}]},
+ {Region:"Central California", children: [
+ {Territory_Rep:"Joe Smith", Actual:29134, Estimate:30000}]},
+ {Region:"Nevada", children: [
+ {Territory_Rep:"Bethany Pittman", Actual:52888, Estimate:45000}]},
+ {Region:"Northern California", children: [
+ {Territory_Rep:"Lauren Ipsum", Actual:38805, Estimate:40000},
+ {Territory_Rep:"T.R. Smith", Actual:55498, Estimate:40000}]},
+ {Region:"Southern California", children: [
+ {Territory_Rep:"Alice Treu", Actual:44985, Estimate:45000},
+ {Territory_Rep:"Jane Grove", Actual:44913, Estimate:45000}]}
+ ]}
+ ]);
+
+ ]]>
+ </mx:Script>
+
+ <mx:Panel title="PrintAdvancedDataGrid Control Example"
+ height="75%" width="75%" layout="horizontal"
+ paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
+
+ <mx:AdvancedDataGrid id="adg"
+ width="100%" height="100%">
+ <mx:dataProvider>
+ <mx:HierarchicalData source="{dpHierarchy}"/>
+ </mx:dataProvider>
+ <mx:columns>
+ <mx:AdvancedDataGridColumn dataField="Region"/>
+ <mx:AdvancedDataGridColumn dataField="Territory_Rep"
+ headerText="Territory Rep"/>
+ <mx:AdvancedDataGridColumn dataField="Actual"/>
+ <mx:AdvancedDataGridColumn dataField="Estimate"/>
+ </mx:columns>
+ </mx:AdvancedDataGrid>
+
+ <mx:Button id="myButton"
+ label="Print"
+ click="doPrint();"/>
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/printing/FormPrintFooter.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/printing/FormPrintFooter.mxml b/TourDeFlex/TourDeFlex3/src/printing/FormPrintFooter.mxml
new file mode 100755
index 0000000..7e34d2a
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/printing/FormPrintFooter.mxml
@@ -0,0 +1,32 @@
+<?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.
+ -->
+
+<!-- Custom control for the footer area of the printed page. -->
+
+<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" width="60%"
+ horizontalAlign="right" >
+ <!-- Declare and initialize the product total variable. -->
+
+ <mx:Script>
+ <![CDATA[
+ [Bindable]
+ public var pTotal:Number = 0;
+ ]]>
+ </mx:Script>
+ <mx:Label text="Product Total: {pTotal}"/>
+</mx:VBox>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/printing/FormPrintHeader.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/printing/FormPrintHeader.mxml b/TourDeFlex/TourDeFlex3/src/printing/FormPrintHeader.mxml
new file mode 100755
index 0000000..4fc4c19
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/printing/FormPrintHeader.mxml
@@ -0,0 +1,25 @@
+<?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.
+ -->
+
+<!-- Custom control for the header area of the printed page. -->
+
+<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" width="60%"
+ horizontalAlign="right" >
+
+ <mx:Label text="This is a placeholder for first page contents"/>
+</mx:VBox>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/printing/FormPrintView.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/printing/FormPrintView.mxml b/TourDeFlex/TourDeFlex3/src/printing/FormPrintView.mxml
new file mode 100755
index 0000000..c0bea66
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/printing/FormPrintView.mxml
@@ -0,0 +1,77 @@
+<?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.
+ -->
+
+<!-- Custom control to print the DataGrid control on multiple pages. -->
+
+<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" backgroundColor="#FFFFFF"
+ paddingTop="50" paddingBottom="50" paddingLeft="50">
+
+ <mx:Script>
+ <![CDATA[
+ import mx.core.*
+ // Declare and initialize the variables used in the component.
+ // The application sets the actual prodTotal value.
+ [Bindable]
+ public var pageNumber:Number = 1;
+ [Bindable]
+ public var prodTotal:Number = 0;
+
+ // Control the page contents by selectively hiding the header and
+ // footer based on the page type.
+ public function showPage(pageType:String):void {
+ if(pageType == "first" || pageType == "middle") {
+ // Hide the footer.
+ footer.includeInLayout=false;
+ footer.visible = false;
+ }
+ if(pageType == "middle" || pageType == "last") {
+ // The header won't be used again; hide it.
+ header.includeInLayout=false;
+ header.visible = false;
+ }
+ if(pageType == "last") {
+ // Show the footer.
+ footer.includeInLayout=true;
+ footer.visible = true;
+ }
+ //Update the DataGrid layout to reflect the results.
+ validateNow();
+ }
+ ]]>
+ </mx:Script>
+
+ <!-- The template for the printed page, with the contents for all pages. -->
+ <mx:VBox width="80%" horizontalAlign="left">
+ <mx:Label text="Page {pageNumber}"/>
+ </mx:VBox>
+
+ <FormPrintHeader id="header" />
+ <!-- The data grid. The sizeToPage property is true by default, so the last
+ page has only as many grid rows as are needed for the data. -->
+ <mx:PrintDataGrid id="myDataGrid" width="60%" height="100%">
+ <!-- Specify the columns to ensure that their order is correct. -->
+ <mx:columns>
+ <mx:DataGridColumn dataField="Index" />
+ <mx:DataGridColumn dataField="Qty" />
+ </mx:columns>
+ </mx:PrintDataGrid>
+
+ <!-- Create a FormPrintFooter control and set its prodTotal variable. -->
+ <FormPrintFooter id="footer" pTotal="{prodTotal}" />
+
+</mx:VBox>
\ No newline at end of file
[35/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/data/objects-desktop_ja.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/data/objects-desktop_ja.xml b/TourDeFlex/TourDeFlex/src/data/objects-desktop_ja.xml
new file mode 100644
index 0000000..92556ce
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/data/objects-desktop_ja.xml
@@ -0,0 +1,5816 @@
+<!--
+
+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.
+
+-->
+<Objects version="2010-03-22.2" searchTags="uicontrol,input,container,effect,transition,date,number,string,navigator,formatter,validator,chart,visualization,map,data,blazeds,lcds,api,cloud,air,technique" searchTagsTotals="49,6,21,32,2,6,5,18,7,7,11,23,21,13,33,16,16,15,15,22,25" featuredSamples="14110,14120,14130,14140,14150">
+ <Category name="Introduction to Flex">
+ <Object id="90000" name="What's Flex" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="What's Flex - from Flex.org">
+ <Illustrations>
+ <Illustration name="What's Flex" path="http://tourdeflex.adobe.com/introduction/whatsflex.html" openLinksExternal="true" autoExpand="true">
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="90005" name="What's Possible" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="What's Flex - from Flex.org">
+ <Illustrations>
+ <Illustration name="What's Possible (showcase)" path="http://tourdeflex.adobe.com/introduction/whatspossible.html" openLinksExternal="true" autoExpand="true">
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="90010" name="Get Started" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="What's Flex - from Flex.org">
+ <Illustrations>
+ <Illustration name="Get Started" path="http://tourdeflex.adobe.com/introduction/getstarted.html" openLinksExternal="true" autoExpand="true">
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="90015" name="Flex Resources" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="What's Flex - from Flex.org">
+ <Illustrations>
+ <Illustration name="Flex Resources" path="http://tourdeflex.adobe.com/introduction/resources.html" openLinksExternal="true" autoExpand="true">
+ </Illustration>
+ </Illustrations>
+ </Object>
+ </Category>
+ <Category name="Flex 4">
+ <Object id="700001" name="Read Me" iconPath="http://tourdeflex.adobe.com/samples/common/adobe.png" author="Holly Schinsky" tags="readme">
+ <Illustrations>
+ <Illustration name="Read Me" path="http://tourdeflex.adobe.com/flex4samples/flex4-readme-new.html" autoExpand="true" openLinksExternal="true"/>
+ </Illustrations>
+ </Object>
+ <Category name="Components">
+ <Category name="Controls">
+ <Object id="70030" name="AdvancedDataGrid" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/AdvancedDataGrid.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - AdvancedDataGrid">
+ <Illustrations>
+ <Illustration name="AdvancedDataGrid" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-AdvancedDataGrid/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-AdvancedDataGrid/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-AdvancedDataGrid/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=AdvancedDataGrid" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30600" name="Button" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Button.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Button">
+ <Illustrations>
+ <Illustration name="Button" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/Button/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/Button/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/Button/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=Button" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30700" name="ButtonBar" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ButtonBar.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ButtonBar">
+ <Illustrations>
+ <Illustration name="ButtonBar" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/ButtonBar/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/ButtonBar/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/ButtonBar/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=ButtonBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30300" name="CheckBox" author="Holly Schinsky/Adobe" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/CheckBox.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - CheckBox">
+ <Illustrations>
+ <Illustration name="CheckBox" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/CheckBox/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/CheckBox/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/CheckBox/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=CheckBox" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70260" name="ColorPicker" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ColorPicker.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ColorPicker">
+ <Illustrations>
+ <Illustration name="ColorPicker" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ColorPicker/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ColorPicker/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ColorPicker/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=ColorPicker" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30305" name="ComboBox" author="Holly Schinsky/Adobe" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ComboBox.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ComboBox">
+ <Illustrations>
+ <Illustration name="ComboBox" path="http://tourdeflex.adobe.com/flex4.0/ComboBox/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/ComboBox/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/ComboBox/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=ComboBox" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70040" name="DataGrid" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/DataGrid.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DataGrid">
+ <Illustrations>
+ <Illustration name="DataGrid" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DataGrid/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DataGrid/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DataGrid/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=DataGrid" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70050" name="DateChooser" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/DateChooser.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DateChooser">
+ <Illustrations>
+ <Illustration name="DateChooser" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateChooser/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateChooser/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateChooser/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=DateChooser" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70060" name="DateField" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/DateField.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DateField">
+ <Illustrations>
+ <Illustration name="DateField" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateField/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateField/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateField/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=DateField" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30400" name="DropDownList" author="Holly Schinsky/Adobe" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/DropDownList.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DropDownList">
+ <Illustrations>
+ <Illustration name="DropDownList" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/DropDownList/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/DropDownList/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/DropDownList/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/component&topic=DropDownList" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70090" name="Image" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Image.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Image">
+ <Illustrations>
+ <Illustration name="Image" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Image/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Image/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Image/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=Image" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70100" name="LinkButton" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/LinkButton.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - LinkButton">
+ <Illustrations>
+ <Illustration name="LinkButton" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LinkButton/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LinkButton/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LinkButton/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=LinkButton" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30800" name="List" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/List.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - List">
+ <Illustrations>
+ <Illustration name="List" path="http://tourdeflex.adobe.com/flex4samples/UIControls/TreeListAndGridControls/List/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/TreeListAndGridControls/List/srcview/source/sample.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/UIControls/TreeListAndGridControls/List/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=List" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30805" name="Menu" author="Holly Schinsky/Adobe" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Menu.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Menu">
+ <Illustrations>
+ <Illustration name="Menu" path="http://tourdeflex.adobe.com/flex4.0/Menu/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Menu/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Menu/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=Menu" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30200" name="NumericStepper" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/NumericStepper.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - NumericStepper">
+ <Illustrations>
+ <Illustration name="NumericStepper" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/NumericStepper/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/NumericStepper/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/NumericStepper/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=NumericStepper" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70110" name="OLAPDataGrid" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/OLAPDataGrid/OLAPDataGrid.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - OLAPDataGrid">
+ <Illustrations>
+ <Illustration name="OLAPDataGrid" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-OLAPDataGrid/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-OLAPDataGrid/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-OLAPDataGrid/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=OLAPDataGrid" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30720" name="PopUpAnchor" author="Holly Schinsky" dateAdded="2009-09-21" downloadPath="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/srcview/Sample-Flex4-PopUpAnchor.zip" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Button.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Popup Anchor">
+ <Illustrations>
+ <Illustration name="PopUpAnchor" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="CloseButtonSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/srcview/source/skins/CloseButtonSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=PopUpAnchor" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ <Illustration name="PopUpAnchor2" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/sample2.html">
+ <Documents>
+ <Document name="sample2.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/srcview/source/sample2.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/PopUpAnchor/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=PopUpAnchor" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70120" name="PopUpButton" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/PopUpButton/PopUpButton.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - PopUpButton">
+ <Illustrations>
+ <Illustration name="PopUpButton" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PopUpButton/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PopUpButton/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PopUpButton/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=PopUpButton" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70130" name="ProgressBar" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ProgressBar.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ProgressBar">
+ <Illustrations>
+ <Illustration name="ProgressBar" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ProgressBar/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ProgressBar/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ProgressBar/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=ProgressBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30100" name="RadioButton" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/RadioButton.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - RadioButton">
+ <Illustrations>
+ <Illustration name="RadioButton" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/RadioButton/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/RadioButton/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/DataEntryControls/RadioButton/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=RadioButton" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30105" name="RichEditableText" author="Holly Schinsky/Adobe" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/RichEditableText.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - RichEditableText">
+ <Illustrations>
+ <Illustration name="RichEditableText" path="http://tourdeflex.adobe.com/flex4.0/RichEditableText/sample.swf">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/RichEditableText/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/RichEditableText/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=RichEditableText" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30107" name="RichText" author="Holly Schinsky/Adobe" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/RichText.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - RichText">
+ <Illustrations>
+ <Illustration name="RichText" path="http://tourdeflex.adobe.com/flex4.0/FXG/RichText/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/RichText/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/RichText/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=RichText" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30910" name="ScrollBar (2)" author="Holly Schinsky" dateAdded="2009-09-21" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Scroller.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ScrollBar">
+ <Illustrations>
+ <Illustration name="ScrollBar" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/ScrollBar/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/ScrollBar/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/ScrollBar/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="HScrollBar Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=VScrollBar" openLinksExternal="true"/>
+ <Document name="VScrollBar Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=HScrollBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ <Illustration name="HScrollBar/VScrollBar" path="http://tourdeflex.adobe.com/flex4.0/ScrollBars/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/ScrollBars/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/ScrollBars/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="HScrollBar Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=VScrollBar" openLinksExternal="true"/>
+ <Document name="VScrollBar Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=HScrollBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31000" name="Scroller (2)" author="Peter DeHaan/Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Scroller.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Scroller">
+ <Illustrations>
+ <Illustration name="Scroller Viewport" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Scroller/sample1.html">
+ <Documents>
+ <Document name="sample1.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Scroller/srcview/source/sample1.mxml.html"/>
+ <Document name="MyPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Scroller/srcview/source/skins/MyPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=Scroller" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ <Illustration name="Scroller Child Tabbing" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Scroller/sample2.html">
+ <Documents>
+ <Document name="sample2.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Scroller/srcview/source/sample2.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Scroller/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=Scroller" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30915" name="Slider" author="Holly Schinsky" dateAdded="2009-09-21" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/VSlider.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Slider">
+ <Illustrations>
+ <Illustration name="Slider" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Slider/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Slider/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Slider/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="VSlider Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=VSlider" openLinksExternal="true"/>
+ <Document name="HSlider Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=HSlider" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30925" name="Spinner" author="Holly Schinsky" dateAdded="2009-10-20" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Spinner.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Spinner">
+ <Illustrations>
+ <Illustration name="Spinner" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Spinner/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Spinner/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/Spinner/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=Spinner" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70140" name="SWFLoader" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/SWFLoader.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SWFLoader">
+ <Illustrations>
+ <Illustration name="SWFLoader" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SWFLoader/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SWFLoader/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SWFLoader/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=SWFLoader" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30926" name="TabBar" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TabBar.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - TabBar">
+ <Illustrations>
+ <Illustration name="TabBar" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/srcview/source/sample1.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/srcview/index.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=TabBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30928" name="TextArea" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TextArea.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - TextArea">
+ <Illustrations>
+ <Illustration name="TextArea" path="http://tourdeflex.adobe.com/flex4.0/TextArea/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/TextArea/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/TextArea/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=TextArea" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30930" name="TextInput" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TextInput.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - TextInput">
+ <Illustrations>
+ <Illustration name="TextInput" path="http://tourdeflex.adobe.com/flex4.0/TextInput/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/TextInput/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/TextInput/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=TextInput" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30500" name="ToggleButton" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ToggleButton.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ToggleButton">
+ <Illustrations>
+ <Illustration name="ToggleButton" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/ToggleButton/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/ToggleButton/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/Buttons/ToggleButton/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=ToggleButton" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70150" name="Tree" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Tree.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Tree">
+ <Illustrations>
+ <Illustration name="Tree" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Tree/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Tree/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Tree/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=ToggleButton" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70160" name="VideoDisplay" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/VideoDisplay.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - VideoDisplay">
+ <Illustrations>
+ <Illustration name="VideoDisplay" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-VideoDisplay/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-VideoDisplay/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-VideoDisplay/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=VideoDisplay" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="30900" name="VideoPlayer" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/VideoPlayer.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - VideoPlayer">
+ <Illustrations>
+ <Illustration name="VideoPlayer" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/VideoPlayer/sample1.html">
+ <Documents>
+ <Document name="sample1.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/VideoPlayer/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/UIControls/OtherControls/VideoPlayer/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=VideoPlayer" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ </Category>
+ <Category name="Layout">
+ <Object id="31099" name="Read Me" iconPath="http://tourdeflex.adobe.com/samples/common/adobe.png" author="Holly Schinsky" tags="readme">
+ <Illustrations>
+ <Illustration name="Read Me" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/groups-containers-readme.html" autoExpand="true" openLinksExternal="true"/>
+ </Illustrations>
+ </Object>
+ <Object id="31100" name="BorderContainer" author="Holly Schinsky" dateAdded="2009-09-10" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/BorderContainer.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - BorderContainer">
+ <Illustrations>
+ <Illustration name="BorderContainer" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/Border/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/Border/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/Border/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=BorderContainer" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31105" name="DataGroup" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/DataGroup.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DataGroup">
+ <Illustrations>
+ <Illustration name="DataGroup" path="http://tourdeflex.adobe.com/flex4.0/DataGroup/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/DataGroup/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/DataGroup/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=DataGroup" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70000" name="Form" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Form.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Form">
+ <Illustrations>
+ <Illustration name="Form" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Form/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Form/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Form/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/containers&topic=Form" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31110" name="HGroup/VGroup (3)" author="Holly Schinsky/Evtim Georgiev" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/HGroup.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - HGroup/VGroup">
+ <Illustrations>
+ <Illustration name="HGroup" path="http://tourdeflex.adobe.com/flex4.0/Group-HGroup-VGroup/SampleHGroup.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Group-HGroup-VGroup/srcview/source/SampleHGroup.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Group-HGroup-VGroup/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=HGroup" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ <Illustration name="VGroup" path="http://tourdeflex.adobe.com/flex4.0/Group-HGroup-VGroup/SampleVGroup.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Group-HGroup-VGroup/srcview/source/SampleVGroup.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Group-HGroup-VGroup/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=VGroup" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ <Illustration name="Group Axis Alignment" path="http://tourdeflex.adobe.com/flex4.0/Groups-verticalAlign-horizontalAlign-forLayout/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Groups-verticalAlign-horizontalAlign-forLayout/srcview/source/sample.mxml.html"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31150" name="Panel" author="Holly Schinsky" dateAdded="2009-09-10" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Panel.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Panel">
+ <Illustrations>
+ <Illustration name="Panel" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/Panel/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/Panel/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/Panel/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=Panel" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31720" name="SkinnableContainer" author="Holly Schinsky" dateAdded="2009-11-16" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/SkinnableContainer.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SkinnableContainer">
+ <Illustrations>
+ <Illustration name="SkinnableContainer" path="http://tourdeflex.adobe.com/flex4samples/Skinning/SkinningContainer/sample.html">
+ <Documents>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/Skinning/SkinningContainer/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=SkinnableContainer" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31725" name="SkinnableDataContainer" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/SkinnableDataContainer.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SkinnableContainer">
+ <Illustrations>
+ <Illustration name="SkinnableDataContainer" path="http://tourdeflex.adobe.com/flex4.0/SkinnableDataContainer/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/SkinnableDataContainer/srcview/source/sample.mxml.html" openLinksExternal="true"/>
+ <Document name="TDFPanelSkin" path="http://tourdeflex.adobe.com/flex4.0/SkinnableDataContainer/srcview/source/skins/TDFPanelSkin.mxml.html" openLinksExternal="true"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4.0/SkinnableDataContainer/srcview/" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=SkinnableDataContainer" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31160" name="Tabbed Navigation (2)" author="Holly Schinsky" dateAdded="2009-11-16" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TabNavigator.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Tabbed Navigation">
+ <Illustrations>
+ <Illustration name="Tabbed Navigation" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/sample1.html">
+ <Documents>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/srcview/index.html" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ <Illustration name="Custom Tabs" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/sample2.html">
+ <Documents>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/GroupsAndContainers/TabbedNavigator/srcview/index.html" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31165" name="TileGroup" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TileGroup.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - TileGroup">
+ <Illustrations>
+ <Illustration name="TileGroup" path="http://tourdeflex.adobe.com/flex4.0/TileGroup/TileGroupSample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/TileGroup/srcview/source/TileGroupSample.mxml.html" openLinksExternal="true"/>
+ <Document name="TDFPanelSkin" path="http://tourdeflex.adobe.com/flex4.0/TileGroup/srcview/source/skins/TDFPanelSkin.mxml.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=TileGroup" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70020" name="TitleWindow" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TitleWindow.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - TitleWindow">
+ <Illustrations>
+ <Illustration name="TitleWindow" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-TitleWindow/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-TitleWindow/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-TitleWindow/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/components&topic=TitleWindow" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ </Category>
+ <Category name="Navigators">
+ <Object id="70170" name="Accordion" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/Accordion.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Accordion">
+ <Illustrations>
+ <Illustration name="Accordion" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Accordion/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Accordion/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Accordion/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/containers&topic=Accordion" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70180" name="LinkBar" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/LinkBar.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - LinkBar">
+ <Illustrations>
+ <Illustration name="LinkBar" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LinkBar/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LinkBar/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LinkBar/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/containers&topic=LinkBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70190" name="TabNavigator" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/TabNavigator.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - TabNavigator">
+ <Illustrations>
+ <Illustration name="TabNavigator" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-TabNavigator/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-TabNavigator/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-TabNavigator/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/containers&topic=TabNavigator" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70200" name="ToggleButtonBar" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/ToggleButtonBar/ButtonBar.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ToggleButtonBar">
+ <Illustrations>
+ <Illustration name="ToggleButtonBar" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ToggleButtonBar/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ToggleButtonBar/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ToggleButtonBar/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/controls&topic=ToggleButtonBar" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70210" name="ViewStack" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ViewStack.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ViewStack">
+ <Illustrations>
+ <Illustration name="ViewStack" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ViewStack/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ViewStack/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ViewStack/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/containers&topic=ViewStack" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ </Category>
+ <Category name="Charts">
+ <Object id="70220" name="AreaChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/AreaChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - AreaChart">
+ <Illustrations>
+ <Illustration name="AreaChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-AreaChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-AreaChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-AreaChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=AreaChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70230" name="BarChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/BarChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - BarChart">
+ <Illustrations>
+ <Illustration name="BarChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-BarChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-BarChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-BarChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=BarChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70240" name="BubbleChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/BubbleChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - BubbleChart">
+ <Illustrations>
+ <Illustration name="BubbleChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-BubbleChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-BubbleChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-BubbleChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=BubbleChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70250" name="CandlestickChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/CandlestickChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - CandlestickChart">
+ <Illustrations>
+ <Illustration name="CandlestickChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-CandlestickChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-CandlestickChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-CandlestickChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=CandlestickChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70270" name="ColumnChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/ColumnChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - ColumnChart">
+ <Illustrations>
+ <Illustration name="ColumnChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ColumnChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ColumnChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-ColumnChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=ColumnChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70280" name="HLOCChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/HLOCChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - HLOCChart">
+ <Illustrations>
+ <Illustration name="HLOCChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-HLOCChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-HLOCChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-HLOCChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=HLOCChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70290" name="LineChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/LineChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - LineChart">
+ <Illustrations>
+ <Illustration name="LineChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LineChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LineChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-LineChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=LineChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70300" name="PieChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/PieChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - PieChart">
+ <Illustrations>
+ <Illustration name="PieChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PieChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PieChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PieChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=PieChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70310" name="PlotChart" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://tourdeflex.adobe.com/flex4samples/icons/PlotChart.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - PlotChart">
+ <Illustrations>
+ <Illustration name="PlotChart" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PlotChart/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PlotChart/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PlotChart/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts&topic=PlotChart" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Category name="Charting Effects">
+ <Object id="70320" name="SeriesInterpolate" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SeriesInterpolate/Effects.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SeriesInterploate">
+ <Illustrations>
+ <Illustration name="SeriesInterpolate" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesInterploate/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesInterploate/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesInterploate/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts/effects&topic=SeriesInterpolate" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70330" name="SeriesSlide" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SeriesSlide/Effects.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SeriesSlide">
+ <Illustrations>
+ <Illustration name="SeriesSlide" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesSlide/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesSlide/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesSlide/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts/effects&topic=SeriesSlide" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70340" name="SeriesZoom" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SeriesZoom/Effects.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SeriesZoom">
+ <Illustrations>
+ <Illustration name="SeriesZoom" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesZoom/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesZoom/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SeriesZoom/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/charts/effects&topic=SeriesZoom" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ </Category>
+ </Category>
+ <Category name="Graphics">
+ <Object id="31799" name="Read Me" iconPath="http://tourdeflex.adobe.com/samples/common/adobe.png" author="Holly Schinsky" tags="readme">
+ <Illustrations>
+ <Illustration name="Read Me" path="http://tourdeflex.adobe.com/flex4samples/Graphics/fxg-readme.html" autoExpand="true" openLinksExternal="true"/>
+ </Illustrations>
+ </Object>
+ <Object id="31805" name="BitmapImage" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - BitmapImage">
+ <Illustrations>
+ <Illustration name="BitmapImage" path="http://tourdeflex.adobe.com/flex4.0/FXG/BitmapImage/BitmapImageExample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/BitmapImage/srcview/source/BitmapImageExample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/BitmapImage/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4.0/FXG/BitmapImage/srcview/index.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/primitives&topic=BitmapImage" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31800" name="DropShadow Graphic" author="Joan Lafferty" dateAdded="2009-09-04" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DropShadowGraphic">
+ <Illustrations>
+ <Illustration name="DropShadow Graphic" path="http://tourdeflex.adobe.com/flex4samples/Graphics/DropShadowGraphic/DropShadowGraphicExample.html">
+ <Documents>
+ <Document name="DropShadowGraphicExample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/DropShadowGraphic/srcview/source/DropShadowGraphicExample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/DropShadowGraphic/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=flash/filters&topic=DropShadowFilter" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31885" name="Ellipse" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Ellipse">
+ <Illustrations>
+ <Illustration name="Ellipse" path="http://tourdeflex.adobe.com/flex4.0/FXG/Ellipse/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/Ellipse/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/Ellipse/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/primitives&topic=Ellipse" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31900" name="Ellipse Transform" author="Joan Lafferty" dateAdded="2009-09-04" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - EllipseTransform">
+ <Illustrations>
+ <Illustration name="Ellipse Transform" path="http://tourdeflex.adobe.com/flex4samples/Graphics/EllipseTransform/EllipseTransformExample.html">
+ <Documents>
+ <Document name="EllipseTransformExample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/EllipseTransform/srcview/source/EllipseTransformExample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/EllipseTransform/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/primitives&topic=Ellipse" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31905" name="Line" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Line">
+ <Illustrations>
+ <Illustration name="Line" path="http://tourdeflex.adobe.com/flex4.0/FXG/Line/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/Line/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/FXG/Line/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/primitives&topic=Line" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="32000" name="Linear Gradient Spread" author="Joan Lafferty" dateAdded="2009-09-04" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - LinearGradientSpreadMethod">
+ <Illustrations>
+ <Illustration name="LinearGradient Spread" path="http://tourdeflex.adobe.com/flex4samples/Graphics/LinearGradientSpread/LinearGradientsSpreadMethodExample.html">
+ <Documents>
+ <Document name="LinearGradientSpreadMethodExample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/LinearGradientSpread/srcview/source/LinearGradientsSpreadMethodExample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/LinearGradientSpread/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/graphics&topic=LinearGradient" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="32100" name="Static FXG" author="Joan Lafferty" dateAdded="2009-09-04" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/HOWTO/flexicon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Static FXG">
+ <Illustrations>
+ <Illustration name="Static FXG" path="http://tourdeflex.adobe.com/flex4samples/Graphics/StaticFXG/StaticFXG_Sample.html">
+ <Documents>
+ <Document name="StaticFXG_Sxample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/StaticFXG/srcview/source/StaticFXG_Sample.mxml.html"/>
+ <Document name="OrangeCrayonStar.fxg" path="http://tourdeflex.adobe.com/flex4samples/Graphics/StaticFXG/srcview/source/OrangeCrayonStar.fxg"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Graphics/StaticFXG/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ </Category>
+ <Category name="Effects">
+ <Object id="31199" name="Read Me" iconPath="http://tourdeflex.adobe.com/samples/common/adobe.png" author="Holly Schinsky" tags="readme">
+ <Illustrations>
+ <Illustration name="Read Me" path="http://tourdeflex.adobe.com/flex4samples/Effects/effects-readme.html" autoExpand="true" openLinksExternal="true"/>
+ </Illustrations>
+ </Object>
+ <Object id="31202" name="AnimateProperties" author="David Flatley" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - AnimateProperties">
+ <Illustrations>
+ <Illustration name="AnimateProperties" path="http://tourdeflex.adobe.com/flex4samples/Effects/AnimateProperties/Sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/AnimateProperties/srcview/source/Sample.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/Effects/AnimateProperties/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=Animate" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31205" name="AnimateTransitionShader" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - AnimateTransitionShader - Bounce">
+ <Illustrations>
+ <Illustration name="AnimateTransitionShader" path="http://tourdeflex.adobe.com/flex4.0/AnimateShaderTransitionEffect/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/AnimateShaderTransitionEffect/srcview/source/sample.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4.0/AnimateShaderTransitionEffect/srcview/" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=AnimateTransitionShader" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31200" name="AnimateTransform" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - AnimateTransform - Bounce">
+ <Illustrations>
+ <Illustration name="AnimateTransform" path="http://tourdeflex.adobe.com/flex4samples/Effects/AnimateTransform-Bounce/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/AnimateTransform-Bounce/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/AnimateTransform-Bounce/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=AnimateTransform" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31250" name="Fade" author="Holly Schinsky" dateAdded="2009-10-20" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Fade Effect">
+ <Illustrations>
+ <Illustration name="Fade" path="http://tourdeflex.adobe.com/flex4samples/Effects/Fade/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/Fade/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/Fade/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/Effects/Fade/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=Fade" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31253" name="CrossFade" author="Holly Schinsky" dateAdded="2009-10-20" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Cross Fade Effect">
+ <Illustrations>
+ <Illustration name="CrossFade" path="http://tourdeflex.adobe.com/flex4samples/Effects/CrossFade/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/CrossFade/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/CrossFade/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4samples/Effects/CrossFade/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=CrossFade" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31256" name="Move3D" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Move3D Effect">
+ <Illustrations>
+ <Illustration name="Move3D" path="http://tourdeflex.adobe.com/flex4.0/Move3D/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Move3D/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Move3D/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4.0/Move3D/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=Move3D" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31300" name="Rotate3D" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Rotate3D">
+ <Illustrations>
+ <Illustration name="Rotate3D" path="http://tourdeflex.adobe.com/flex4samples/Effects/Rotate3D/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/Rotate3D/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/Rotate3D/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=Rotate3D" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31400" name="Scale3D" author="Holly Schinsky" dateAdded="2009-09-01" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Scale3D">
+ <Illustrations>
+ <Illustration name="Scale3D" path="http://tourdeflex.adobe.com/flex4samples/Effects/Scale3D/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/Scale3D/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4samples/Effects/Rotate3D/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=Scale3D" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="31405" name="Wipe" author="Holly Schinsky" dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/SharedAssets/effectIcon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Move3D Effect">
+ <Illustrations>
+ <Illustration name="Wipe" path="http://tourdeflex.adobe.com/flex4.0/Wipe/sample.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Wipe/srcview/source/sample.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Wipe/srcview/source/skins/TDFPanelSkin.mxml.html"/>
+ <Document name="Flex Project" path="http://tourdeflex.adobe.com/flex4.0/Wipe/srcview/index.html" openLinksExternal="true"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=spark/effects&topic=Wipe" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ </Category>
+ <Category name="Formatters">
+ <Object id="70440" name="Formatter" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/Formatter/formattericon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - Formatter">
+ <Illustrations>
+ <Illustration name="Formatter" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Formatter/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Formatter/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-Formatter/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/formatters&topic=Formatter" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70450" name="CurrencyFormatter" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/Formatter/formattericon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - CurrencyFormatter">
+ <Illustrations>
+ <Illustration name="CurrencyFormatter" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-CurrencyFormatter/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-CurrencyFormatter/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-CurrencyFormatter/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/formatters&topic=CurrencyFormatter" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70070" name="DateFormatter" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/Formatter/formattericon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - DateFormatter">
+ <Illustrations>
+ <Illustration name="DateFormatter" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateFormatter/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateFormatter/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-DateFormatter/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/formatters&topic=DateFormatter" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70460" name="NumberFormatter" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/Formatter/formattericon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - NumberFormatter">
+ <Illustrations>
+ <Illustration name="NumberFormatter" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-NumberFormatter/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-NumberFormatter/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-NumberFormatter/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/formatters&topic=NumberFormatter" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70470" name="PhoneFormatter" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/Formatter/formattericon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - PhoneFormatter">
+ <Illustrations>
+ <Illustration name="PhoneFormatter" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PhoneFormatter/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PhoneFormatter/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-PhoneFormatter/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/help.cfm?package=mx/formatters&topic=PhoneFormatter" openLinksExternal="true"/>
+ </Documents>
+ </Illustration>
+ </Illustrations>
+ </Object>
+ <Object id="70480" name="SwitchSymbolFormatter" author="Adobe Systems, Inc." dateAdded="2010-03-22" iconPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/Formatter/formattericon.png" tags="gumbo,flex4,flex 4" viewCount="0" description="Flex 4 - SwitchSymbolFormatter">
+ <Illustrations>
+ <Illustration name="SwitchSymbolFormatter" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SwitchSymbolFormatter/sample1.html">
+ <Documents>
+ <Document name="sample.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SwitchSymbolFormatter/srcview/source/sample1.mxml.html"/>
+ <Document name="TDFPanelSkin.mxml" path="http://tourdeflex.adobe.com/flex4.0/Sample-Adobe-SwitchSymbolFormatter/srcview/source/TDFGradientBackgroundSkin.mxml.html"/>
+ <Document name="Reference" path="http://tourdeflex.adobe.com/help/
<TRUNCATED>
[04/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/containers/VBoxExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/containers/VBoxExample.mxml b/TourDeFlex/TourDeFlex3/src/containers/VBoxExample.mxml
new file mode 100755
index 0000000..2468456
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/containers/VBoxExample.mxml
@@ -0,0 +1,39 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the VBox layout container. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Panel title="VBox Container Example" height="75%" width="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Label width="100%" color="blue"
+ text="A VBox container with vertically aligned children."/>
+
+ <mx:VBox borderStyle="solid" paddingTop="10" paddingBottom="10"
+ paddingLeft="10" paddingRight="10">
+
+ <mx:Button label="Button 1"/>
+ <mx:Button label="Button 2"/>
+ <mx:Button label="Button 3"/>
+ <mx:ComboBox/>
+
+ </mx:VBox>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/containers/VDividedBoxExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/containers/VDividedBoxExample.mxml b/TourDeFlex/TourDeFlex3/src/containers/VDividedBoxExample.mxml
new file mode 100755
index 0000000..61ab612
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/containers/VDividedBoxExample.mxml
@@ -0,0 +1,41 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the VDividedBox layout -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Panel title="VDividedBox Container Example" width="90%" height="90%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Text width="100%" color="blue"
+ text="Drag the divider up and down to resize the children."/>
+
+ <mx:VDividedBox width="100%" height="100%">
+
+ <mx:Canvas label="Canvas 1" width="100%" height="100%" backgroundColor="#FFFFCC">
+ <mx:Label text="Add components here" fontWeight="bold"/>
+ </mx:Canvas>
+
+ <mx:Canvas label="Canvas 2" width="100%" height="100%" backgroundColor="#99CCFF">
+ <mx:Label text="Add components here" fontWeight="bold"/>
+ </mx:Canvas>
+
+ </mx:VDividedBox>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/containers/ViewStackExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/containers/ViewStackExample.mxml b/TourDeFlex/TourDeFlex3/src/containers/ViewStackExample.mxml
new file mode 100755
index 0000000..366a980
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/containers/ViewStackExample.mxml
@@ -0,0 +1,57 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the ViewStack layout container. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Panel title="ViewStack Container Example" height="95%" width="95%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Text width="100%" color="blue"
+ text="Use the Button controls to change panels of the ViewStack container."/>
+
+ <mx:HBox borderStyle="solid" width="100%"
+ paddingTop="5" paddingLeft="5" paddingRight="5" paddingBottom="5">
+
+ <mx:Button id="searchButton" label="Search Panel"
+ click="myViewStack.selectedChild=search;"/>
+ <mx:Button id="cInfoButton" label="Customer Info Panel"
+ click="myViewStack.selectedChild=custInfo;"/>
+ <mx:Button id="aInfoButton" label="Account Panel"
+ click="myViewStack.selectedChild=accountInfo;"/>
+ </mx:HBox>
+
+ <!-- Define the ViewStack and the three child containers and have it
+ resize up to the size of the container for the buttons. -->
+ <mx:ViewStack id="myViewStack" borderStyle="solid" width="100%" height="80%">
+
+ <mx:Canvas id="search" backgroundColor="#FFFFCC" label="Search" width="100%" height="100%">
+ <mx:Label text="Search Screen" color="#000000"/>
+ </mx:Canvas>
+
+ <mx:Canvas id="custInfo" backgroundColor="#CCFFFF" label="Customer Info" width="100%" height="100%">
+ <mx:Label text="Customer Info" color="#000000"/>
+ </mx:Canvas>
+
+ <mx:Canvas id="accountInfo" backgroundColor="#FFCCFF" label="Account Info" width="100%" height="100%">
+ <mx:Label text="Account Info" color="#000000"/>
+ </mx:Canvas>
+ </mx:ViewStack>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/AdvancedDataGridExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/AdvancedDataGridExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/AdvancedDataGridExample.mxml
new file mode 100755
index 0000000..7ec634e
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/AdvancedDataGridExample.mxml
@@ -0,0 +1,76 @@
+<?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.
+ -->
+
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+ import mx.collections.ArrayCollection;
+
+ [Bindable]
+ private var dpFlat:ArrayCollection = new ArrayCollection([
+ {Region:"Southwest", Territory:"Arizona",
+ Territory_Rep:"Barbara Jennings", Actual:38865, Estimate:40000},
+ {Region:"Southwest", Territory:"Arizona",
+ Territory_Rep:"Dana Binn", Actual:29885, Estimate:30000},
+ {Region:"Southwest", Territory:"Central California",
+ Territory_Rep:"Joe Smith", Actual:29134, Estimate:30000},
+ {Region:"Southwest", Territory:"Nevada",
+ Territory_Rep:"Bethany Pittman", Actual:52888, Estimate:45000},
+ {Region:"Southwest", Territory:"Northern California",
+ Territory_Rep:"Lauren Ipsum", Actual:38805, Estimate:40000},
+ {Region:"Southwest", Territory:"Northern California",
+ Territory_Rep:"T.R. Smith", Actual:55498, Estimate:40000},
+ {Region:"Southwest", Territory:"Southern California",
+ Territory_Rep:"Alice Treu", Actual:44985, Estimate:45000},
+ {Region:"Southwest", Territory:"Southern California",
+ Territory_Rep:"Jane Grove", Actual:44913, Estimate:45000}
+ ]);
+ ]]>
+ </mx:Script>
+
+ <mx:Panel title="AdvancedDataGrid Control Example"
+ height="75%" width="75%" layout="horizontal"
+ paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
+
+ <mx:AdvancedDataGrid id="myADG"
+ width="100%" height="100%"
+ initialize="gc.refresh();">
+ <mx:dataProvider>
+ <mx:GroupingCollection id="gc" source="{dpFlat}">
+ <mx:grouping>
+ <mx:Grouping>
+ <mx:GroupingField name="Region"/>
+ <mx:GroupingField name="Territory"/>
+ </mx:Grouping>
+ </mx:grouping>
+ </mx:GroupingCollection>
+ </mx:dataProvider>
+
+ <mx:columns>
+ <mx:AdvancedDataGridColumn dataField="Region"/>
+ <mx:AdvancedDataGridColumn dataField="Territory"/>
+ <mx:AdvancedDataGridColumn dataField="Territory_Rep"
+ headerText="Territory Rep"/>
+ <mx:AdvancedDataGridColumn dataField="Actual"/>
+ <mx:AdvancedDataGridColumn dataField="Estimate"/>
+ </mx:columns>
+ </mx:AdvancedDataGrid>
+ </mx:Panel>
+
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/ButtonBarExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/ButtonBarExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/ButtonBarExample.mxml
new file mode 100755
index 0000000..3a6cf22
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/ButtonBarExample.mxml
@@ -0,0 +1,55 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the ButtonBar control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ import mx.events.ItemClickEvent;
+
+ // Event handler function to print a message
+ // describing the selected Button control.
+ private function clickHandler(event:ItemClickEvent):void {
+ myTA.text="Selected button index: " + String(event.index) +
+ "\n" + "Selected button label: " + event.label;
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:Panel title="ButtonBar Control Example" height="75%" width="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+
+ <mx:Label width="100%" color="blue"
+ text="Select a button in the ButtonBar control."/>
+
+ <mx:TextArea id="myTA" width="100%" height="100%"/>
+
+ <mx:ButtonBar itemClick="clickHandler(event);">
+ <mx:dataProvider>
+ <mx:Array>
+ <mx:String>Flash</mx:String>
+ <mx:String>Director</mx:String>
+ <mx:String>Dreamweaver</mx:String>
+ <mx:String>ColdFusion</mx:String>
+ </mx:Array>
+ </mx:dataProvider>
+ </mx:ButtonBar>
+ </mx:Panel>
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/ButtonExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/ButtonExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/ButtonExample.mxml
new file mode 100755
index 0000000..15eb958
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/ButtonExample.mxml
@@ -0,0 +1,63 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the Button control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ import flash.events.Event;
+
+ // Event handler function to print a message
+ // describing the selected Button control.
+ private function printMessage(event:Event):void {
+ message.text += event.target.label + " pressed" + "\n";
+ }
+
+ ]]>
+ </mx:Script>
+
+ <mx:Panel title="Button Control Example"
+ height="75%" width="75%" layout="horizontal"
+ paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
+
+ <mx:VBox>
+ <mx:Label width="100%" color="blue"
+ text="Select a Button control."/>
+
+ <!-- The button can contain an image, as in the "Button with Icon" button -->
+ <!-- The button can contain an image, as in the "Button with Icon" button -->
+ <mx:Button id="iconButton" icon="@Embed('assets/mm-icon.png')" label="Button with Icon"
+ paddingLeft="12" paddingRight="18" labelPlacement="right" color="#993300" click="printMessage(event);"/>
+
+ <!-- The size of the button and the label attributes can be customized -->
+ <mx:Button label="Customized Button" color="#993300" toggle="true" selected="true"
+ textAlign="left" fontStyle="italic" fontSize="13" width="{iconButton.width}"
+ click="printMessage(event);"/>
+
+ <!-- By default, the look and feel of the customized button is
+ similar to the Default Button. -->
+ <mx:Button label="Default Button" click="printMessage(event);"/>
+ </mx:VBox>
+
+ <mx:TextArea id="message" text="" editable="false" height="100%" width="100%"
+ color="#0000FF"/>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/CheckBoxExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/CheckBoxExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/CheckBoxExample.mxml
new file mode 100755
index 0000000..fca4622
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/CheckBoxExample.mxml
@@ -0,0 +1,76 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the CheckBox control -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ import mx.controls.Alert;
+
+ // This event handler adds and deletes items from the shopping cart.
+ private function modifyCart():void
+ {
+ cartItems.text = "";
+
+ if(milkCB.selected == true) {
+ cartItems.text += "milk" + '\n' ;
+ }
+
+ if(eggsCB.selected == true) {
+ cartItems.text += "eggs" + '\n';
+ }
+
+ if(breadCB.selected == true) {
+ cartItems.text +="bread" + '\n';
+ }
+ }
+
+ // This event handler opens the Alert control.
+ private function sendMessage():void
+ {
+ if(couponCB.selected == true) {
+ Alert.show('You will receive coupons.');
+ }
+ else {
+ Alert.show('You will not receive any coupons.');
+ }
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:Panel title="CheckBox Control Example"
+ height="75%" width="75%" layout="horizontal"
+ paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
+
+ <mx:VBox>
+ <mx:CheckBox id="milkCB" label="milk" click="modifyCart()"/>
+ <mx:CheckBox id="eggsCB" label="eggs" click="modifyCart()"/>
+ <mx:CheckBox id="breadCB" label="bread" click="modifyCart()"/>
+ </mx:VBox>
+
+ <mx:VBox>
+ <mx:Label text="Items in my cart "/>
+ <mx:TextArea id="cartItems" width="300" height="50" verticalScrollPolicy="off"/>
+ <!-- Event handler sendMessages() is used to handle event click -->
+ <mx:CheckBox id="couponCB" label="Send me coupons for items in my cart"
+ click="sendMessage()" selected="true" color="blue"/>
+ </mx:VBox>
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/ColorPickerExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/ColorPickerExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/ColorPickerExample.mxml
new file mode 100755
index 0000000..afc7561
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/ColorPickerExample.mxml
@@ -0,0 +1,32 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the ColorPicker control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Panel title="ColorPicker Control Example" height="75%" width="75%"
+ paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
+
+ <mx:Label width="100%" color="blue"
+ text="Select the background color of the VBox container."/>
+ <mx:ColorPicker id="cp" showTextField="true" selectedColor="0xFFFFFF"/>
+
+ <mx:VBox width="100%" height="100%" backgroundColor="{cp.selectedColor}" borderStyle="solid"/>
+ <mx:Label color="blue" text="selectedColor: 0x{cp.selectedColor.toString(16)}"/>
+ </mx:Panel>
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/DateChooserExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/DateChooserExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/DateChooserExample.mxml
new file mode 100755
index 0000000..432c1f3
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/DateChooserExample.mxml
@@ -0,0 +1,65 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate DateChooser control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ // Event handler function to write the selected
+ // date to the Label control.
+ private function displayDate(date:Date):void {
+ if (date == null)
+ selection.text = "Date selected: ";
+ else
+ selection.text = "Date selected: " + date.getFullYear().toString() +
+ '/' + (date.getMonth()+1).toString() + '/' + date.getDate();
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:DateFormatter id="df"/>
+
+ <mx:Panel title="DateChooser Control Example" height="75%" width="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10">
+
+ <mx:Label width="100%" color="blue"
+ text="Select a date in the DateChooser control."/>
+ <mx:Label width="100%" color="blue"
+ text="Select it again while holding down the Control key to clear it."/>
+
+ <mx:HBox horizontalGap="25">
+ <mx:VBox>
+ <mx:Label text="Simple DateChooser control."/>
+ <mx:DateChooser id="dateChooser1" yearNavigationEnabled="true"
+ change="displayDate(DateChooser(event.target).selectedDate)"/>
+ <mx:Label id="selection" color="blue" text="Date selected:"/>
+ </mx:VBox>
+
+ <mx:VBox>
+ <mx:Label text="Disable dates before June 1, 2006."/>
+ <mx:DateChooser id="dateChooser2" yearNavigationEnabled="true"
+ disabledRanges="{[ {rangeEnd: new Date(2006, 5, 1)} ]}"/>
+ <mx:Label color="blue" text="Date selected: {df.format(dateChooser2.selectedDate)}"/>
+ </mx:VBox>
+ </mx:HBox>
+
+ </mx:Panel>
+</mx:Application>
+
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/DateFieldExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/DateFieldExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/DateFieldExample.mxml
new file mode 100755
index 0000000..6528d53
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/DateFieldExample.mxml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate the DateField control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ // Event handler for the DateField change event.
+ private function dateChanged(date:Date):void {
+ if (date == null)
+ selection.text = "Date selected: ";
+ else
+ selection.text = "Date selected: " + date.getFullYear().toString() +
+ '/' + (date.getMonth()+1).toString() + '/' + date.getDate();
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:DateFormatter id="df"/>
+
+ <mx:Panel title="DateField Control Example" height="75%" width="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10">
+
+ <mx:Label width="100%" color="blue"
+ text="Select a date in the DateField control. Select it again to clear it."/>
+
+ <mx:Label text="Basic DateField:"/>
+ <mx:DateField id="dateField1" yearNavigationEnabled="true"
+ change="dateChanged(DateField(event.target).selectedDate)" />
+ <mx:Label id="selection" color="blue" text="Date selected:" />
+
+ <mx:Label text="Disable dates on or before June 1, 2006."/>
+ <mx:DateField id="dateField2" yearNavigationEnabled="true"
+ disabledRanges="{[ {rangeEnd: new Date(2006, 5, 1)} ]}" />
+ <mx:Label color="blue" text="Date selected: {df.format(dateField2.selectedDate)}"/>
+
+ </mx:Panel>
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/HScrollBarExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/HScrollBarExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/HScrollBarExample.mxml
new file mode 100755
index 0000000..1101928
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/HScrollBarExample.mxml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate the HScrollBar control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ import mx.events.ScrollEvent;
+
+ // Event handler function to display the scroll location
+ // as you move the scroll thumb.
+ private function myScroll(event:ScrollEvent):void
+ {
+ showPosition.text = "HScrollBar properties summary:" + '\n' +
+ "------------------------------------" + '\n' +
+ "Current scroll position: " + event.currentTarget.scrollPosition + '\n' +
+ "The maximum scroll position: " + event.currentTarget.maxScrollPosition + '\n' +
+ "The minimum scroll position: " + event.currentTarget.minScrollPosition ;
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:Panel id="panel" title="HScrollBar Control Example" height="75%" width="75%"
+ paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
+
+ <mx:Label width="100%" color="blue"
+ text="Click on the scroll bar to view its properties."/>
+
+ <mx:HScrollBar id="bar" width="100%"
+ minScrollPosition="0" maxScrollPosition="{panel.width - 20}"
+ lineScrollSize="50" pageScrollSize="100"
+ scroll="myScroll(event);"
+ repeatDelay="1000" repeatInterval="500" />
+
+ <mx:TextArea height="100%" width="100%" id="showPosition" color="blue" />
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/HorizontalListExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/HorizontalListExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/HorizontalListExample.mxml
new file mode 100755
index 0000000..5db1b2b
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/HorizontalListExample.mxml
@@ -0,0 +1,67 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the HorizontalList Control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ [Bindable]
+ [Embed(source="assets/Nokia_6630.png")]
+ public var phone1:Class;
+
+ [Bindable]
+ [Embed(source="assets/Nokia_6680.png")]
+ public var phone2:Class;
+
+ [Bindable]
+ [Embed(source="assets/Nokia_7610.png")]
+ public var phone3:Class;
+
+ [Bindable]
+ [Embed(source="assets/Nokia_lg_v_keypad.png")]
+ public var phone4:Class;
+
+ [Bindable]
+ [Embed(source="assets/Nokia_sm_v_keypad.png")]
+ public var phone5:Class;
+ ]]>
+ </mx:Script>
+
+ <mx:Panel title="HorizontalList Control Example" height="75%" width="75%"
+ paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
+
+ <mx:Label width="100%" color="blue"
+ text="A HorizontalList control displays items in a single row."/>
+
+ <mx:HorizontalList id="CameraSelection" height="250" columnCount="3" columnWidth="125">
+ <mx:dataProvider>
+ <mx:Array>
+ <mx:Object label="Nokia 6630" icon="{phone1}"/>
+ <mx:Object label="Nokia 6680" icon="{phone2}"/>
+ <mx:Object label="Nokia 7610" icon="{phone3}"/>
+ <mx:Object label="Nokia LGV" icon="{phone4}"/>
+ <mx:Object label="Nokia LMV" icon="{phone5}"/>
+ </mx:Array>
+ </mx:dataProvider>
+ </mx:HorizontalList>
+
+ </mx:Panel>
+</mx:Application>
+
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/LabelExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/LabelExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/LabelExample.mxml
new file mode 100755
index 0000000..84f2152
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/LabelExample.mxml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<!-- Simple example to demonstrate the Label control -->
+
+ <mx:Script>
+ <![CDATA[
+
+ private var htmlData:String="<br>This label displays <b>bold</b> and <i>italic</i> HTML-formatted text.";
+
+ // Event handler function to change the image size.
+ private function displayHTML():void {
+ simpleLabel.htmlText= htmlData;
+ }
+
+ // Event handler function to change the image size.
+ private function displayText():void {
+ simpleLabel.text="This Label displays plain text.";
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:Panel title="Label Control Example" height="75%" width="75%"
+ paddingTop="10" paddingLeft="10">
+
+ <mx:Label id="simpleLabel" text="This Label displays plain text."/>
+ <mx:Button id="Display" label="Click to display HTML Text" click="displayHTML();"/>
+ <mx:Button id="Clear" label="Click to display plain text" click="displayText();"/>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/LinkBarExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/LinkBarExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/LinkBarExample.mxml
new file mode 100755
index 0000000..9feea95
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/LinkBarExample.mxml
@@ -0,0 +1,48 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the LinkBar control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Panel title="LinkBar Control Example"
+ height="75%" width="75%" horizontalAlign="center"
+ paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
+
+ <mx:Text width="100%"
+ text="Select a link in the LinkBar control to set the active child of the ViewStack container."/>
+
+ <mx:LinkBar color="#0000FF" fontWeight="bold" dataProvider="{myViewStack}"/>
+
+ <!-- Define the ViewStack and the three child containers. -->
+ <mx:ViewStack id="myViewStack" borderStyle="solid" width="100%" height="80%">
+
+ <mx:Canvas id="search" backgroundColor="#FFFFCC" label="Search" width="100%" height="100%">
+ <mx:Label text="Search Screen" color="#000000"/>
+ </mx:Canvas>
+
+ <mx:Canvas id="custInfo" backgroundColor="#CCFFFF" label="Customer Info" width="100%" height="100%">
+ <mx:Label text="Customer Info" color="#000000"/>
+ </mx:Canvas>
+
+ <mx:Canvas id="accountInfo" backgroundColor="#FFCCFF" label="Account Info" width="100%" height="100%">
+ <mx:Label text="Account Info" color="#000000"/>
+ </mx:Canvas>
+ </mx:ViewStack>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/LinkButtonExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/LinkButtonExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/LinkButtonExample.mxml
new file mode 100755
index 0000000..5eb1102
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/LinkButtonExample.mxml
@@ -0,0 +1,38 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the LinkButton control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ import mx.controls.Alert;
+ </mx:Script>
+
+ <mx:Panel title="LinkButton Control Example"
+ height="75%" width="75%" horizontalAlign="center"
+ paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
+
+ <mx:Label width="100%"
+ text="Select the LinkButton control to open the Alert control."/>
+
+ <mx:LinkButton label="LinkButton control" color="#0000FF" fontWeight="bold"
+ click="Alert.show('LinkButton selected!');"/>
+
+ </mx:Panel>
+</mx:Application>
+
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/Local.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/Local.mxml b/TourDeFlex/TourDeFlex3/src/controls/Local.mxml
new file mode 100755
index 0000000..5b600f3
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/Local.mxml
@@ -0,0 +1,25 @@
+<?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.
+ -->
+
+<!-- Flex application loaded by the SWFLoader control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" height="75" width="350">
+
+ <mx:Label color="blue" text="The Label control of the embedded application."/>
+
+</mx:Application>
+
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/MenuBarExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/MenuBarExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/MenuBarExample.mxml
new file mode 100755
index 0000000..5e5e0e4
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/MenuBarExample.mxml
@@ -0,0 +1,77 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the MenuBar control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="initCollections();" >
+
+ <mx:Script>
+ <![CDATA[
+
+ import mx.events.MenuEvent;
+ import mx.controls.Alert;
+ import mx.collections.*;
+
+ [Bindable]
+ public var menuBarCollection:XMLListCollection;
+
+ private var menubarXML:XMLList =
+ <>
+ <menuitem label="Menu1" data="top">
+ <menuitem label="MenuItem 1-A" data="1A"/>
+ <menuitem label="MenuItem 1-B" data="1B"/>
+ </menuitem>
+ <menuitem label="Menu2" data="top">
+ <menuitem label="MenuItem 2-A" type="check" data="2A"/>
+ <menuitem type="separator"/>
+ <menuitem label="MenuItem 2-B" >
+ <menuitem label="SubMenuItem 3-A" type="radio"
+ groupName="one" data="3A"/>
+ <menuitem label="SubMenuItem 3-B" type="radio"
+ groupName="one" data="3B"/>
+ </menuitem>
+ </menuitem>
+ </>;
+
+ // Event handler to initialize the MenuBar control.
+ private function initCollections():void {
+ menuBarCollection = new XMLListCollection(menubarXML);
+ }
+
+ // Event handler for the MenuBar control's itemClick event.
+ private function menuHandler(event:MenuEvent):void {
+ // Don't open the Alert for a menu bar item that
+ // opens a popup submenu.
+ if (event.item.@data != "top") {
+ Alert.show("Label: " + event.item.@label + "\n" +
+ "Data: " + event.item.@data, "Clicked menu item");
+ }
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:Panel title="MenuBar Control Example" height="75%" width="75%"
+ paddingTop="10" paddingLeft="10">
+
+ <mx:Label width="100%" color="blue"
+ text="Select a menu item."/>
+
+ <mx:MenuBar labelField="@label" itemClick="menuHandler(event);"
+ dataProvider="{menuBarCollection}" />
+
+ </mx:Panel>
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/NumericStepperExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/NumericStepperExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/NumericStepperExample.mxml
new file mode 100755
index 0000000..e9cfff1
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/NumericStepperExample.mxml
@@ -0,0 +1,42 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the NumericStepper control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Panel title="NumericStepper Control Example" height="75%" width="75%"
+ paddingTop="10" paddingLeft="10">
+
+ <mx:Text width="100%" color="blue"
+ text="Default NumericStepper control with a minimum=0, maximum=10, and stepSize=1."/>
+ <mx:NumericStepper/>
+
+ <mx:Text width="100%" color="blue"
+ text="NumericStepper control with a minimum=10, maximum=40, stepSize=0.01, and starting value of 20."/>
+
+ <mx:NumericStepper id="ns"
+ minimum="10.00" maximum="40.00"
+ stepSize="0.01"
+ value="20.00"
+ width="65"/>
+
+ <mx:Label color="blue" text="You selected {ns.value}"/>
+
+ </mx:Panel>
+</mx:Application>
+
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/OLAPDataGridExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/OLAPDataGridExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/OLAPDataGridExample.mxml
new file mode 100755
index 0000000..926ad6a
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/OLAPDataGridExample.mxml
@@ -0,0 +1,214 @@
+<?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.
+ -->
+
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
+ creationComplete="creationCompleteHandler();">
+
+ <mx:Script>
+ <![CDATA[
+ import mx.rpc.AsyncResponder;
+ import mx.rpc.AsyncToken;
+ import mx.olap.OLAPQuery;
+ import mx.olap.OLAPSet;
+ import mx.olap.IOLAPQuery;
+ import mx.olap.IOLAPQueryAxis;
+ import mx.olap.IOLAPCube;
+ import mx.olap.OLAPResult;
+ import mx.events.CubeEvent;
+ import mx.controls.Alert;
+ import mx.collections.ArrayCollection;
+
+
+ //
+ // Format of Objects in the ArrayCollection:
+ //
+ // data:Object = {
+ // customer:"AAA",
+ // product:"ColdFusion",
+ // quarter:"Q1"
+ // revenue: "100.00"
+ // }
+ //
+
+ [Bindable]
+ private var flatData:ArrayCollection = new ArrayCollection(
+ [
+ {customer:"AAA", product:"ColdFusion", quarter:"Q1", revenue:210, cost:25},
+ {customer:"AAA", product:"Flex", quarter:"Q2", revenue:210, cost:25},
+ {customer:"AAA", product:"Dreamweaver", quarter:"Q3", revenue:250, cost:125},
+ {customer:"AAA", product:"Flash", quarter:"Q4", revenue:430, cost:75},
+
+ {customer:"BBB", product:"ColdFusion", quarter:"Q2", revenue:125, cost:20},
+ {customer:"BBB", product:"Flex", quarter:"Q3", revenue:210, cost:20},
+ {customer:"BBB", product:"Dreamweaver", quarter:"Q4", revenue:320, cost:120},
+ {customer:"BBB", product:"Flash", quarter:"Q1", revenue:280, cost:70},
+
+ {customer:"CCC", product:"ColdFusion", quarter:"Q3", revenue:375, cost:120},
+ {customer:"CCC", product:"Flex", quarter:"Q4", revenue:430, cost:120},
+ {customer:"CCC", product:"Dreamweaver", quarter:"Q1", revenue:470, cost:220},
+ {customer:"CCC", product:"Flash", quarter:"Q2", revenue:570, cost:170},
+
+ {customer:"AAA", product:"ColdFusion", quarter:"Q4", revenue:215, cost:90},
+ {customer:"AAA", product:"Flex", quarter:"Q1", revenue:210, cost:90},
+ {customer:"AAA", product:"Dreamweaver", quarter:"Q2", revenue:175, cost:190},
+ {customer:"AAA", product:"Flash", quarter:"Q3", revenue:670, cost:75},
+
+ {customer:"BBB", product:"ColdFusion", quarter:"Q1", revenue:175, cost:20},
+ {customer:"BBB", product:"Flex", quarter:"Q2", revenue:210, cost:20},
+ {customer:"BBB", product:"Dreamweaver",quarter:"Q3", revenue:120, cost:120},
+ {customer:"BBB", product:"Flash", quarter:"Q4", revenue:310, cost:70},
+
+ {customer:"CCC", product:"ColdFusion", quarter:"Q1", revenue:385, cost:120},
+ {customer:"CCC", product:"Flex", quarter:"Q2", revenue:340, cost:120},
+ {customer:"CCC", product:"Dreamweaver", quarter:"Q3", revenue:470, cost:220},
+ {customer:"CCC", product:"Flash", quarter:"Q4", revenue:270, cost:170},
+
+ {customer:"AAA", product:"ColdFusion", quarter:"Q1", revenue:100, cost:25},
+ {customer:"AAA", product:"Flex", quarter:"Q2", revenue:150, cost:25},
+ {customer:"AAA", product:"Dreamweaver", quarter:"Q3", revenue:200, cost:125},
+ {customer:"AAA", product:"Flash", quarter:"Q4", revenue:300, cost:75},
+
+ {customer:"BBB", product:"ColdFusion", quarter:"Q2", revenue:175, cost:20},
+ {customer:"BBB", product:"Flex", quarter:"Q3", revenue:100, cost:20},
+ {customer:"BBB", product:"Dreamweaver", quarter:"Q4", revenue:270, cost:120},
+ {customer:"BBB", product:"Flash", quarter:"Q1", revenue:370, cost:70},
+
+ {customer:"CCC", product:"ColdFusion", quarter:"Q3", revenue:410, cost:120},
+ {customer:"CCC", product:"Flex", quarter:"Q4", revenue:300, cost:320},
+ {customer:"CCC", product:"Dreamweaver", quarter:"Q1", revenue:510, cost:220},
+ {customer:"CCC", product:"Flash", quarter:"Q2", revenue:620, cost:170},
+
+ {customer:"AAA", product:"ColdFusion", quarter:"Q4", revenue:215, cost:90},
+ {customer:"AAA", product:"Flex", quarter:"Q1", revenue:210, cost:90},
+ {customer:"AAA", product:"Dreamweaver", quarter:"Q2", revenue:175, cost:190},
+ {customer:"AAA", product:"Flash", quarter:"Q3", revenue:420, cost:75},
+
+ {customer:"BBB", product:"ColdFusion", quarter:"Q1", revenue:240, cost:20},
+ {customer:"BBB", product:"Flex", quarter:"Q2", revenue:100, cost:20},
+ {customer:"BBB", product:"Dreamweaver", quarter:"Q3", revenue:270, cost:120},
+ {customer:"BBB", product:"Flash", quarter:"Q4", revenue:370, cost:70},
+
+ {customer:"CCC", product:"ColdFusion", quarter:"Q1", revenue:375, cost:120},
+ {customer:"CCC", product:"Flex", quarter:"Q2", revenue:420, cost:120},
+ {customer:"CCC", product:"Dreamweaver", quarter:"Q3", revenue:680, cost:220},
+ {customer:"CCC", product:"Flash", quarter:"Q4", revenue:570, cost:170}
+ ]);
+
+ private function creationCompleteHandler():void {
+ // You must initialize the cube before you
+ // can execute a query on it.
+ myMXMLCube.refresh();
+ }
+
+ // Create the OLAP query.
+ private function getQuery(cube:IOLAPCube):IOLAPQuery {
+ // Create an instance of OLAPQuery to represent the query.
+ var query:OLAPQuery = new OLAPQuery;
+
+ // Get the row axis from the query instance.
+ var rowQueryAxis:IOLAPQueryAxis =
+ query.getAxis(OLAPQuery.ROW_AXIS);
+ // Create an OLAPSet instance to configure the axis.
+ var productSet:OLAPSet = new OLAPSet;
+ // Add the Product to the row to aggregate data
+ // by the Product dimension.
+ productSet.addElements(
+ cube.findDimension("ProductDim").findAttribute("Product").children);
+ // Add the OLAPSet instance to the axis.
+ rowQueryAxis.addSet(productSet);
+
+ // Get the column axis from the query instance, and configure it
+ // to aggregate the columns by the Quarter dimension.
+ var colQueryAxis:IOLAPQueryAxis =
+ query.getAxis(OLAPQuery.COLUMN_AXIS);
+ var quarterSet:OLAPSet= new OLAPSet;
+ quarterSet.addElements(
+ cube.findDimension("QuarterDim").findAttribute("Quarter").children);
+ colQueryAxis.addSet(quarterSet);
+
+ return query;
+ }
+
+ // Event handler to execute the OLAP query
+ // after the cube completes initialization.
+ private function runQuery(event:CubeEvent):void {
+ // Get cube.
+ var cube:IOLAPCube = IOLAPCube(event.currentTarget);
+ // Create a query instance.
+ var query:IOLAPQuery = getQuery(cube);
+ // Execute the query.
+ var token:AsyncToken = cube.execute(query);
+ // Setup handlers for the query results.
+ token.addResponder(new AsyncResponder(showResult, showFault));
+ }
+
+ // Handle a query fault.
+ private function showFault(result:Object, token:Object):void {
+ Alert.show("Error in query.");
+ }
+
+ // Handle a successful query by passing the query results to
+ // the OLAPDataGrid control..
+ private function showResult(result:Object, token:Object):void {
+ if (!result) {
+ Alert.show("No results from query.");
+ return;
+ }
+ myOLAPDG.dataProvider= result as OLAPResult;
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:OLAPCube name="FlatSchemaCube"
+ dataProvider="{flatData}"
+ id="myMXMLCube"
+ complete="runQuery(event);">
+
+ <mx:OLAPDimension name="CustomerDim">
+ <mx:OLAPAttribute name="Customer" dataField="customer"/>
+ <mx:OLAPHierarchy name="CustomerHier" hasAll="true">
+ <mx:OLAPLevel attributeName="Customer"/>
+ </mx:OLAPHierarchy>
+ </mx:OLAPDimension>
+
+ <mx:OLAPDimension name="ProductDim">
+ <mx:OLAPAttribute name="Product" dataField="product"/>
+ <mx:OLAPHierarchy name="ProductHier" hasAll="true">
+ <mx:OLAPLevel attributeName="Product"/>
+ </mx:OLAPHierarchy>
+ </mx:OLAPDimension>
+
+ <mx:OLAPDimension name="QuarterDim">
+ <mx:OLAPAttribute name="Quarter" dataField="quarter"/>
+ <mx:OLAPHierarchy name="QuarterHier" hasAll="true">
+ <mx:OLAPLevel attributeName="Quarter"/>
+ </mx:OLAPHierarchy>
+ </mx:OLAPDimension>
+
+ <mx:OLAPMeasure name="Revenue"
+ dataField="revenue"
+ aggregator="SUM"/>
+ </mx:OLAPCube>
+
+ <mx:Panel title="OLAPCube Control Example"
+ height="75%" width="75%" layout="horizontal"
+ paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
+
+ <mx:OLAPDataGrid id="myOLAPDG" width="100%" height="100%"/>
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/PopUpButtonExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/PopUpButtonExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/PopUpButtonExample.mxml
new file mode 100755
index 0000000..71ae054
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/PopUpButtonExample.mxml
@@ -0,0 +1,65 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the PopUpButton control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ import mx.controls.*;
+ import mx.events.*;
+
+ private var myMenu:Menu;
+
+ // Initialize the Menu control, and specify it as the pop up object
+ // of the PopUpButton control.
+ private function initMenu():void {
+ myMenu = new Menu();
+ var dp:Object = [{label: "New Folder"}, {label: "Sent Items"}, {label: "Inbox"}];
+ myMenu.dataProvider = dp;
+ myMenu.selectedIndex = 0;
+ myMenu.addEventListener("itemClick", itemClickHandler);
+ popB.popUp = myMenu;
+ popB.label = "Put in: " + myMenu.dataProvider[myMenu.selectedIndex].label;
+ }
+
+ // Define the event listener for the Menu control's itemClick event.
+ private function itemClickHandler(event:MenuEvent):void {
+ var label:String = event.item.label;
+ popTypeB.text=String("Moved to " + label);
+ popB.label = "Put in: " + label;
+ popB.close();
+ myMenu.selectedIndex = event.index;
+ }
+
+ ]]>
+ </mx:Script>
+
+ <mx:Panel title="PopUpButton Control Example" height="75%" width="75%"
+ paddingTop="10" paddingBottom="10" paddingRight="10" paddingLeft="10">
+
+ <mx:Label width="100%" color="blue"
+ text="Button label contains the name of the last selected menu item." />
+ <mx:PopUpButton id="popB" label="Edit" creationComplete="initMenu();" width="135" />
+
+ <mx:Spacer height="50" />
+ <mx:TextInput id="popTypeB" />
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/PopUpButtonMenuExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/PopUpButtonMenuExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/PopUpButtonMenuExample.mxml
new file mode 100755
index 0000000..caf6ce7
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/PopUpButtonMenuExample.mxml
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<!-- PopUpMenuButton control example. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+ import mx.events.*;
+ import mx.controls.*;
+
+ //Event handler, invoked when you select from the menu.
+ public function itemClickHandler(event:MenuEvent):void {
+ Alert.show("Menu label: " + event.label
+ + " \n menu item index within parent menu: " + event.index);
+ }
+ ]]>
+ </mx:Script>
+
+ <!-- A an data provider in E4X format. -->
+ <mx:XMLList id="treeDP2">
+ <node label="Inbox"/>
+ <node label="Calendar"/>
+ <node label="Deleted Items"/>
+ </mx:XMLList>
+
+ <mx:Panel title="PopUpMenuButton Control Example" height="100%" width="100%"
+ paddingTop="10" paddingLeft="10" paddingRight="10">
+
+ <mx:Label width="100%" color="blue"
+ text="Click the down arrow to open the menu."/>
+
+ <mx:PopUpMenuButton id="p2"
+ dataProvider="{treeDP2}"
+ labelField="@label"
+ itemClick="itemClickHandler(event);"/>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/RadioButtonExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/RadioButtonExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/RadioButtonExample.mxml
new file mode 100755
index 0000000..58ed479
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/RadioButtonExample.mxml
@@ -0,0 +1,41 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate RadioButton control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ import mx.controls.Alert;
+ </mx:Script>
+
+ <mx:Panel title="RadioButton Control Example" height="75%" width="75%"
+ paddingTop="10" paddingLeft="10" paddingRight="10">
+
+ <mx:Label width="100%" color="blue"
+ text="What year were women first allowed to compete in the Boston Marathon?"/>
+
+ <mx:RadioButton groupName="year" id="option1" label="1942"/>
+ <mx:RadioButton groupName="year" id="option2" label="1952"/>
+ <mx:RadioButton groupName="year" id="option3" label="1962"/>
+ <mx:RadioButton groupName="year" id="option4" label="1972"/>
+
+ <mx:Button label="Check Answer"
+ click="Alert.show(option4.selected?'Correct Answer!':'Wrong Answer', 'Result')"/>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/RadioButtonGroupExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/RadioButtonGroupExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/RadioButtonGroupExample.mxml
new file mode 100755
index 0000000..9d7d22c
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/RadioButtonGroupExample.mxml
@@ -0,0 +1,61 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate RadioButtonGroup control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ import mx.controls.Alert;
+ import mx.events.ItemClickEvent;
+
+ // Event handler function to display the selected button
+ // in an Alert control.
+ private function handleCard(event:ItemClickEvent):void {
+ if (event.currentTarget.selectedValue == "AmEx") {
+ Alert.show("You selected American Express")
+ }
+ else {
+ if (event.currentTarget.selectedValue == "MC") {
+ Alert.show("You selected MasterCard")
+ }
+ else {
+ Alert.show("You selected Visa")
+ }
+ }
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:Panel title="RadioButtonGroup Control Example" height="75%" width="75%"
+ paddingTop="10" paddingLeft="10">
+
+ <mx:Label width="100%" color="blue"
+ text="Select a type of credit card."/>
+
+ <mx:RadioButtonGroup id="cardtype" itemClick="handleCard(event);"/>
+ <mx:RadioButton groupName="cardtype" id="americanExpress" value="AmEx"
+ label="American Express" width="150" />
+ <mx:RadioButton groupName="cardtype" id="masterCard" value="MC"
+ label="MasterCard" width="150" />
+ <mx:RadioButton groupName="cardtype" id="visa" value="Visa"
+ label="Visa" width="150" />
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/RichTextEditorExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/RichTextEditorExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/RichTextEditorExample.mxml
new file mode 100755
index 0000000..5196c19
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/RichTextEditorExample.mxml
@@ -0,0 +1,32 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the RichTextEditor control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
+ horizontalAlign="center" verticalAlign="middle">
+
+ <mx:RichTextEditor id="rte" title="RichTextEditor" height="75%" text="Enter text into the RichTextEditor control, then click a button to display your text as plain text, or as HTML-formatted text."/>
+
+ <mx:TextArea id="rteText" width="80%" height="25%"/>
+
+ <mx:HBox>
+ <mx:Button label="Show Plain Text" click="rteText.text=rte.text;"/>
+ <mx:Button label="Show HTML Markup" click="rteText.text=rte.htmlText;"/>
+ </mx:HBox>
+
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/SimpleAlert.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/SimpleAlert.mxml b/TourDeFlex/TourDeFlex3/src/controls/SimpleAlert.mxml
new file mode 100755
index 0000000..b140682
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/SimpleAlert.mxml
@@ -0,0 +1,74 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the Alert control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+ import mx.controls.Alert;
+ import mx.events.CloseEvent;
+
+ // Event handler function uses a static method to show
+ // a pop-up window with the title, message, and requested buttons.
+ private function clickHandler(event:Event):void {
+ Alert.show("Do you want to save your changes?", "Save Changes", 3, this, alertClickHandler);
+ }
+
+ // Event handler function for displaying the selected Alert button.
+ private function alertClickHandler(event:CloseEvent):void {
+ if (event.detail==Alert.YES)
+ status.text="You answered Yes";
+ else
+ status.text="You answered No";
+ }
+
+ // Event handler function changes the default Button labels and sets the
+ // Button widths. If you later use an Alert with the default Buttons,
+ // you must reset these values.
+ private function secondClickHandler(event:Event):void {
+ Alert.buttonWidth = 100;
+ Alert.yesLabel = "Magenta";
+ Alert.noLabel = "Blue";
+ Alert.cancelLabel = "Green";
+
+ Alert.show("Select a color:","Color Selection",1|2|8,this);
+
+ // Set the labels back to normal:
+ Alert.yesLabel = "Yes";
+ Alert.noLabel = "No";
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:Panel title="Alert Control Example" width="75%" horizontalAlign="center" paddingTop="10">
+ <mx:Text width="100%" color="blue" textAlign="center"
+ text="Click the button below to display a simple Alert window."/>
+ <mx:Button label="Click Me" click="Alert.show('Hello World!', 'Message');"/>
+
+ <mx:Text width="100%" color="blue" textAlign="center"
+ text="Click the button below to display an Alert window and capture the button pressed by the user."/>
+ <mx:Button label="Click Me" click="clickHandler(event);"/>
+ <mx:Label id="status" fontWeight="bold"/>
+
+ <mx:Text width="100%" color="blue" textAlign="center"
+ text="Click the button below to display an Alert window that uses custom Button labels."/>
+ <mx:Button label="Click Me" click="secondClickHandler(event);"/>
+ </mx:Panel>
+
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/SimpleComboBox.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/SimpleComboBox.mxml b/TourDeFlex/TourDeFlex3/src/controls/SimpleComboBox.mxml
new file mode 100755
index 0000000..1ff2fde
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/SimpleComboBox.mxml
@@ -0,0 +1,53 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the ComboBox control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Script>
+ <![CDATA[
+ import mx.collections.ArrayCollection;
+
+ [Bindable]
+ public var cards:ArrayCollection = new ArrayCollection(
+ [ {label:"Visa", data:1},
+ {label:"MasterCard", data:2},
+ {label:"American Express", data:3} ]);
+
+ private function closeHandler(event:Event):void {
+ myLabel.text = "You selected: " + ComboBox(event.target).selectedItem.label;
+ myData.text = "Data: " + ComboBox(event.target).selectedItem.data;
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:Panel title="ComboBox Control Example"
+ height="75%" width="75%" layout="horizontal"
+ paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
+
+ <mx:ComboBox dataProvider="{cards}" width="150"
+ close="closeHandler(event);"/>
+
+ <mx:VBox width="250">
+ <mx:Text width="200" color="blue" text="Select a type of credit card."/>
+ <mx:Label id="myLabel" text="You selected:"/>
+ <mx:Label id="myData" text="Data:"/>
+ </mx:VBox>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/SimpleDataGrid.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/SimpleDataGrid.mxml b/TourDeFlex/TourDeFlex3/src/controls/SimpleDataGrid.mxml
new file mode 100755
index 0000000..29db6be
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/SimpleDataGrid.mxml
@@ -0,0 +1,76 @@
+<?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.
+ -->
+
+<!-- DataGrid control example. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:XMLList id="employees">
+ <employee>
+ <name>Christina Coenraets</name>
+ <phone>555-219-2270</phone>
+ <email>ccoenraets@fictitious.com</email>
+ <active>true</active>
+ </employee>
+ <employee>
+ <name>Joanne Wall</name>
+ <phone>555-219-2012</phone>
+ <email>jwall@fictitious.com</email>
+ <active>true</active>
+ </employee>
+ <employee>
+ <name>Maurice Smith</name>
+ <phone>555-219-2012</phone>
+ <email>maurice@fictitious.com</email>
+ <active>false</active>
+ </employee>
+ <employee>
+ <name>Mary Jones</name>
+ <phone>555-219-2000</phone>
+ <email>mjones@fictitious.com</email>
+ <active>true</active>
+ </employee>
+ </mx:XMLList>
+
+ <mx:Panel title="DataGrid Control Example" height="100%" width="100%"
+ paddingTop="10" paddingLeft="10" paddingRight="10">
+
+ <mx:Label width="100%" color="blue"
+ text="Select a row in the DataGrid control."/>
+
+ <mx:DataGrid id="dg" width="100%" height="100%" rowCount="5" dataProvider="{employees}">
+ <mx:columns>
+ <mx:DataGridColumn dataField="name" headerText="Name"/>
+ <mx:DataGridColumn dataField="phone" headerText="Phone"/>
+ <mx:DataGridColumn dataField="email" headerText="Email"/>
+ </mx:columns>
+ </mx:DataGrid>
+
+ <mx:Form width="100%" height="100%">
+ <mx:FormItem label="Name">
+ <mx:Label text="{dg.selectedItem.name}"/>
+ </mx:FormItem>
+ <mx:FormItem label="Email">
+ <mx:Label text="{dg.selectedItem.email}"/>
+ </mx:FormItem>
+ <mx:FormItem label="Phone">
+ <mx:Label text="{dg.selectedItem.phone}"/>
+ </mx:FormItem>
+ </mx:Form>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/SimpleHRule.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/SimpleHRule.mxml b/TourDeFlex/TourDeFlex3/src/controls/SimpleHRule.mxml
new file mode 100755
index 0000000..da9c97d
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/SimpleHRule.mxml
@@ -0,0 +1,33 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the HRule control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:WipeLeft id="myWL"/>
+
+ <mx:Panel title="HRule Control Example" id="myPanel"
+ paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
+
+ <mx:HRule rollOverEffect="{myWL}" width="100%" strokeWidth="1" strokeColor="red"/>
+ <mx:Label width="100%" color="blue"
+ text="Move mouse over HorizontalRule control to redraw it."/>
+
+ </mx:Panel>
+</mx:Application>
+
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex3/src/controls/SimpleImage.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/SimpleImage.mxml b/TourDeFlex/TourDeFlex3/src/controls/SimpleImage.mxml
new file mode 100755
index 0000000..4c827f2
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/controls/SimpleImage.mxml
@@ -0,0 +1,30 @@
+<?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.
+ -->
+
+<!-- Simple example to demonstrate the Image control. -->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Panel id="myPanel" title="Image Control Example"
+ height="75%" width="75%" horizontalAlign="center"
+ paddingTop="10" paddingLeft="10">
+
+ <mx:Label color="blue" text="Image embedded in the application."/>
+ <mx:Image source="@Embed('assets/Nokia_6630.png')"/>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
[26/42] TourDeFlex donation from Adobe Systems Inc
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/SourceTree.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/SourceTree.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/SourceTree.html
new file mode 100644
index 0000000..80281a9
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/SourceTree.html
@@ -0,0 +1,129 @@
+<!--
+ 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.
+-->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!-- saved from url=(0014)about:internet -->
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
+ <!--
+ Smart developers always View Source.
+
+ This application was built using Adobe Flex, an open source framework
+ for building rich Internet applications that get delivered via the
+ Flash Player or to desktops via Adobe AIR.
+
+ Learn more about Flex at http://flex.org
+ // -->
+ <head>
+ <title></title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <!-- Include CSS to eliminate any default margins/padding and set the height of the html element and
+ the body element to 100%, because Firefox, or any Gecko based browser, interprets percentage as
+ the percentage of the height of its parent container, which has to be set explicitly. Initially,
+ don't display flashContent div so it won't show if JavaScript disabled.
+ -->
+ <style type="text/css" media="screen">
+ html, body { height:100%; }
+ body { margin:0; padding:0; overflow:auto; text-align:center;
+ background-color: #ffffff; }
+ #flashContent { display:none; }
+ </style>
+
+ <!-- Enable Browser History by replacing useBrowserHistory tokens with two hyphens -->
+ <!-- BEGIN Browser History required section >
+ <link rel="stylesheet" type="text/css" href="history/history.css" />
+ <script type="text/javascript" src="history/history.js"></script>
+ <! END Browser History required section -->
+
+ <script type="text/javascript" src="swfobject.js"></script>
+ <script type="text/javascript">
+ function loadIntoMain(url) {
+ parent.mainFrame.location.href = url;
+ }
+
+ function openUrlWindow(url) {
+ window.top.location = url;
+ }
+
+ <!-- For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection. -->
+ var swfVersionStr = "10.0.0";
+ <!-- To use express install, set to playerProductInstall.swf, otherwise the empty string. -->
+ var xiSwfUrlStr = "playerProductInstall.swf";
+ var flashvars = {};
+ var params = {};
+ params.quality = "high";
+ params.bgcolor = "#ffffff";
+ params.allowscriptaccess = "sameDomain";
+ params.allowfullscreen = "true";
+ var attributes = {};
+ attributes.id = "SourceTree";
+ attributes.name = "SourceTree";
+ attributes.align = "middle";
+ swfobject.embedSWF(
+ "SourceTree.swf", "flashContent",
+ "100%", "100%",
+ swfVersionStr, xiSwfUrlStr,
+ flashvars, params, attributes);
+ <!-- JavaScript enabled so display the flashContent div in case it is not replaced with a swf object. -->
+ swfobject.createCSS("#flashContent", "display:block;text-align:left;");
+ </script>
+ </head>
+ <body>
+ <!-- SWFObject's dynamic embed method replaces this alternative HTML content with Flash content when enough
+ JavaScript and Flash plug-in support is available. The div is initially hidden so that it doesn't show
+ when JavaScript is disabled.
+ -->
+ <div id="flashContent">
+ <p>
+ To view this page ensure that Adobe Flash Player version
+ 10.0.0 or greater is installed.
+ </p>
+ <script type="text/javascript">
+ var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://");
+ document.write("<a href='http://www.adobe.com/go/getflashplayer'><img src='"
+ + pageHost + "www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' /></a>" );
+ </script>
+ </div>
+
+ <noscript>
+ <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%" id="SourceTree">
+ <param name="movie" value="SourceTree.swf" />
+ <param name="quality" value="high" />
+ <param name="bgcolor" value="#ffffff" />
+ <param name="allowScriptAccess" value="sameDomain" />
+ <param name="allowFullScreen" value="true" />
+ <!--[if !IE]>-->
+ <object type="application/x-shockwave-flash" data="SourceTree.swf" width="100%" height="100%">
+ <param name="quality" value="high" />
+ <param name="bgcolor" value="#ffffff" />
+ <param name="allowScriptAccess" value="sameDomain" />
+ <param name="allowFullScreen" value="true" />
+ <!--<![endif]-->
+ <!--[if gte IE 6]>-->
+ <p>
+ Either scripts and active content are not permitted to run or Adobe Flash Player version
+ 10.0.0 or greater is not installed.
+ </p>
+ <!--<![endif]-->
+ <a href="http://www.adobe.com/go/getflashplayer">
+ <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash Player" />
+ </a>
+ <!--[if !IE]>-->
+ </object>
+ <!--<![endif]-->
+ </object>
+ </noscript>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/index.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/index.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/index.html
new file mode 100644
index 0000000..010517f
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/index.html
@@ -0,0 +1,32 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Source of Sample-AIR2-DNS</title>
+</head>
+<frameset cols="235,*" border="2" framespacing="1">
+ <frame src="SourceTree.html" name="leftFrame" scrolling="NO">
+ <frame src="source/sample.mxml.html" name="mainFrame">
+</frameset>
+<noframes>
+ <body>
+ </body>
+</noframes>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/source/sample-app.xml.txt
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/source/sample-app.xml.txt b/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/source/sample-app.xml.txt
new file mode 100644
index 0000000..f9eed35
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/source/sample-app.xml.txt
@@ -0,0 +1,156 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0beta2
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>main</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>main</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>main</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <version>v1</version>
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
+ <!-- <publisherID></publisherID> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width in pixels. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height in pixels. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/source/sample.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/source/sample.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/source/sample.mxml.html
new file mode 100644
index 0000000..b47c3eb
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/source/sample.mxml.html
@@ -0,0 +1,134 @@
+<!--
+ 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.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>sample.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLComponent_Tag"><s:WindowedApplication</span><span class="MXMLDefault_Text"> xmlns:fx="</span><span class="MXMLString">http://ns.adobe.com/mxml/2009</span><span class="MXMLDefault_Text">"
+ xmlns:s="</span><span class="MXMLString">library://ns.adobe.com/flex/spark</span><span class="MXMLDefault_Text">"
+ xmlns:mx="</span><span class="MXMLString">library://ns.adobe.com/flex/mx</span><span class="MXMLDefault_Text">"
+ styleName="</span><span class="MXMLString">plain</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+
+ <span class="MXMLComment"><!--</span><span class="MXMLComment"> Based on sample here: http://www.insideria.com/2009/10/air-2-enhancements-complete-ov.html </span><span class="MXMLComment">--></span>
+
+ <span class="MXMLSpecial_Tag"><fx:Script></span>
+ <![CDATA[
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">events</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">DNSResolverEvent</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">net</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">dns</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ARecord</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">net</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">dns</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">DNSResolver</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">net</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">dns</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">MXRecord</span>;
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">net</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">dns</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">PTRRecord</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">controls</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">Alert</span>;
+
+ <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">skins</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">TDFPanelSkin</span>;
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">resolver</span>:<span class="ActionScriptDefault_Text">DNSResolver</span>;
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">startLookup</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">host</span>:<span class="ActionScriptDefault_Text">String</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">isARecordSelected</span>:<span class="ActionScriptDefault_Text">Boolean</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">isMXRecordSelected</span>:<span class="ActionScriptDefault_Text">Boolean</span> <span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">this</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">output</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">""</span>;
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">isARecordSelected</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptDefault_Text">lookup</span><span class="ActionScriptBracket/Brace">(</span> <span class="ActionScriptDefault_Text">host</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">"."</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">ARecord</span> <span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">isMXRecordSelected</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptDefault_Text">lookup</span><span class="ActionScriptBracket/Brace">(</span> <span class="ActionScriptDefault_Text">host</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">MXRecord</span> <span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">reverseLookup</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">host</span>:<span class="ActionScriptDefault_Text">String</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">recordType</span>:<span class="ActionScriptDefault_Text">Class</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">output</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">""</span>;
+ <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Record Type "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">recordType</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ipAddress</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">!=</span> <span class="ActionScriptReserved">null</span> <span class="ActionScriptOperator">&&</span> <span class="ActionScriptDefault_Text">ipAddress</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">length</span> <span class="ActionScriptOperator">></span>0<span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptDefault_Text">lookup</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">host</span><span class="ActionScriptOperator">,</span><span class="ActionScriptDefault_Text">recordType</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">else</span> <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Please enter a valid IP address."</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">protected</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">lookup</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">host</span>:<span class="ActionScriptDefault_Text">String</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">recordType</span>:<span class="ActionScriptDefault_Text">Class</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">resolver</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">DNSResolver</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">resolver</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span> <span class="ActionScriptDefault_Text">DNSResolverEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">LOOKUP</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">lookupComplete</span> <span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">resolver</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">addEventListener</span><span class="ActionScriptBracket/Brace">(</span> <span class="ActionScriptDefault_Text">ErrorEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ERROR</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">lookupError</span> <span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">resolver</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">lookup</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">host</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">recordType</span><span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">lookupComplete</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">event</span>:<span class="ActionScriptDefault_Text">DNSResolverEvent</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+
+ <span class="ActionScriptDefault_Text">resolver</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">removeEventListener</span><span class="ActionScriptBracket/Brace">(</span> <span class="ActionScriptDefault_Text">DNSResolverEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">LOOKUP</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">lookupComplete</span> <span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">resolver</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">removeEventListener</span><span class="ActionScriptBracket/Brace">(</span> <span class="ActionScriptDefault_Text">ErrorEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ERROR</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">lookupError</span> <span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptDefault_Text">setOutput</span><span class="ActionScriptBracket/Brace">(</span> <span class="ActionScriptString">"Querying host: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">host</span> <span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">setOutput</span><span class="ActionScriptBracket/Brace">(</span> <span class="ActionScriptString">"Record type: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">flash</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">utils</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">getQualifiedClassName</span><span class="ActionScriptBracket/Brace">(</span> <span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">resourceRecords</span><span class="ActionScriptBracket/Brace">[</span>0<span class="ActionScriptBracket/Brace">]</span> <span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptOperator">+</span>
+ <span class="ActionScriptString">", count: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">resourceRecords</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">length</span> <span class="ActionScriptBracket/Brace">)</span>;
+
+ <span class="ActionScriptReserved">for each</span><span class="ActionScriptBracket/Brace">(</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">record</span>:<span class="ActionScriptOperator">*</span> <span class="ActionScriptReserved">in</span> <span class="ActionScriptDefault_Text">event</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">resourceRecords</span> <span class="ActionScriptBracket/Brace">)</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">record</span> <span class="ActionScriptReserved">is</span> <span class="ActionScriptDefault_Text">ARecord</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptDefault_Text">setOutput</span><span class="ActionScriptBracket/Brace">(</span> <span class="ActionScriptString">"ARecord: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">record</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">name</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" : "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">record</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">address</span> <span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">record</span> <span class="ActionScriptReserved">is</span> <span class="ActionScriptDefault_Text">MXRecord</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptDefault_Text">setOutput</span><span class="ActionScriptBracket/Brace">(</span> <span class="ActionScriptString">"MXRecord: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">record</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">name</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" : "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">record</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">exchange</span> <span class="ActionScriptOperator">+</span> <span cl
ass="ActionScriptString">", "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">record</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">preference</span> <span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">record</span> <span class="ActionScriptReserved">is</span> <span class="ActionScriptDefault_Text">PTRRecord</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptDefault_Text">setOutput</span><span class="ActionScriptBracket/Brace">(</span> <span class="ActionScriptString">"PTRRecord: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">record</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">name</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">" : "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">record</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ptrdName</span> <span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">setOutput</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">message</span>:<span class="ActionScriptDefault_Text">String</span><span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">resolver</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">removeEventListener</span><span class="ActionScriptBracket/Brace">(</span> <span class="ActionScriptDefault_Text">DNSResolverEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">LOOKUP</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">lookupComplete</span> <span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">resolver</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">removeEventListener</span><span class="ActionScriptBracket/Brace">(</span> <span class="ActionScriptDefault_Text">ErrorEvent</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">ERROR</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">lookupError</span> <span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptDefault_Text">output</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">message</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">"\n"</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">output</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">lookupError</span><span class="ActionScriptBracket/Brace">(</span> <span class="ActionScriptDefault_Text">error</span>:<span class="ActionScriptDefault_Text">ErrorEvent</span> <span class="ActionScriptBracket/Brace">)</span>:<span class="ActionScriptReserved">void</span>
+ <span class="ActionScriptBracket/Brace">{</span>
+ <span class="ActionScriptDefault_Text">Alert</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">show</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">"Error: "</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">error</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span> <span class="ActionScriptBracket/Brace">)</span>;
+ <span class="ActionScriptBracket/Brace">}</span>
+
+ <span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptBracket/Brace">]</span><span class="ActionScriptOperator">></span>
+ <span class="MXMLSpecial_Tag"></fx:Script></span>
+
+ <span class="MXMLComponent_Tag"><s:Panel</span><span class="MXMLDefault_Text"> title="</span><span class="MXMLString">DNS Lookup</span><span class="MXMLDefault_Text">" skinClass="</span><span class="MXMLString">skins.TDFPanelSkin</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:layout></span>
+ <span class="MXMLComponent_Tag"><s:VerticalLayout</span><span class="MXMLDefault_Text"> paddingLeft="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" paddingTop="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" paddingBottom="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">" paddingRight="</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:layout></span>
+ <span class="MXMLComponent_Tag"><s:HGroup</span><span class="MXMLDefault_Text"> left="</span><span class="MXMLString">5</span><span class="MXMLDefault_Text">" top="</span><span class="MXMLString">5</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:VGroup></span>
+ <span class="MXMLComponent_Tag"><s:HGroup></span>
+ <span class="MXMLComponent_Tag"><s:CheckBox</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">cbARecord</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">ARecord</span><span class="MXMLDefault_Text">" selected="</span><span class="MXMLString">true</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:CheckBox</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">cbMXRecord</span><span class="MXMLDefault_Text">" label="</span><span class="MXMLString">MX Record</span><span class="MXMLDefault_Text">" selected="</span><span class="MXMLString">true</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"><s:HGroup</span><span class="MXMLDefault_Text"> verticalAlign="</span><span class="MXMLString">middle</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Host name: </span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextInput</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">domain</span><span class="MXMLDefault_Text">" text="</span><span class="MXMLString">cnn.com</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Lookup DNS</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">startLookup</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">domain</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">cbARecord</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selected</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">cbMXRecord</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">selected</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+ <span class="MXMLComponent_Tag"><s:VGroup</span><span class="MXMLDefault_Text"> right="</span><span class="MXMLString">30</span><span class="MXMLDefault_Text">" top="</span><span class="MXMLString">10</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">IP Address (127.0.0.1 for example):</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextInput</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">ipAddress</span><span class="MXMLDefault_Text">" restrict="</span><span class="MXMLString">0-9.</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:Button</span><span class="MXMLDefault_Text"> label="</span><span class="MXMLString">Reverse DNS Lookup</span><span class="MXMLDefault_Text">" click="</span><span class="ActionScriptDefault_Text">reverseLookup</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ipAddress</span><span class="ActionScriptOperator">.</span><span class="ActionScriptDefault_Text">text</span><span class="ActionScriptOperator">,</span> <span class="ActionScriptDefault_Text">PTRRecord</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:VGroup></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"><s:HGroup</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">500</span><span class="MXMLDefault_Text">" bottom="</span><span class="MXMLString">60</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> text="</span><span class="MXMLString">Console:</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"><s:TextArea</span><span class="MXMLDefault_Text"> id="</span><span class="MXMLString">output</span><span class="MXMLDefault_Text">" editable="</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">" width="</span><span class="MXMLString">70%</span><span class="MXMLDefault_Text">" height="</span><span class="MXMLString">100</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:HGroup></span>
+ <span class="MXMLComponent_Tag"><s:Label</span><span class="MXMLDefault_Text"> width="</span><span class="MXMLString">95%</span><span class="MXMLDefault_Text">" verticalAlign="</span><span class="MXMLString">justify</span><span class="MXMLDefault_Text">" color="</span><span class="MXMLString">#323232</span><span class="MXMLDefault_Text">" horizontalCenter="</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">" bottom="</span><span class="MXMLString">20</span><span class="MXMLDefault_Text">"
+ text="</span><span class="MXMLString">The DNS Lookup functionality in AIR 2.0 allows you to lookup the Domain Name Server information for a given URL.</span><span class="MXMLDefault_Text">"</span><span class="MXMLComponent_Tag">/></span>
+ <span class="MXMLComponent_Tag"></s:Panel></span>
+<span class="MXMLComponent_Tag"></s:WindowedApplication></span></pre></body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/source/skins/TDFPanelSkin.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/source/skins/TDFPanelSkin.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/source/skins/TDFPanelSkin.mxml.html
new file mode 100644
index 0000000..df79d11
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/DNS/srcview/source/skins/TDFPanelSkin.mxml.html
@@ -0,0 +1,147 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta http-equiv="Content-Style-Type" content="text/css">
+ <title>TDFPanelSkin.mxml</title>
+ <meta name="Generator" content="Cocoa HTML Writer">
+ <meta name="CocoaVersion" content="1187.4">
+ <style type="text/css">
+ p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier}
+ p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; color: #941100}
+ p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; min-height: 15.0px}
+ p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px}
+ </style>
+</head>
+<body>
+<p class="p1"><?xml version="1.0" encoding="utf-8"?></p>
+<p class="p2"><!--</p>
+<p class="p3"><br></p>
+<p class="p2">Licensed to the Apache Software Foundation (ASF) under one or more</p>
+<p class="p2">contributor license agreements.<span class="Apple-converted-space"> </span>See the NOTICE file distributed with</p>
+<p class="p2">this work for additional information regarding copyright ownership.</p>
+<p class="p2">The ASF licenses this file to You under the Apache License, Version 2.0</p>
+<p class="p2">(the "License"); you may not use this file except in compliance with</p>
+<p class="p2">the License.<span class="Apple-converted-space"> </span>You may obtain a copy of the License at</p>
+<p class="p3"><br></p>
+<p class="p2">http://www.apache.org/licenses/LICENSE-2.0</p>
+<p class="p3"><br></p>
+<p class="p2">Unless required by applicable law or agreed to in writing, software</p>
+<p class="p2">distributed under the License is distributed on an "AS IS" BASIS,</p>
+<p class="p2">WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</p>
+<p class="p2">See the License for the specific language governing permissions and</p>
+<p class="p2">limitations under the License.</p>
+<p class="p3"><br></p>
+<p class="p2">--></p>
+<p class="p4"><br></p>
+<p class="p1"><s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"<span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span>alpha.disabled="0.5" minWidth="131" minHeight="127"></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><fx:Metadata></p>
+<p class="p1"><span class="Apple-converted-space"> </span>[HostComponent("spark.components.Panel")]</p>
+<p class="p1"><span class="Apple-converted-space"> </span></fx:Metadata><span class="Apple-converted-space"> </span></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:states></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normal" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabled" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normalWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabledWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:states></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- drop shadow --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" top="0" right="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:DropShadowFilter blurX="15" blurY="15" alpha="0.18" distance="11" angle="90" knockout="true" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: border --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColorStroke color="0" alpha="0.50" weight="1" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: background fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" height="15"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradient rotation="90"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xE2E2E2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradient></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: contents --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group left="1" right="1" top="1" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:VerticalLayout gap="0" horizontalAlign="justify" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="topGroup" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: title bar fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- Note: We have custom skinned the title bar to be solid black for Tour de Flex --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbFill" left="0" right="0" top="0" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: title bar highlight --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradientStroke rotation="90" weight="1"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xEAEAEA" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xD9D9D9" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradientStroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: title bar divider --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xC0C0C0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: text --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Label id="titleDisplay" maxDisplayedLines="1"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>left="9" right="3" top="1" minHeight="30"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>verticalAlign="middle" fontWeight="bold" color="#E2E2E2"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Label></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="bottomGroup" minWidth="0" minHeight="0"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>includeIn="normalWithControlBar, disabledWithControlBar" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: control bar background --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" top="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xE2EdF7" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: control bar divider line --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" height="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xD1E0F2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: control bar --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"></s:Skin></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3dc107b9/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/TDFPanelSkin.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/TDFPanelSkin.mxml.html b/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/TDFPanelSkin.mxml.html
new file mode 100644
index 0000000..df79d11
--- /dev/null
+++ b/TourDeFlex/TourDeFlex/src/objects/AIR20/DownloadSecurityDialog/TDFPanelSkin.mxml.html
@@ -0,0 +1,147 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta http-equiv="Content-Style-Type" content="text/css">
+ <title>TDFPanelSkin.mxml</title>
+ <meta name="Generator" content="Cocoa HTML Writer">
+ <meta name="CocoaVersion" content="1187.4">
+ <style type="text/css">
+ p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier}
+ p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; color: #941100}
+ p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; min-height: 15.0px}
+ p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px}
+ </style>
+</head>
+<body>
+<p class="p1"><?xml version="1.0" encoding="utf-8"?></p>
+<p class="p2"><!--</p>
+<p class="p3"><br></p>
+<p class="p2">Licensed to the Apache Software Foundation (ASF) under one or more</p>
+<p class="p2">contributor license agreements.<span class="Apple-converted-space"> </span>See the NOTICE file distributed with</p>
+<p class="p2">this work for additional information regarding copyright ownership.</p>
+<p class="p2">The ASF licenses this file to You under the Apache License, Version 2.0</p>
+<p class="p2">(the "License"); you may not use this file except in compliance with</p>
+<p class="p2">the License.<span class="Apple-converted-space"> </span>You may obtain a copy of the License at</p>
+<p class="p3"><br></p>
+<p class="p2">http://www.apache.org/licenses/LICENSE-2.0</p>
+<p class="p3"><br></p>
+<p class="p2">Unless required by applicable law or agreed to in writing, software</p>
+<p class="p2">distributed under the License is distributed on an "AS IS" BASIS,</p>
+<p class="p2">WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</p>
+<p class="p2">See the License for the specific language governing permissions and</p>
+<p class="p2">limitations under the License.</p>
+<p class="p3"><br></p>
+<p class="p2">--></p>
+<p class="p4"><br></p>
+<p class="p1"><s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"<span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span>alpha.disabled="0.5" minWidth="131" minHeight="127"></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><fx:Metadata></p>
+<p class="p1"><span class="Apple-converted-space"> </span>[HostComponent("spark.components.Panel")]</p>
+<p class="p1"><span class="Apple-converted-space"> </span></fx:Metadata><span class="Apple-converted-space"> </span></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:states></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normal" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabled" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="normalWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:State name="disabledWithControlBar" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:states></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- drop shadow --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" top="0" right="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:DropShadowFilter blurX="15" blurY="15" alpha="0.18" distance="11" angle="90" knockout="true" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:filters></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: border --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColorStroke color="0" alpha="0.50" weight="1" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: background fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" height="15"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradient rotation="90"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xE2E2E2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradient></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: contents --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group left="1" right="1" top="1" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:VerticalLayout gap="0" horizontalAlign="justify" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="topGroup" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: title bar fill --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- Note: We have custom skinned the title bar to be solid black for Tour de Flex --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbFill" left="0" right="0" top="0" bottom="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0x000000" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: title bar highlight --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:LinearGradientStroke rotation="90" weight="1"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xEAEAEA" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:GradientEntry color="0xD9D9D9" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:LinearGradientStroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:stroke></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: title bar divider --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xC0C0C0" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 3: text --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Label id="titleDisplay" maxDisplayedLines="1"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>left="9" right="3" top="1" minHeight="30"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>verticalAlign="middle" fontWeight="bold" color="#E2E2E2"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Label></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="bottomGroup" minWidth="0" minHeight="0"</p>
+<p class="p1"><span class="Apple-converted-space"> </span>includeIn="normalWithControlBar, disabledWithControlBar" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 0: control bar background --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" bottom="0" top="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xE2EdF7" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 1: control bar divider line --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Rect left="0" right="0" top="0" height="1" ></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:SolidColor color="0xD1E0F2" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:fill></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Rect></p>
+<p class="p4"><span class="Apple-converted-space"> </span></p>
+<p class="p1"><span class="Apple-converted-space"> </span><!-- layer 2: control bar --></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0"></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span><s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" /></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:layout></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"><span class="Apple-converted-space"> </span></s:Group></p>
+<p class="p1"></s:Skin></p>
+</body>
+</html>