claudiu.ursica
|
 |
« on: November 04, 2009, 05:21:43 » |
|
Hi all, I'm facing this issue after upgrading my Flash Builder to beta 2. Working with beta 2 seemed fine, so recently I updated to beta 2. However I noticed that every call that goes to server (i use HTTPService and implement IResponder in the proxy class) returns and calls the result function twice. This is really annoying especially when dealing with alerts and other things because notifications are triggered twice as a consequence... The easiest way to reproduce it is to try let's say the Cafe Townsend example form this site. Run under flex 3.x everything fine, moved under flex 4 beta2:
override public function handleNotification( note:INotification ):void { switch ( note.getName() ) { case ApplicationFacade.LOAD_EMPLOYEES_SUCCESS: trace("success"); employeeList.employees_li.dataProvider = employeeProxy.employeeListDP; break;
The trace is always displayed twice. I tried debugging to see what's happening but couldn't figure it out. Has anyone encountered this ? I assume it might have something with possible changes to fb4 beta 2, which is weird since it worked fine with the beta release...
Claudiu
|