verification occurs just before the call. It looks at the code in the body to make sure it looks reasonable. If you comment out the body, what happens?
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of lrdvadersith Sent: Friday, November 02, 2007 9:46 AM To: [email protected] Subject: [flexcoders] Re: VerifyError: Error #1025: An invalid register 5 was accessed. deleteApplicationCallback is injected by the user of the service, but my hunch is that it isn't a problem because the deleteHandler never gets called. The verify error appears to be happening when Flex is trying to make the call to the deleteHandler - if I put a breakpoint inside the function, it never gets reached. Now here is where things get a little weird: If I take the deleteHandler function and move it up in my file, everything works. I changed no other code, I just reorded the methods. I can't think of any reason why the method order should make a difference, but in my code, it does. Anyone have any ideas? Steve --- In [email protected] <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > I don't think I saw where deletApplicationCallback gets assigned. > > > > Maybe others have suggestions as to how to do this w/o blind callbacks. > Callbacks of type Function lose compile time type checking and can > become a pain to manage, but shouldn't be the problem here. > > >

