flex4 - Flex 4 - Pass data sent by HTTPService object to result handler -


i have data object gets sent post request httpservice object, want able access data object in result handler. best way this?

var token:asynctoken = httpservice.send(); token.yourpropertyname = yourobject; 

asynctoken dynamic object can add properties @ runtime. then, in result handler, acces token :

event.token.yourpropertyname 

Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -