<mx:PopUpMenuButton x="71" y="34" id="popname" fontSize="14" width="134"
dataProvider="{partname}" />
private var partname:Array=[
{label:"请选择异常产品"},
{label: "475", data: "475"}, {label: "476", data: "476"},
{label: "460", data: "460"},
{label: "461", data:"461"},
{label: "462", data:"462"},
{label: "463", data:"463"},
{label: "91624-103", data:"91624-103"},
{label: "90673-21", data:"90673-21"}
];
private function inti():void{
popname.dataProvider=usetime;
}
请问一下我可以这样做吗?
我这样做了不能够成功! |