[flexcoders] [Flex2] Cairngorm question

2006-07-12 Thread Thomas Rühl -akitogo-

Hi,
I'm just walking through Steven's article about Cairngorm on the Adobe 
site again and I wonder where the mx.utils.Delegate class can be found.
Has it been renamed or replaced in some way? How can I create a Delegate 
now?

Cheers, Thomas


  
  Thomas Rühl
  Design, Programming & Concepts
  
  akitogo OHG
  Hanauer Landstrasse 188
  60314 Frankfurt
  
  Telefon +49 (0) 69 800 69 445
  Fax +49 (0) 69 800 69 449
  Mobil   +49 (0) 179 750 75 87
  E-Mail  [EMAIL PROTECTED]
  Web http://www.akitogo.com
  




 Yahoo! Groups Sponsor ~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [flexcoders] [Flex2] Cairngorm question

2006-07-12 Thread JesterXL
You don't need a Delegate.  Before, functions were called in the scope of 
the calling object, but now they are called in the scope of where they are 
defined.

Thus, this:

myButton.addEventListener("click", Delegate.create(this, onClick));

now becomes:

myButton.addEventListener("click", onClick);

No more need!

- Original Message - 
From: "Thomas Rühl -akitogo-" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, July 12, 2006 9:05 AM
Subject: [flexcoders] [Flex2] Cairngorm question



Hi,
I'm just walking through Steven's article about Cairngorm on the Adobe
site again and I wonder where the mx.utils.Delegate class can be found.
Has it been renamed or replaced in some way? How can I create a Delegate
now?

Cheers, Thomas



  Thomas Rühl
  Design, Programming & Concepts

  akitogo OHG
  Hanauer Landstrasse 188
  60314 Frankfurt

  Telefon +49 (0) 69 800 69 445
  Fax +49 (0) 69 800 69 449
  Mobil   +49 (0) 179 750 75 87
  E-Mail  [EMAIL PROTECTED]
  Web http://www.akitogo.com






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links








 Yahoo! Groups Sponsor ~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] [Flex2] Cairngorm question

2006-07-12 Thread Thomas Rühl -akitogo-

Sorry, but I'm still having questions...
Following the Cairngorm architecture, I created a LoginDelegate class. 
It should call the service and the originating LoginCommand got its 
onFault() and onResult() methods and therefore implementes the Responder 
interface.

However, defining this in the LoginDelegate...
public function authenticateUser():void
{
var call:AsyncToken = service.authenticateUser();
call.addResponder(IResponder(this.responder.onFault()));
call.addResponder(IResponder(this.responder.onResult()));
}

results in both, calling the onFault and onResult methods... why? How 
can I cope with that?

Cheers, Thomas


  
  Thomas Rühl
  Design, Programming & Concepts
  
  akitogo OHG
  Hanauer Landstrasse 188
  60314 Frankfurt
  
  Telefon +49 (0) 69 800 69 445
  Fax +49 (0) 69 800 69 449
  Mobil   +49 (0) 179 750 75 87
  E-Mail  [EMAIL PROTECTED]
  Web http://www.akitogo.com
  




JesterXL wrote:
>
> You don't need a Delegate. Before, functions were called in the scope of
> the calling object, but now they are called in the scope of where they 
> are
> defined.
>
> Thus, this:
>
> myButton.addEventListener("click", Delegate.create(this, onClick));
>
> now becomes:
>
> myButton.addEventListener("click", onClick);
>
> No more need!
>
> - Original Message -
> From: "Thomas Rühl -akitogo-" <[EMAIL PROTECTED] 
> <mailto:thomas.ruehl%40akitogo.com>>
> To: mailto:flexcoders%40yahoogroups.com>>
> Sent: Wednesday, July 12, 2006 9:05 AM
> Subject: [flexcoders] [Flex2] Cairngorm question
>
> Hi,
> I'm just walking through Steven's article about Cairngorm on the Adobe
> site again and I wonder where the mx.utils.Delegate class can be found.
> Has it been renamed or replaced in some way? How can I create a Delegate
> now?
>
> Cheers, Thomas
>
> 
>
> Thomas Rühl
> Design, Programming & Concepts
>
> akitogo OHG
> Hanauer Landstrasse 188
> 60314 Frankfurt
>
> Telefon +49 (0) 69 800 69 445
> Fax +49 (0) 69 800 69 449
> Mobil +49 (0) 179 750 75 87
> E-Mail [EMAIL PROTECTED] <mailto:thomas.ruehl%40akitogo.com>
> Web http://www.akitogo.com <http://www.akitogo.com>
>
> 
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
> <http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt>
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> <http://www.mail-archive.com/flexcoders%40yahoogroups.com>
> Yahoo! Groups Links
>
>  


 Yahoo! Groups Sponsor ~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] [Flex2] Cairngorm question

