Ian,
Did you include the bindable parameter (or whatever it's called?)
Ie...
[Bindable]
public var foobar:Array;
Rick
On 4/25/07, Ian Skinner <[EMAIL PROTECTED]> wrote:
> I've got a simple array created in MobileCalendar.mxml.
>
> private var monthsAry:Array =
> ["January","Feburary","March","April","May","June","July","August","Sept
> ember","October","November","December"];
>
>
>
> I'm passing that to a custom component.
>
> <ns1:Controls foobar="{monthsAry}" />
>
>
>
> In Controls.mxml, I define an array.
>
> public var foobar:Array;
>
>
>
> Then use this in the data provider of a combo box.
>
> <mx:ComboBox id="monthSelect" dataProvider="{foobar}" />
>
>
>
> This throws no error, but the months do not appear in the combo box, it
> is empty. What am I missing?
>
>
>
>
>
>
> 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.
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2.
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS
Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:3955
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37