Actionscript/Flex - Is it possible to dynamically extend an object, modify functions, add functions
Posted
by RR
on Stack Overflow
See other posts from Stack Overflow
or by RR
Published on 2010-04-17T01:18:25Z
Indexed on
2010/04/17
1:23 UTC
Read the original article
Hit count: 632
I know this question might be frowned upon, but actionscript is a dynamic language similar to javascript and in javascript I can take an object from a library written by someone else and dynamically (at runtime) add/remove/modify functions, properties, prototypes etc. this is kind of like dynamically extending an object to make it work with the library it came with as well as another library. Is something like this possible in flex actionscript? I'm thinking it is only possible with classes that are declared 'dynamic' and definitely not possible with classes declared 'final'. What are your thoughts? Any ideas/tricks?
© Stack Overflow or respective owner