Hi,

On click of a "Create TextArea" button I am creating multiple TextArea
using Repeater.
I want to get the value of the TextArea(whatever value I have typed in
any TextArea) on click of the "Get Value" button.

Please tell me how to get the values of all TextArea.

Thanks in Advance.

<mx:Repeater id="createActivity1" height="100%">
        <mx:HBox width="100%" height="60" horizontalGap="0">
                <mx:TextArea color="#000000" width="15%" height="10%" />
        </mx:HBox>
</mx:Repeater>

<mx:Button label="Get Value" />

<mx:Button label="Create TextArea" click="callRepeater();" />

var repeaterCount:int;
var repeaterArray:Array = new Array();

public function callRepeater():void{
     repeaterCount = repeaterCount + 1;
     repeaterArray.push(repeaterCount);
     createActivity1.dataProvider = repeaterArray;
}

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to