ReferenceError: Error #1069: The property label cannot be found on spark. components. RadioButtonGroup, and no default value exists,

Source: Internet
Author: User

ReferenceError: Error #1069: The property label cannot be found on spark. components. RadioButtonGroup, and no default value exists,

1. Error description

ReferenceError: Error #1069: The property label cannot be found on spark. components. RadioButtonGroup, and there is no default value. At Chart/radiogroup_itemClickHandler () [E: \ Flash Builder \ Map \ src \ Chart. mxml: 49] at Chart/_ radiogroup_itemClick () [E: \ Flash Builder \ Map \ src \ Chart. mxml: 58] at flash. events: EventDispatcher/dispatchEventFunction () at flash. events: EventDispatcher/dispatchEvent () at spark. components: RadioButton/buttonReleased () [E: \ dev \ 4.0.0 \ frameworks \ projects \ spark \ src \ spark \ components \ RadioButton. as: 554] at spark. components. supportClasses: ButtonBase/mouseEventHandler () [E: \ dev \ 4.0.0 \ frameworks \ projects \ spark \ src \ spark \ components \ suppclasclasses \ ButtonBase. as: 1054]

2. Error cause

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

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


3. Solution


What is a referenceerror?

-Reference error: reference
List of Common Errors in English Writing... structure defect reference error )...

-Reference/error of: Reference error
Reduction of lead loss ction/cue Reference error Reference/error of thing refers to Reference/objective...

-Reference junction error: reference end error
Temperature Meter term ---- performance term | data sharing-China ...... connection line error connecting wire error reference end error reference junction error extension lead error...

ReferenceError: What is Error?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.