Re: [flexcoders] Returning 'this' from an overridden method?

2007-02-07 Thread Paul Andrews
- Original Message - From: David_Stafford [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, February 07, 2007 2:12 AM Subject: [flexcoders] Returning 'this' from an overridden method? Please pardon this simple-minded question from an AS3 novice. My base class often

Re: [flexcoders] Returning 'this' from an overridden method?

2007-02-07 Thread shaun
Hi David, I to am an AS3 novice. Wrote my first(trivial) action script file about an hour ago. :) A couple of ideas. Not sure if they will be of much help to you, but incase you hadnt considered them already.. . you could return the value returned by the call to super. ie) Camera c =

RE: [flexcoders] Returning 'this' from an overridden method?

2007-02-07 Thread Sho Kuwamoto
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David_Stafford Sent: Tuesday, February 06, 2007 6:13 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Returning 'this' from an overridden method? Please pardon

Re: [flexcoders] Returning 'this' from an overridden method?

2007-02-07 Thread Ralf Bokelberg
Of *David_Stafford *Sent:* Tuesday, February 06, 2007 6:13 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Returning 'this' from an overridden method? Please pardon this simple-minded question from an AS3 novice. My base class often returns 'this' from methods which makes it convenient

RE: [flexcoders] Returning 'this' from an overridden method?

2007-02-07 Thread Gordon Smith
11:10 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Returning 'this' from an overridden method? Nice to know the name of this feature. Just lately somebody asked me the same question. He also came from a Java background. Any chance we will see it in the future? Cheers, Ralf

RE: [flexcoders] Returning 'this' from an overridden method?

2007-02-07 Thread Sho Kuwamoto
: Wednesday, February 07, 2007 11:10 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Returning 'this' from an overridden method? Nice to know the name of this feature. Just lately somebody asked me the same question. He also came

[flexcoders] Returning 'this' from an overridden method?

2007-02-06 Thread David_Stafford
Please pardon this simple-minded question from an AS3 novice. My base class often returns 'this' from methods which makes it convenient to write code like: camera.move( 10, 12 ).rotateX( 45 ).rotateY( 90 ); The problem comes when code extends the base class and overrides one of these