[flexcoders] SequenceCommand

2007-10-31 Thread Giles Roadnight
Hi All I'm quite new to sequence commands but they are used extensively at my new job. At the moment I am trying to save a large number of items. I am using a sequenceCommand to do this although in this case it is not being used as part of a sequence. In the command I have a private variable

Re: [flexcoders] SequenceCommand

2007-10-31 Thread Giles Roadnight
Actually, I stand corrected. Each call is sent from a different Command object, the results are all passed back to the same instance however. The delegate call looks like this: var call : Object = new Object( ); call = _service.Execute( Shopping. + obj.type + methods[ obj.saveType ], meta,

[flexcoders] SequenceCommand, Adding Properties to the nextEvent

2007-02-21 Thread lostinrecursion
Hi all, Forgive me if this is simple but I just can't seem to make it work. I have a command that fires each time a new record is added via SequenceCommand. (So, for example, AddUserCommand fires GetUsersCommand in the executeNextCommand function) The problem is that my GetUsersCommand is role

Re: [flexcoders] SequenceCommand, Adding Properties to the nextEvent

2007-02-21 Thread Bhuvan Gupta
1. Can't you access the model directly inside the GetUsersCommand to get the role value ? or 2. when you assign the nextEvent to GetUsersCommand inside AddUserCommand set the nextEvent.data to role value. IMO, the above should work. On Feb 21, 2007, at 7:53 PM, lostinrecursion wrote: