When you say "stationslicense_7D is a checkbox item", what do you mean?
Do you mean you have a checkbox with an id=" stationslicense_7D"?

 

If so, where is that checkbox declared in relation to the result
handler?  Same file?

 

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Jason B
Sent: Monday, June 02, 2008 2:53 PM
To: [email protected]
Subject: [flexcoders] referencing inside resulthandler error 1009

 

when trying to reference a item on the flex form inside a
resulthandler from an httpservice i run into error 1009 cannot access
method or property

example stationslicense_7D throws the error below....

public function stationloadResult(event:ResultEvent){
var result:Object = event.result;

//stationslicense_7D is a checkbox item

if(event.target.lastResult.DATARESULTS.SEVEND_ALOWED == "N"){
stationslicense_7D.selected = false;
}else{
stationslicense_7D.selected = true;
} 

 

Reply via email to