Hi,

You cannot use [Bindable] with an Array. Try to use an arraycollection
instead of an array and make it Bindable. This should solve your problem.

Sampath

On Tue, Oct 27, 2009 at 2:48 AM, explorer <[email protected]> wrote:

>
> Hello I have app. where I use creationComplete="meniGenerator()". This
> function, use RemotObject and retrive list of category from database -
> this works fine.
>
> I get resault from PHP in form of ArrayCollection (collection of
> objects) then I use this function
>
>        public function getListaHandler(evt:ResultEvent):void
>                {
>
>                meniji = new ArrayCollection( ArrayUtil.toArray(evt.result)
> );
>                var max:int = evt.result.length;
>                var menikat:Array = new Array;
>
>                for (var i:String in meniji)
>                        {
>                        var element:String = meniji[i].Ime;
>                        menikat[i] = element;
>                        }
>                        trace(menikat);  // this get me list of values that
> I need
>                }
>
> Now I need to bind this menikat array as dataProvider of repeater
> component, but no luck. Any idea what I can do, classical approach
> using just  [Bindabe]
>
> I now that Repeater is component that can efect whole application, but
> this will generate max 6 button for app menu.
>
> Thx for help
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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