try
<mx:Label text="{dayTitles.currentItem}" />
check out the docs here
http://livedocs.macromedia.com/labs/1/flex20beta3/langref/index.html
they have some examples in them too even.
DK
On 6/14/06, Ian Skinner <[EMAIL PROTECTED]> wrote:
> Can someone point out what fundamental concept I am not getting here? The
> text of my label is "undefined" instead of the days of the week that I am
> expecting. This is nearly cut out of the documentation.
>
> ....
>
> [Bindable]
> private var dayStrings:Array =
> ["Monday","Tusday","Wednesday","Thrusday","Friday","Saturday","Sunday"];
>
> ....
>
> <mx:HBox>
> <mx:Repeater id="dayTitles" dataProvider="{dayStrings}">
> <mx:VBox>
> <mx:Label text="{dayStrings.currentItem}" />
> </mx:VBox>
> </mx:Repeater>
> </mx:HBox>
>
> ....
>
> --------------
> Ian Skinner
> Web Programmer
> BloodSource
> www.BloodSource.org
> Sacramento, CA
>
> ---------
> | 1 | |
> --------- Binary Soduko
> | | |
> ---------
>
> "C code. C code run. Run code run. Please!"
> - Cynthia Dunning
>
> Confidentiality Notice: This message including any
> attachments is for the sole use of the intended
> recipient(s) and may contain confidential and privileged
> information. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the
> intended recipient, please contact the sender and
> delete any copies of this message.
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:37:2723
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/37
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:37
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54