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 2D00011FC1 for ; Thu, 26 Jun 2014 12:03:53 +0000 (UTC) Received: (qmail 66028 invoked by uid 500); 26 Jun 2014 12:03:51 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 66009 invoked by uid 500); 26 Jun 2014 12:03:51 -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 65997 invoked by uid 99); 26 Jun 2014 12:03:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jun 2014 12:03:50 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of christofer.dutz@c-ware.de designates 213.199.154.76 as permitted sender) Received: from [213.199.154.76] (HELO emea01-db3-obe.outbound.protection.outlook.com) (213.199.154.76) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jun 2014 12:03:45 +0000 Received: from DBXPR05MB237.eurprd05.prod.outlook.com (10.242.143.147) by DBXPR05MB238.eurprd05.prod.outlook.com (10.242.143.152) with Microsoft SMTP Server (TLS) id 15.0.969.15; Thu, 26 Jun 2014 12:03:23 +0000 Received: from DBXPR05MB237.eurprd05.prod.outlook.com ([169.254.7.197]) by DBXPR05MB237.eurprd05.prod.outlook.com ([169.254.7.197]) with mapi id 15.00.0969.007; Thu, 26 Jun 2014 12:03:22 +0000 From: Christofer Dutz To: "users@flex.apache.org" Subject: AW: Bindable functions Thread-Topic: Bindable functions Thread-Index: Ac+QurDJwzw3j5H+RW+xtSo6bzP3fwAaNZigAAS8ywM= Date: Thu, 26 Jun 2014 12:03:21 +0000 Message-ID: <1403784201459.5627@c-ware.de> References: , In-Reply-To: Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [193.99.42.56] x-microsoft-antispam: BCL:0;PCL:0;RULEID: x-forefront-prvs: 02543CD7CD x-forefront-antispam-report: SFV:NSPM;SFS:(6009001)(377454003)(13464003)(189002)(199002)(75402002)(66066001)(21056001)(77982001)(79102001)(31966008)(74662001)(95666004)(105586002)(106356001)(74482001)(107046002)(50986999)(101416001)(86362001)(92566001)(46102001)(92726001)(54356999)(20776003)(76176999)(64706001)(81342001)(83072002)(85852003)(36756003)(87936001)(99396002)(2656002)(19580405001)(83322001)(19580395003)(4396001)(81542001)(77096002)(85306003);DIR:OUT;SFP:;SCL:1;SRVR:DBXPR05MB238;H:DBXPR05MB237.eurprd05.prod.outlook.com;FPR:;MLV:sfv;PTR:InfoNoRecords;MX:1;A:1;LANG:en; Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: c-ware.de X-Virus-Checked: Checked by ClamAV on apache.org Nope ... the other way around.=0A= last() is able to emit "lastChangedEvent" events ... it doesn't consume the= m.=0A= =0A= Chris=0A= =0A= ________________________________________=0A= Von: Kessler CTR Mark J =0A= Gesendet: Donnerstag, 26. Juni 2014 11:58=0A= An: users@flex.apache.org=0A= Betreff: RE: Bindable functions=0A= =0A= //This responds to an event to show binding changes.=0A= [Bindable("lastChangedEvent")]=0A= public function get last():Boolean=0A= {=0A= return this.viewIndex =3D=3D=3D (this.numElements - 1);=0A= }=0A= =0A= =0A= //This could dispatch the event to trigger the binding changes after a new = element has been added.=0A= dispatchEvent(new Event("lastChangedEvent "));=0A= =0A= =0A= =0A= -Mark=0A= =0A= -----Original Message-----=0A= From: Scott Matheson [mailto:smatheson@intralinks.com]=0A= Sent: Wednesday, June 25, 2014 5:20 PM=0A= To: users@flex.apache.org=0A= Subject: Bindable functions=0A= =0A= Hi=0A= well I have never manage to get Bindable functions to work, but now i ma= y need then=0A= =0A= I have a view stack, with a renderer, in the rendered i would to disable el= ements of the render dependent on the view stack, i could hold a bit off Bi= ndable data (thats what i do in other place), if i could create a Bindable = function i could call this function in the render and disable elements as n= eeded=0A= =0A= unfortunately i can not get this approach to work=0A= =0A= =0A= =0A= [Bindable]=0A= =0A= public function get last():Boolean=0A= =0A= {=0A= =0A= return this.viewIndex =3D=3D=3D (this.numElements - 1);=0A= =0A= }=0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= i want to be able to dibble a button in ReadingBlockRenderer=0A= =0A= =0A= ________________________________=0A= =0A= Disclaimer: This electronic mail and any attachments are confidential and m= ay be privileged. If you are not the intended recipient, please notify the = sender immediately by replying to this email, and destroy all copies of thi= s email and any attachments. Thank you.=0A=