hello coders.

i'm trying to bind an associative array to some component property,
something like:

- - -
<mx:Script>
        <![CDATA[
                [Bindable]
                public var monitorInfo:Object = new Object();

                public function click():void{
                        monitorInfo["sum"] = "hello";
                }                       
                

        ]]>
</mx:Script>
<mx:Button label="{monitorInfo['sum']}" click="click();"/>
- - -

but flex can't bind this, even with monitorInfo.getItemAt('sum').
can anyone one help me whith this??

thanks a lot.




Reply via email to