Nope ... the other way around. last() is able to emit "lastChangedEvent" events ... it doesn't consume them.
Chris ________________________________________ Von: Kessler CTR Mark J <mark.kessler....@usmc.mil> Gesendet: Donnerstag, 26. Juni 2014 11:58 An: users@flex.apache.org Betreff: RE: Bindable functions //This responds to an event to show binding changes. [Bindable("lastChangedEvent")] public function get last():Boolean { return this.viewIndex === (this.numElements - 1); } //This could dispatch the event to trigger the binding changes after a new element has been added. dispatchEvent(new Event("lastChangedEvent ")); -Mark -----Original Message----- From: Scott Matheson [mailto:smathe...@intralinks.com] Sent: Wednesday, June 25, 2014 5:20 PM To: users@flex.apache.org Subject: Bindable functions Hi well I have never manage to get Bindable functions to work, but now i may need then I have a view stack, with a renderer, in the rendered i would to disable elements of the render dependent on the view stack, i could hold a bit off Bindable 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 needed unfortunately i can not get this approach to work [Bindable] public function get last():Boolean { return this.viewIndex === (this.numElements - 1); } <common:ViewStack id="block" dataProvider="{blocks}" verticalCenter="0" horizontalCenter="0" itemRenderer="com.peach.uofs.lesson.ReadingBlockRenderer" viewChange="setHLClip(event)"> </common:ViewStack> i want to be able to dibble a button in ReadingBlockRenderer ________________________________ Disclaimer: This electronic mail and any attachments are confidential and may be privileged. If you are not the intended recipient, please notify the sender immediately by replying to this email, and destroy all copies of this email and any attachments. Thank you.