[flexcoders] Re: Help on Illegal assignment to function

2006-06-08 Thread polestar11
Gordon wrote: In AS3, if a class has declared a method at compile time, you can't reset that method at runtime to be a different function. In AS3 one should be able to change methods and properties at runtime of dynamic classes: A dynamic class defines an object that can be altered at run time

RE: [flexcoders] Re: Help on Illegal assignment to function

2006-06-08 Thread Francis Cheng
Of polestar11 Sent: Thursday, June 08, 2006 6:32 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Help on Illegal assignment to function Gordon wrote: In AS3, if a class has declared a method at compile time, you can't reset that method at runtime to be a different function. In AS3

[flexcoders] Re: Help on Illegal assignment to function

2006-06-08 Thread drome.dario
I Agree with Gordon in the interpretation of that stated in the documentation: If the method is declared at compile time, you can not change it even if the class is dynamic or not However, if you define your method at runt time, then, you can change it when you need it. So, given that the