ok, thx!

sounds pretty logical, come to think of it :)

Somewhere I hoped the Function class would
be some kind of help, but alas.

On 6/22/06, Lee McColl-Sylvester <[EMAIL PROTECTED]> wrote:

AS3 will have the same result... It's compiled also.

Lee




-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of janosch
Sent: 22 June 2006 11:30
To: Flashcoders mailing list
Subject: Re: [Flashcoders] the Function class and messing with it

Hello,

in AS2 this is not possible, Functions are compiled, local variable
names get lost, so in the final flash movie, the function does not exist

the way, you coded it.

Don't know about AS3 ...

Janosch




Meinte van't Kruis schrieb:

> 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
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> 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
>
>

_______________________________________________
Flashcoders@chattyfig.figleaf.com
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
_______________________________________________
Flashcoders@chattyfig.figleaf.com
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

_______________________________________________
Flashcoders@chattyfig.figleaf.com
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

Reply via email to