On 9/6/13 2:24 AM, "Tom Chiverton" wrote:
>On 05/09/2013 17:44, Alex Harui wrote:
>> The stack trace
>> idea isn't guaranteed to work on release players.
>I thought all recent release players could generate a stack trace with
>recent versions of the SDK ?
>http://renaun.com/blog/2012/09/getti
On 05/09/2013 17:44, Alex Harui wrote:
The stack trace
idea isn't guaranteed to work on release players.
I thought all recent release players could generate a stack trace with
recent versions of the SDK ?
http://renaun.com/blog/2012/09/getting-the-stack-trace-in-a-release-flash-player/
Tom
Original Message-
>From: Alex Harui [mailto:aha...@adobe.com]
>Sent: Thursday, September 05, 2013 10:19 PM
>To: users@flex.apache.org
>Subject: Re: function caller reference
>
>BTW, even if trace(name) works, I would caution that I believe it doesn't
>work in JS and will po
users@flex.apache.org
Subject: Re: function caller reference
BTW, even if trace(name) works, I would caution that I believe it doesn't
work in JS and will pose a porting problem if you ever need to port that
code to JS.
On 9/5/13 9:44 AM, "Alex Harui" wrote:
>He's trying to dete
BTW, even if trace(name) works, I would caution that I believe it doesn't
work in JS and will pose a porting problem if you ever need to port that
code to JS.
On 9/5/13 9:44 AM, "Alex Harui" wrote:
>He's trying to determine who called this shared method. The stack trace
>idea isn't guaranteed t
He's trying to determine who called this shared method. The stack trace
idea isn't guaranteed to work on release players.
And as the error suggested, it is best to pass in the caller. But just
trace(name) may also work.
On 9/5/13 8:38 AM, "Tom Chiverton" wrote:
>Throw an error, catch it, and
Throw an error, catch it, and look in the stack trace.
What are you trying to achieve that can't be done, as the message
suggests, by some other means ?
Tom
On 05/09/2013 16:04, Raj U. Shaikh wrote:
Hi,
I wanted to access caller of function,
For example:
var object:Object = new Object();
Hi,
I wanted to access caller of function,
For example:
var object:Object = new Object();
object["name"]
= "First Object";
object["fun"] =
myFun;