Repository: flex-examples
Updated Branches:
  refs/heads/develop cb57c5b72 -> 581427040


Update label and descriptionf or BusyIndicator example


Project: http://git-wip-us.apache.org/repos/asf/flex-examples/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-examples/commit/58142704
Tree: http://git-wip-us.apache.org/repos/asf/flex-examples/tree/58142704
Diff: http://git-wip-us.apache.org/repos/asf/flex-examples/diff/58142704

Branch: refs/heads/develop
Commit: 5814270406a09280232de38be7961d85f963ccb5
Parents: cb57c5b
Author: OmPrakash Muppirala <[email protected]>
Authored: Fri Dec 19 17:57:56 2014 -0800
Committer: OmPrakash Muppirala <[email protected]>
Committed: Fri Dec 19 17:57:56 2014 -0800

----------------------------------------------------------------------
 .../src/UIViews/BusyIndicatorView.mxml          | 21 +++++++-------------
 1 file changed, 7 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-examples/blob/58142704/tourdeflexmobile/src/UIViews/BusyIndicatorView.mxml
----------------------------------------------------------------------
diff --git a/tourdeflexmobile/src/UIViews/BusyIndicatorView.mxml 
b/tourdeflexmobile/src/UIViews/BusyIndicatorView.mxml
index cb46821..4773da6 100644
--- a/tourdeflexmobile/src/UIViews/BusyIndicatorView.mxml
+++ b/tourdeflexmobile/src/UIViews/BusyIndicatorView.mxml
@@ -18,7 +18,7 @@ limitations under the License.
 
 -->
 <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"; 
-               xmlns:s="library://ns.adobe.com/flex/spark" title="ActionBar" 
show="view1_showHandler(event)">
+               xmlns:s="library://ns.adobe.com/flex/spark" 
title="BusyIndicator" >
        <fx:Script>
                <![CDATA[
                        import mx.events.FlexEvent;
@@ -35,11 +35,6 @@ limitations under the License.
                                }
                        }
                        
-                       protected function 
view1_showHandler(event:FlexEvent):void
-                       {
-                               // TODO Auto-generated method stub
-                       }
-                       
                ]]>
        </fx:Script>
        <s:states>
@@ -63,14 +58,12 @@ limitations under the License.
                <s:Spacer height="10"/>
                <s:Label id="label" horizontalCenter="0" textAlign="center"/>
        </s:VGroup>     
-       <s:TextArea includeIn="InfoState" selectable="false"  left="10" 
right="10" top="10" bottom="10" editable="false" text="The ActionBar class 
defines a component that includes title, navigation, and action content groups. 
The ActionBar control provides a standard area for navigation and action 
controls. It lets you define global controls that can be used from anywhere in 
the application, or controls specific to a view.
-                               The ActionBar control defines three distinct 
areas:
-                               &#xd; &#xd;Navigation area
-                               &#xd; &#xd;Contains components that let the 
user navigate the section. For example, you can define a home button in the 
navigation area. Use the navigationContent property to define the components 
that appear in the navigation area. Use the navigationLayout property to define 
the layout of the navigation area.
-                               &#xd; &#xd;Title area
-                               &#xd; &#xd;Contains either a String containing 
title text, or components. If you specify components, you cannot specify a 
title String. Use the title property to specify the String to appear in the 
title area. Use the titleContent property to define the components that appear 
in the title area. Use the titleLayout property to define the layout of the 
title area. If you specify a value for the titleContent property, the ActionBar 
skin ignores the title property.
-                               &#xd; &#xd;Action area
-                               &#xd; &#xd;Contains components that define 
actions the user can take in a view. For example, you might define a search or 
refresh button as part of the action area. Use the actionContent property to 
define the components that appear in the action area. Use the actionLayout 
property to define the layout of the action area."/>  
+       <s:TextArea includeIn="InfoState" selectable="false"  left="10" 
right="10" top="10" bottom="10" editable="false" 
+                               text="The BusyIndicator defines a component to 
display when a long-running operation is in progress. 
+                               &#xd; &#xd;For Web, Desktop and iOS, a spinner 
with twelve spoke is drawn. The color of the spokes is controlled by the value 
of the symbolColor style.
+                               &#xd; &#xd;For Android, a circle is drawn that 
rotates.
+                               &#xd; &#xd;The transparency of this component 
can be modified using the alpha property, but the alpha value of each spoke 
cannot be modified.
+                               "/>     
        <s:actionContent>
                <s:Button click="buttonHandler(event)" 
icon.DemoState="{aboutIcon}" icon.InfoState="{demoIcon}"/>
        </s:actionContent>

Reply via email to