actionscript - Getting the source code of a function? -
is there anyway can code inside function in actionscript (preferably as1)?
for example, let's have function:
function foo(){ trace("bar"); }
is there anyway can text 'trace("bar");' function without modifying actual function?
like (psuedo code):
trace(foo.source);
would trace text 'trace("bar");'
Comments
Post a Comment