Re: [flexcoders] Caurngorm 2 - where to deal with system events?

2006-04-24 Thread JesterXL
adcaster.getInstance().broadcastEvent ( Event.YOUR_EVENT, {param: >value}); > >- Original Message - >From: "Alex Uhlmann" <[EMAIL PROTECTED]> >To: >Sent: Sunday, April 23, 2006 12:03 PM >Subject: RE: [flexcoders] Caurngorm 2 - where to deal with s

Re: [flexcoders] Caurngorm 2 - where to deal with system events?

2006-04-23 Thread Andrea Varga
); > >- Original Message - >From: "Alex Uhlmann" <[EMAIL PROTECTED]> >To: >Sent: Sunday, April 23, 2006 12:03 PM >Subject: RE: [flexcoders] Caurngorm 2 - where to deal with system events? > > >Hi Andi, > >You can certainly call another Comma

Re: [flexcoders] Caurngorm 2 - where to deal with system events?

2006-04-23 Thread Andrea Varga
Thanks. In the meantime I found out about the mx.core.Application.application.dispatchEvent. I just wasn't sure if it is correct to call a command from another one, or if is there is a better place to do that. It seems to me that makes my code less maintanable Andi Alex Uhlmann wrote: >Hi

Re: [flexcoders] Caurngorm 2 - where to deal with system events?

2006-04-23 Thread JesterXL
al Message - From: "Alex Uhlmann" <[EMAIL PROTECTED]> To: Sent: Sunday, April 23, 2006 12:03 PM Subject: RE: [flexcoders] Caurngorm 2 - where to deal with system events? Hi Andi, You can certainly call another Command in the onResult of your LoginCommand. But since a Command class

RE: [flexcoders] Caurngorm 2 - where to deal with system events?

2006-04-23 Thread Alex Uhlmann
--Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrea Varga Sent: 23 April 2006 11:15 To: flexcoders@yahoogroups.com Subject: [flexcoders] Caurngorm 2 - where to deal with system events? Hi All! I have to mention that I'm new to Cairngorm an

[flexcoders] Caurngorm 2 - where to deal with system events?

2006-04-23 Thread Andrea Varga
Hi All! I have to mention that I'm new to Cairngorm and Flex. What is best practice to deal with system events (or whatever the events that are not dispatched by a user gesture are called)? For example: after a successful user login I have to display a list of products (list loded from the se