• ReferenceError: Error #1069: 在 spark.components.RadioButtonGroup 上找不到属性 label,且没有默认值


    1、错误描写叙述

    ReferenceError: Error #1069: 在 spark.components.RadioButtonGroup 上找不到属性 label,且没有默认值。

    at Chart/radiogroup_itemClickHandler()[E:Flash BuilderMapsrcChart.mxml:49] at Chart/__radiogroup_itemClick()[E:Flash BuilderMapsrcChart.mxml:58] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at spark.components::RadioButton/buttonReleased()[E:dev4.0.0frameworksprojectssparksrcsparkcomponentsRadioButton.as:554] at spark.components.supportClasses::ButtonBase/mouseEventHandler()[E:dev4.0.0frameworksprojectssparksrcsparkcomponentssupportClassesButtonBase.as:1054]


    2、错误原因

    protected function radiogroup_itemClickHandler(event:ItemClickEvent):void
    {
    	if(event.currentTarget.label=="周")
    	{
    		Alert.show("OK!");
    	}
    }

    <fx:Declarations>
    	<s:RadioButtonGroup id="radiogroup" itemClick="radiogroup_itemClickHandler(event)"/>
    </fx:Declarations>


    3、解决的方法

  • 相关阅读:
    web服务webserver
    java:Comparator比较器
    6递归
    5.二分查找 = 折半查找
    4.线性查找 = 顺序查找
    3选择排序
    2.冒泡排序----还是不懂,先记录下来
    1交换算法
    调试篇
    sql表合并,统计计算,生成总计
  • 原文地址:https://www.cnblogs.com/mfrbuaa/p/5073456.html
Copyright © 2020-2023  润新知