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: <[email protected]>
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/