[flexcoders] Re: cairngorm Events and data payloads

2006-07-27 Thread thunderstumpgesatwork
Hi, The delegate function thinks you just have a CairngormEvent. I think you just need to check to make sure the event you received is your custom event type and then cast it. so: if (eventHere is LoadScorecardEvent) { del.getScorecard( LoadScorecardEvent(eventHere).scorecardId ); } else {

Re: [flexcoders] Re: cairngorm Events and data payloads

2006-07-27 Thread Douglas Knudsen
ah, righto. thanks d00ds. I had this hacked up too much...no worky good. If only I can get that damn RO to calm down now and do what its told! but that's another thread.DK On 7/27/06, thunderstumpgesatwork [EMAIL PROTECTED] wrote: Hi,The delegate function thinks you just have a CairngormEvent.

Re: [flexcoders] Re: cairngorm Events and data payloads

2006-07-27 Thread Ralf Bokelberg
Its really a pity, that we loose all the nice type information while going all the way through Cairngorm. Cheers, Ralf. On 7/27/06, Douglas Knudsen [EMAIL PROTECTED] wrote: ah, righto. thanks d00ds. I had this hacked up too much...no worky good. If only I can get that damn RO to calm down

Re: [flexcoders] Re: cairngorm Events and data payloads

2006-07-27 Thread JesterXL
: cairngorm Events and data payloads Its really a pity, that we loose all the nice type information while going all the way through Cairngorm. Cheers,Ralf. On 7/27/06, Douglas Knudsen [EMAIL PROTECTED] wrote: ah, righto. thanks d00ds. I had this hacked up too much...no worky good. If only

Re: [flexcoders] Re: cairngorm Events and data payloads

2006-07-27 Thread Ralf Bokelberg
: [flexcoders] Re: cairngorm Events and data payloads Its really a pity, that we loose all the nice type information while going all the way through Cairngorm. Cheers,Ralf. On 7/27/06, Douglas Knudsen [EMAIL PROTECTED] wrote: ah, righto. thanks d00ds. I had this hacked up too much

Re: [flexcoders] Re: cairngorm Events and data payloads

2006-07-27 Thread JesterXL
06 4:20 PM Subject: Re: [flexcoders] Re: cairngorm Events and data payloads The only typesafe solution i can think of, is to abandon CairngormEvents and replace them by methods of the FrontController. Most of the apps i've seen so far don't make use of the runtime changeability anyways. What d

[flexcoders] Re: cairngorm Events and data payloads

2006-07-27 Thread ben.clinkinbeard
).someTypeSafeProp); break; } } - Original Message - From: Ralf Bokelberg To: flexcoders@yahoogroups.com Sent: Thursday, July 27, 2006 4:20 PM Subject: Re: [flexcoders] Re: cairngorm Events and data payloads The only typesafe solution i can think of, is to abandon

Re: [flexcoders] Re: cairngorm Events and data payloads

2006-07-27 Thread JesterXL
PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, July 27, 2006 10:22 PM Subject: [flexcoders] Re: cairngorm Events and data payloads Forgive the dense noob here, but how is the type info lost? I thought that by subclassing CairngormEvent you get basic checking and then you can just do

[flexcoders] Re: cairngorm Events and data payloads

2006-07-27 Thread ben.clinkinbeard
] To: flexcoders@yahoogroups.com Sent: Thursday, July 27, 2006 10:22 PM Subject: [flexcoders] Re: cairngorm Events and data payloads Forgive the dense noob here, but how is the type info lost? I thought that by subclassing CairngormEvent you get basic checking and then you can just do a cast or 'event

Re: [flexcoders] Re: cairngorm Events and data payloads

2006-07-27 Thread JesterXL
. Actually, at this point, no clue... wtf were you talking about anyway, Bokel? - Original Message - From: ben.clinkinbeard [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, July 27, 2006 10:50 PM Subject: [flexcoders] Re: cairngorm Events and data payloads Doesn't execute

[flexcoders] Re: cairngorm Events and data payloads

2006-07-27 Thread ben.clinkinbeard
, no clue... wtf were you talking about anyway, Bokel? - Original Message - From: ben.clinkinbeard [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, July 27, 2006 10:50 PM Subject: [flexcoders] Re: cairngorm Events and data payloads Doesn't execute() accept