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?