Are you using modules or SWFLoader or loading other swfs somehow? How is model defined? Can you whittle this down to a small test case?
________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of lrdvadersith Sent: Thursday, October 25, 2007 12:39 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: VerifyError: Error #1025: An invalid register 5 was accessed. I think I answered the wrong question before. I have a function called sortFunctions defined in the model, with the signature given in the original post. Steve --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Is sortFunctions defined on model or on the app? > > > > ________________________________ > > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> ] On > Behalf Of lrdvadersith > Sent: Thursday, October 25, 2007 11:50 AM > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > Subject: [flexcoders] VerifyError: Error #1025: An invalid register 5 > was accessed. > > > > Does anyone know what this error is? I get it in both Flex 2.01 > hotfix 3 and Flex 3 beta 2. > > Some background: > > I think the problem is with the following lines: > > in my mxml, I have a headerRelease="model.sortFunctions(event);" in my > dataGrid, and in my ActionScript, I have a public function > sortFunctions(event:DataGridEvent):void function. > > I believe the error has something to do with this, because when I > remove the headerRelease, the error goes away. > > Any ideas? > > Thanks, > > Steve >