Hi folks,
In common javascript it's possible to alert a function and 'see' the
function
as it is.
function test(){
alert("A");
}
Prints out in javascript excactly as it is, in actionscript you get '[Type
Function]'.
Is there any way to somehow to see the internals of a function in
actionscript (2.0, though im curious
bout 3.0 as well)?
It would be fun to do, because one could alter functions run-time that way.
I've tried using
external interface to kick a function to javascript, but this won't do, just
throws a javascript
error. I also tried Function.valueOf() instead of toString(), but this won't
do either.
Anyone has an idea on this one?
thanks!
Meinte
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com