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 method in the example IS NOT coming from any "implementes" interface, I do not see any problem in defining it at runtime.
--- In [email protected], "polestar11" <[EMAIL PROTECTED]> wrote: > > 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 by > adding or changing properties and methods" > > I am getting the same error (Illegal assignment to function) even > though the class is dynamic. Why would this be? > ------------------------ Yahoo! Groups Sponsor --------------------~--> Get to your groups with one click. Know instantly when new email arrives http://us.click.yahoo.com/.7bhrC/MGxNAA/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/

