actionscript 3 - Extending a class that is not defined during compile time -


i'm working on bot in actionscript flash game, success. actionscript loads game, finds functions needs , calls stuff. example, externalloadedgame.game.action.movenorth() take step up.

however, functions defined protected, , can access if can extend class, when try that, compiler tells me class not compile time consistent , doesn't work. , if copy definition, game functions don't accept version of class, though it's literally share literally same class definition.

i need override of class functions called game, without access modify game files.

is there way extend, make public, or similar without modifying game's swf file beforehand?


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -