Php 在FLex的文本字段中打印ArrayCollection

Php 在FLex的文本字段中打印ArrayCollection,php,apache-flex,Php,Apache Flex,我从PHP获得Flex的输出,如下所示 appSes = new ArrayCollection (ArrayUtil.toArray(event.result)); 我需要将该值存储在textInput中 <mx:TextInput id="keyword" styleName="glass" width="100%"/> 如何???您可以绑定到TextInput的text属性: <mx:TextInput id="keyword" styleName="glas

我从PHP获得Flex的输出,如下所示

    appSes = new ArrayCollection (ArrayUtil.toArray(event.result));
我需要将该值存储在textInput中

<mx:TextInput id="keyword" styleName="glass" width="100%"/>

如何???

您可以绑定到TextInput的text属性:

<mx:TextInput id="keyword" styleName="glass" width="100%" text="{appSes}"/>

不确定为什么要这样做,但可以加入数组并将其显示在关键字文本字段中

<mx:TextInput id="keyword" styleName="glass" width="100%" text="{appSes.source.join(',')}" />

我希望这就是你想要的

等等。。。什么是否要将ArrayCollection的值指定给TextInput??
appSes = new ArrayCollection(ArrayUtil.toArray(event.result));
keyword.text = appSes.source.join(',');