Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Bindable functions

$
0
0
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.

Viewing all articles
Browse latest Browse all 5648

Trending Articles