2006-07-12 Thread Ralf Bokelberg
Hi Thomas,

in Flex 2 delegates are created automatically, so mx.utils.Delegate is
no longer needed.
Cheers,
Ralf.

On 7/12/06, Thomas Rühl -akitogo- <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I'm just walking through Steven's article about Cairngorm on the Adobe
> site again and I wonder where the mx.utils.Delegate class can be found.
> Has it been renamed or replaced in some way? How can I create a Delegate
> now?
>
> Cheers, Thomas
>
> 
>
>   Thomas Rühl
>   Design, Programming & Concepts
>
>   akitogo OHG
>   Hanauer Landstrasse 188
>   60314 Frankfurt
>
>   Telefon +49 (0) 69 800 69 445
>   Fax +49 (0) 69 800 69 449
>   Mobil   +49 (0) 179 750 75 87
>   E-Mail  [EMAIL PROTECTED]
>   Web http://www.akitogo.com
>
> 
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
>


-- 
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany


 Yahoo! Groups Sponsor ~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [flexcoders] [Flex2] Cairngorm question

2006-07-13 Thread Tom Chiverton
On Wednesday 12 July 2006 14:05, Thomas Rühl -akitogo- wrote:
> Hi,
> I'm just walking through Steven's article about Cairngorm on the Adobe
> site 

Unless something has changed, the DevNet article is for Cairngorm 0.something, 
and their are a few subtle differences (like this) compaired to Flex 2.
Might be best to grab the latest demos from Labs.

-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



 Yahoo! Groups Sponsor ~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] [Flex2] Cairngorm question

2006-07-13 Thread Thomas Rühl -akitogo-

Yeah - about that, Tom...

if you took a look at the Cairngorm part of the labs site, you'd see the 
the only thing referenced under the Resources bit is in fact Steven's 
article. There are no demos for Cairngorm.

Cheers, Thomas


  
  Thomas Rühl
  Design, Programming & Concepts
  
  akitogo OHG
  Hanauer Landstrasse 188
  60314 Frankfurt
  
  Telefon +49 (0) 69 800 69 445
  Fax +49 (0) 69 800 69 449
  Mobil   +49 (0) 179 750 75 87
  E-Mail  [EMAIL PROTECTED]
  Web http://www.akitogo.com
  




Tom Chiverton wrote:
> On Wednesday 12 July 2006 14:05, Thomas Rühl -akitogo- wrote:
>> Hi,
>> I'm just walking through Steven's article about Cairngorm on the Adobe
>> site 
>
> Unless something has changed, the DevNet article is for Cairngorm 
> 0.something, 
> and their are a few subtle differences (like this) compaired to Flex 2.
> Might be best to grab the latest demos from Labs.
>


 Yahoo! Groups Sponsor ~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] [Flex2] Cairngorm question

2006-07-13 Thread Tom Chiverton
On Thursday 13 July 2006 10:13, Thomas Rühl -akitogo- wrote:
> the only thing referenced under the Resources bit is in fact Steven's
> article. There are no demos for Cairngorm.

Erk !
You're stuck with the one that comes with it then :-)

-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] [Flex2] Cairngorm question

2006-07-13 Thread Thomas Rühl -akitogo-

lol, thanks anyway.
i got it to work with the help of darren's article about responder 
versus iresponder...

cheers, thomas


  
  Thomas Rühl
  Design, Programming & Concepts
  
  akitogo OHG
  Hanauer Landstrasse 188
  60314 Frankfurt
  
  Telefon +49 (0) 69 800 69 445
  Fax +49 (0) 69 800 69 449
  Mobil   +49 (0) 179 750 75 87
  E-Mail  [EMAIL PROTECTED]
  Web http://www.akitogo.com
  




Tom Chiverton wrote:
> On Thursday 13 July 2006 10:13, Thomas Rühl -akitogo- wrote:
>   
>> the only thing referenced under the Resources bit is in fact Steven's
>> article. There are no demos for Cairngorm.
>> 
>
> Erk !
> You're stuck with the one that comes with it then :-)
>
>   


 Yahoo! Groups Sponsor ~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/