Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/actionscript-3/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache flex 如何在Flex中更改FusionWidgets UIComponent_Apache Flex_Actionscript 3_Mxml - Fatal编程技术网

Apache flex 如何在Flex中更改FusionWidgets UIComponent

Apache flex 如何在Flex中更改FusionWidgets UIComponent,apache-flex,actionscript-3,mxml,Apache Flex,Actionscript 3,Mxml,我正在使用flex中的ravis FusionWidgets组件创建量规。 我在更改程序中的语言时遇到问题。 我使用如下语言构建了一个mxml组件: “ns1:FusionWidgets id=”MyGuageWidth=“{guageWidth}”height=“{guageHeight}”FCChartType=“{guageType}”FCDataXML=“{guageXML}”y=“0”x=“0”/” 当guageType和guageXML是可绑定的数据提供程序时 当我第一次放置这个组件

我正在使用flex中的ravis FusionWidgets组件创建量规。 我在更改程序中的语言时遇到问题。 我使用如下语言构建了一个mxml组件:

“ns1:FusionWidgets id=”MyGuageWidth=“{guageWidth}”height=“{guageHeight}”FCChartType=“{guageType}”FCDataXML=“{guageXML}”y=“0”x=“0”/”

当guageType和guageXML是可绑定的数据提供程序时

当我第一次放置这个组件时,提供者不包含任何内容,我允许用户在我的flex应用程序中更改它们。 问题是,当用户更改它们时,语言本身不会更新。 我知道,当我更改可绑定数据提供程序时,必须更改组件。 在我更改组件的数据提供程序后,还有其他方法更新组件吗?
谢谢大家。

您应该制作类似于更改事件处理程序的内容:

public function userChangeHandler(e:Event):void{
    myGuage.FCChartType=changed_FCChartType;
    myGuage.FCDataXML=changed_guageXML;
}