Return-Path: X-Original-To: apmail-flex-users-archive@www.apache.org Delivered-To: apmail-flex-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E57AB10D56 for ; Thu, 5 Sep 2013 15:04:53 +0000 (UTC) Received: (qmail 83651 invoked by uid 500); 5 Sep 2013 15:04:53 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 83611 invoked by uid 500); 5 Sep 2013 15:04:52 -0000 Mailing-List: contact users-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@flex.apache.org Delivered-To: mailing list users@flex.apache.org Received: (qmail 83603 invoked by uid 99); 5 Sep 2013 15:04:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Sep 2013 15:04:50 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE X-Spam-Check-By: apache.org Received-SPF: unknown (nike.apache.org: error in processing during lookup of Raj.Shaikh@mastek.com) Received: from [115.113.120.40] (HELO mastek.com) (115.113.120.40) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Sep 2013 15:04:44 +0000 Received: from IND-MHP1MHT001 [172.16.202.109] by GTWY_SERVER.Mastek.com with ESMTP (using TLSv1 with cipher RC4-MD5 (128 bits) verified PASS) - Websense Email Security (7.2.0); Thu, 05 Sep 2013 20:34:20 +0530 Received: from IND-MHP1MCL001.mastek.com ([172.16.202.112]) by ind-mhp1mht001.mastek.com ([172.16.202.109]) with mapi; Thu, 5 Sep 2013 20:34:19 +0530 From: "Raj U. Shaikh" To: "users@flex.apache.org" Date: Thu, 5 Sep 2013 20:34:18 +0530 Subject: function caller reference Thread-Topic: function caller reference Thread-Index: Ac6qSTHZ+PEcqCZBRWCLlmSMvQAPVA== Message-ID: <305192DBBFDF8F41AF7879DE170FDEB079DE9145@IND-MHP1MCL001.mastek.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_305192DBBFDF8F41AF7879DE170FDEB079DE9145INDMHP1MCL001ma_" MIME-Version: 1.0 X-SEF-Processed: 7_3_0_01204__2013_09_05_20_34_20 X-Virus-Checked: Checked by ClamAV on apache.org --_000_305192DBBFDF8F41AF7879DE170FDEB079DE9145INDMHP1MCL001ma_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi,=0D=0AI wanted to access caller of function,=0D=0A=0D=0AFor example:=0D=0A= var object:Object =3D new Object();=0D=0A = object["name"] =3D "First Object";=0D=0A = object["fun"] =3D= myFun;=0D=0A = object.fun();=0D=0A=0D=0Avar object2:Object =3D new Object();=0D=0A = object2["name"] =3D= "Second Object";=0D=0A = object2["fun"] =3D myFun;=0D=0A = object2.fun();=0D=0A=0D=0AWhere,=0D=0A=0D=0A= public function myFun():void{=0D=0A = trace("Function caller: " + arguments.caller["name"= ]);=0D=0A }=0D=0A=0D=0ASo, P= layer should have traced=0D=0A=0D=0AFunction caller: First Object=0D=0AFunc= tion caller: Second Object=0D=0A=0D=0ABut, Its failed and getting following= warning.=0D=0A1058: Migration issue: The property caller is no longer supp= orted. Try declaring caller as an argument of the function instead..=0D=0A=0D= =0AIs there any alternate option available=3F=0D=0A=0D=0AThanks & Regards,=0D= =0ARaj Shaikh=0D=0ASenior Software Engineer=0D=0A=0D=0AMajesco Mastek - P&C= Division=0D=0AMastek Millennium Center, A-7, Millennium Business Park, Sec= tor 1 Off Thane Belapur Road, Mahape Navi Mumbai - 400701=0D=0A (T) 91 22 2= 7781272 Extn - 5250 | Mobile: 9970395965 | Fax: 91 22 27781332 | www.mastek= =2Ecom=0D=0A=0D=0AImpossible are done straight away= =2E..Miracles take a little bit time.=0D=0A=0D=0AMASTEK LTD.=0D=0AIn the US= , we're called MAJESCOMASTEK=0D=0A=0D=0A~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=0D= =0AOpinions expressed in this e-mail are those of the individual and not th= at of Mastek Limited, unless specifically indicated to that effect. Mastek = Limited does not accept any responsibility or liability for it. This e-mail= and attachments (if any) transmitted with it are confidential and/or privi= leged and solely for the use of the intended person or entity to which it i= s addressed. Any review, re-transmission, dissemination or other use of or = taking of any action in reliance upon this information by persons or entiti= es other than the intended recipient is prohibited. This e-mail and its att= achments have been scanned for the presence of computer viruses. It is the = responsibility of the recipient to run the virus check on e-mails and attac= hments before opening them. If you have received this e-mail in error, kind= ly delete this e-mail from desktop and server.=0D=0A~~~~~~~~~~~~~~~~~~~~~~~= ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~~~~~~~~~=0D=0A --_000_305192DBBFDF8F41AF7879DE170FDEB079DE9145INDMHP1MCL001ma_--